@foreach ($students->chunk(Arr::get($layout, 'column', 1)) as $studentPair)
@foreach ($studentPair as $student)
@if (Arr::get($layout, 'watermark')) @endif @includeFirst([ config('config.print.custom_path') . 'exam.header', 'print.exam.header', ]) @if (view()->exists(config('config.print.custom_path') . 'exam.marksheet-subheader')) @include(config('config.print.custom_path') . 'exam.marksheet-subheader', [ 'titles' => $titles, ]) @else
@foreach ($titles as $title) @if (Arr::get($title, 'label'))
{{ Arr::get($title, 'label') }}
@endif @endforeach
@endif
{{ trans('student.props.name') }} {{ $student->name }} {{ trans('contact.props.birth_date') }} {{ \Cal::date($student->birth_date)->formatted }}
{{ trans('student.admission.props.code_number') }} {{ $student->code_number }} {{ trans('student.roll_number.roll_number') }} {{ $student->roll_number }}
{{ trans('contact.props.father_name') }} {{ $student->father_name }} {{ trans('contact.props.mother_name') }} {{ $student->mother_name }}
{{ trans('academic.course.course') }} {{ $student->course_name . ' ' . $student->batch_name }} {{ trans('contact.props.contact_number') }} {{ $student->contact_number }}
{{ trans('student.health_record.props.height') }} / {{ trans('student.health_record.props.weight') }} {{ Arr::get($student->health_record, 'general.height') }}cm / {{ Arr::get($student->health_record, 'general.weight') }}kg {{ trans('student.attendance.attendance') }} {{ Arr::get($student->attendance, 'present') }} / {{ Arr::get($student->attendance, 'working_days') }}
@foreach ($student->rows as $row) @foreach ($row as $cell) @endforeach @endforeach @foreach ($student->gradingRows as $row) @foreach ($row as $cell) @endforeach @endforeach
Arr::get($cell, 'align') == 'center', 'font-110pc' => Arr::get($cell, 'font-size') == 'lg', 'font-120pc' => Arr::get($cell, 'font-size') == 'xl', 'py-2' => Arr::get($cell, 'font-size') == 'xl', 'font-weight-bold' => Arr::get($cell, 'bold'), ]) rowspan="{{ Arr::get($cell, 'rowspan', 1) }}"> {{ Arr::get($cell, 'label') }} @if (Arr::get($cell, 'blank'))   @endif
Arr::get($cell, 'align') == 'center', 'font-weight-bold' => Arr::get($cell, 'bold'), ]) rowspan="{{ Arr::get($cell, 'rowspan', 1) }}"> {{ Arr::get($cell, 'label') }}
@foreach ($student->observationRows as $row) @foreach ($row as $cell) @endforeach @endforeach
Arr::get($cell, 'align') == 'center', 'font-weight-bold' => Arr::get($cell, 'bold'), ]) rowspan="{{ Arr::get($cell, 'rowspan', 1) }}"> {{ Arr::get($cell, 'label') }}
{{ trans('exam.result') }}: {{ Arr::get($student->comment, 'result') }}
{{ trans('exam.comment') }}: {{ Arr::get($student->comment, 'comment') }}
@if (Arr::get($params, 'show_grade_detail'))

{{ trans('exam.grade.grade') }}

@foreach ($grade->records as $record) @endforeach
{{ Arr::get($record, 'code') }} {{ Arr::get($record, 'min_score') }} - {{ Arr::get($record, 'max_score') }} {{ Arr::get($record, 'label') }}
@endif
@includeFirst( [config('config.print.custom_path') . 'exam.signatory', 'print.exam.signatory'], ['layout' => $layout, 'margin' => 'mt-32'] ) @if (Arr::get($layout, 'show_print_date_time'))

{{ trans('general.printed_at') }}: {{ \Cal::dateTime(now())->formatted }}

@endif
@endforeach
@endforeach