@extends('layouts.student') @section('pageTitle',$pageTitle) @section('innerTitle',$sessionRow->name) @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>$customCrumbs]) @endsection @section('content')
{!! $sessionRow->introduction !!}
{{ __lang('lectures') }} | {{ __lang('attendance') }} | |
---|---|---|
{{ $lecture->title }} | @php if($sessionLogTable->hasAttendance($studentId,$sessionId,$lecture->id)): @endphp {{ __lang('completed-on') }} {{ showDate('d/M/Y',$sessionLogTable->getAttendance($studentId,$sessionId,$lecture->id)->created_at) }} @php else: @endphp {{ __lang('pending') }} @php endif; @endphp | {{ __lang('view-lecture') }} |
{{ __lang('name') }} | {{ __lang('files') }} | {{ $download->name }} | {{ $fileTable->getTotalForDownload($download->download_id) }} | @if ($fileTable->getTotalForDownload($download->download_id)> 0) {{ __lang('view-files') }} {{ __lang('download-all') }} @else {{ __lang('no-files-available') }} @endif | @php endforeach; @endphp
---|
{{ __lang('here-are-classes') }}
{{ __lang('class') }} | {{ __lang('date') }} |
---|---|
{{ $attendance->name }} | {{ showDate('d/M/Y',$attendance->attendance_date) }} |
{{ __lang('classes-yet-to-take') }}
{{ __lang('class') }} | |
---|---|
{{ $class->name }} | @php if($class->lesson_date > time()): @endphp {{ __lang('starts-on') }} {{ showDate('d/M/Y',$class->lesson_date) }} @php else: @endphp {{ __lang('start-class') }} @php endif; @endphp |
{{ __lang('subject') }} | {{ __lang('created-on') }} | {{ __lang('recipients') }} | {{ __lang('replied') }} | |
---|---|---|---|---|
{{ $row->subject }} | {{ showDate('d/M/Y',$row->created_at) }} | @php if($row->admin==1): @endphp {{ __lang('administrators') }}, @php endif; @endphp @php foreach($accountTable->getDiscussionAccounts($row->id) as $row2): @endphp {{ $row2->name.' '.$row2->last_name }}, @php endforeach; @endphp | {{ boolToString($row->replied) }} | {{ __lang('view') }} |