{{__('Loading...')}}
@if($selectedAcademicYearId) @php $groups = empty($selectedGroupId) ? $filteredGroups : collect($filteredGroups)->whereIn('id', $selectedGroupId); $combinedStudents = []; @endphp @livewire('admin.sheets.print-pdf', [ 'title' => __('Transactions Sheet'), 'view' => 'admin.pages.sheets.print.transaction-sheet', 'data' => $combinedStudents ]) @foreach($groups as $group) @php $groupId = $group->id; $groupName = $group->name; $studyClassName = $group->study_class->name; $students = $filteredStudents[$groupId] ?? []; @endphp @if(!empty($students))

{{ __('Study Class') }}: {{ $studyClassName }}

{{ __('Group') }}: {{ $groupName }}

@foreach($months as $month) @endforeach @foreach($students as $index => $student) @foreach($months as $month) @endforeach @endforeach
# {{ __('Student Name') }}{{ trans(\Carbon\Carbon::createFromFormat('m', $month)->format('F')) }}
{{ $index + 1 }} {{ $student->name }}
@endif @endforeach @endif
@push('js') @endpush