{{!empty($new_session->classSession->sessionClass)? $new_session->classSession->sessionClass->name : 'Invalid Class'}}

RECORDINGS
@if(empty($new_session->recording_link))
@if($new_session->status == 'Completed')

Class Has Ended

Recording Will Be Uploaded Very Soon. Thank You.

@else

Class In Session

Recording Will Be Uploaded After The Class Has Ended. Thank You.

@endif
@else
{{ (!empty($new_session->classSession->sessionClass->name) ? $new_session->classSession->sessionClass->name : '') }}
@endif
Started
{{$new_session != null ? date('h:i A', strtotime($new_session->classSession->session_started)) : ''}}
Ended
{{$new_session != null ? date('h:i A', strtotime($new_session->classSession->session_ended)) : ''}}
Attendance
@if($attendance != null && $attendance->status == 1) @else @endif
{{($attendance != null && $attendance->status == 1) ? 'Present' : 'Absent'}}

{{($projects == '[]' ? '' : 'Projects')}}
@if($projects->count() > 0)
@foreach ($projects as $project)
...
{{$project->project->name}}
Status : {{$project->project_status}}
Assessment : {{$project->project_assesment}}
Comment : {{$project->comments}}
@endforeach
@endif