{{-- "Журнал группы" on /group_admin_info.php — this group's slice of /admin/all_journal.php (same row layout, same expand-for-marks, same delete), newest lesson first. Admin-only; $journal comes from GroupProfileController::groupJournal(). --}} @php $statusLabels = [ 'attended' => [__('Присутствовал'), 'success'], 'paid_absence' => [__('Оплачиваемый пропуск'), 'danger'], 'free_absence' => [__('Пропуск без списания'), 'primary'], 'holiday' => [__('Праздник'), 'secondary'], ]; @endphp @push('styles') @endpush
| {{ __('Дата') }} | {{ __('Время') }} | {{ __('Преподаватель') }} | {{ __('Присутствовали') }} | {{ __('Всего') }} | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ▸ | {{ date('d.m.Y', strtotime($lesson->lesson_date)) }} | {{ substr($lesson->begin_time, 0, 5) }} - {{ substr($lesson->end_time, 0, 5) }} | {{ $lesson->teacher_name ?? '-' }} @if (!empty($lesson->substitution_for_teacher_name)) {{ __('Замена за :name', ['name' => $lesson->substitution_for_teacher_name]) }} @endif @if (!empty($lesson->is_backfill)) {{ __('Задним числом') }} @endif @if (!empty($lesson->fixed_payment_amount)) @if (($lesson->substitution_pay_mode ?? null) === 'manual') {{ __('Своя сумма (:sum ₸)', ['sum' => number_format((float) $lesson->fixed_payment_amount, 0, ',', ' ')]) }} @else {{ __('Со штрафом (:sum ₸)', ['sum' => number_format((float) $lesson->fixed_payment_amount, 0, ',', ' ')]) }} @endif @endif @if (!empty($lesson->auto_marked)) {{ __('Отмечен автоматически') }} @endif | {{ $lesson->students_present ?? '-' }} | {{ $lesson->all_students ?? '-' }} | {{-- stopPropagation: the whole row toggles the student list on click --}}@can('lessons.delete') @endcan | ||||||||||
|
@if (empty($students))
{{ __('Нет данных по ученикам для этого урока.') }}
@else
|
||||||||||||||||