Mode: Print Mode
@php $cards = $cards ?? []; @endphp @foreach($cards as $idx => $c) @php /** @var \App\Models\ClassRegistrationRequest|null $reg */ $reg = $c['reg'] ?? null; $student = $reg?->student; $group = $reg?->group; $session = $reg?->session; $classCode = $reg?->class?->class_code ?? null; $examType = ($classCode == 10) ? 'SSC' : (($classCode == 12) ? 'HSC' : 'SSC/HSC'); $item = $c['item'] ?? null; $subjects = $c['subjects'] ?? []; $subjects = is_array($subjects) ? $subjects : []; $total = count($subjects); $mid = (int)ceil($total / 2); $left = array_slice($subjects, 0, $mid); $right = array_slice($subjects, $mid); $logoPath = $school?->school_logo ? asset('core/storage/app/public/' . $school->school_logo) : ''; $photoPath = $student?->student_photo ? asset('core/storage/app/public/' . $student->student_photo) : ''; $studentSigPath = $student?->student_signature ? asset('core/storage/app/public/' . $student->student_signature) : ''; $principalName = $school?->principal_name ?? 'Principal'; $principalSigPath = $school?->principal_signature ? asset('core/storage/app/public/' . $school->principal_signature) : ''; @endphp

{{ $school?->school_name ?? 'SCHOOL NAME' }}

{{ $examType }} Candidate Form Fill-up Verification Form - {{ $session?->name ?? ($reg?->session_id ?? '') }}
Photo
Examinee's Name : {{ $student?->student_name_english ?? '' }}
Father's Name : {{ $student?->father_name_english ?? '' }}
Mother's Name : {{ $student?->mother_name_english ?? '' }}
Type of Examinee : {{ $item?->type ?? 'REGULAR' }}
Version : {{ $student?->version ?? '' }}    Sex : {{ $student?->gender ?? '' }}    Group : {{ $group?->name ?? '' }}
Class Roll : {{ $reg?->class_roll ?? '' }}
Board Roll : {{ $item?->board_roll ?? '' }}
Reg. No : {{ $item?->reg_no ?? '' }}
Session : {{ $session?->name ?? ($reg?->session_id ?? '') }}

Status : {{ $item?->fee_status ?? '' }}
Subject Code and Name
@php $rows = max(count($left), count($right)); @endphp @if($rows === 0) @else @for($r = 0; $r < $rows; $r++) @endfor @endif
Code - Name Code - Name
No subject found
@if(isset($left[$r])) {{ $left[$r]['code'] ?? '' }} - {{ $left[$r]['name'] ?? '' }} @endif @if(isset($right[$r])) {{ $right[$r]['code'] ?? '' }} - {{ $right[$r]['name'] ?? '' }} @endif
@php $dup = $item?->duplicate_row_data ?? null; if (is_string($dup)) $dup = json_decode($dup, true); $dupP = is_array($dup) ? ($dup['parsed'] ?? []) : []; @endphp @if(!empty($dupP))
*Board information.
SL.No
Reg.No
Type
Session
Name
Father / Mother
Gender
Version
Class-Roll
Shift
Section
Group
Subjects Status
Fee
Action
{{ $dupP['sl_no'] ?? '' }}
{{ $dupP['reg_no'] ?? '' }}
{{ $dupP['type'] ?? '' }}
{{ $dupP['session'] ?? '' }}
{{ $dupP['name'] ?? '' }}
{{ $dupP['father'] ?? '' }}
{{ $dupP['mother'] ?? '' }}
{{ $dupP['gender'] ?? '' }}
{{ $dupP['version'] ?? '' }}
{{ $dupP['class_roll'] ?? '' }}
{{ $dupP['shift'] ?? '' }}
{{ $dupP['section'] ?? '' }}
{{ $dupP['group'] ?? '' }}
{{ $dupP['subjects'] ?? '' }} {{ $dupP['fee_status'] ?? '' }}
{{ $dupP['fee_amount'] ?? '' }}
{{ $dupP['action'] ?? '' }}
*All of the above information is correct.
@endif
@if(!empty($studentSigPath)) Student Signature @endif
Signature of Student
@if(!empty($principalSigPath)) Principal Signature @endif
{{ $principalName }}
Principal
{{ $school?->school_name ?? '' }}
@endforeach