@include('shared.alerts')
{{ __('Team') }}
{{ __('School') }}
{{ optional($team->school)->name }}
{{ __('Published') }}
{{ __('Course') }}
{{ optional($team->course)->name }}
{{ __('Name') }}
{{ $team->name }}
{{ __('Start') }}
{{ $team->start->format('Y-m-d H:i') }}
{{ __('Theory teacher') }}
{{ optional($team->theoryTeacher)->name }}
{{ __('Driving teachers') }}
@foreach ($team->teachers as $teacher)
{{ $teacher->name }}
@endforeach
@endforeach
{{ __('Students') }}
@if ($team->students->isNotEmpty())
@else
{{ __('No students assigned') }}
@endif
{{ __('Name') }} | {{ __('E-mail') }} | {{ __('Mobile') }} | {{ __('Birthday') }} |
---|---|---|---|
@if ($user->avatar)
|
{{ $user->email }} | {{ $user->mobile }} | {{ $user->birthday ? $user->birthday->format('d/m/y') : '' }} |
{{ __('Modules') }}
@can('update', $team)
{{ __('New module') }}
@endcan
{{ __('Name') }} | {{ __('Start') }} | {{ __('End') }} | {{ __('Students') }} | |
---|---|---|---|---|
{{ $module->name }} | {{ $module->start ? $module->start->format('Y-m-d H:i') : '?' }} | {{ $module->end ? $module->end->format('Y-m-d H:i') : '?' }} | {{ $module->students->count() === 1 ? $module->students->first()->name : $module->students->count() }} | @can('update', $team) @endcan |