@php $courses = ['B.A.', 'B.Sc.', 'B.Com', 'BBA', 'BCA']; $categories = ['General', 'SC', 'ST', 'OBC', 'Catholic']; // Date split for DD MM YYYY boxes $dob = $app->date_of_birth ? \Carbon\Carbon::parse($app->date_of_birth) : null; $ddmm = $dob ? $dob->format('d/m/Y') : ''; // Address split into roughly two lines so it fits the printed lines $addrFull = trim($app->address ?? ''); // Subjects/marks — stored as JSON array of {name, full_marks, marks_obtained} $subjects = is_array($app->subjects_marks) ? $app->subjects_marks : []; @endphp Application Form — {{ $app->form_number }} {{-- ─────────── HEADER ─────────── --}}
{{-- Optional college logo. Place file at public/images/college_logo.png to have it appear here. --}} @php $logo = public_path('images/logo.png'); @endphp @if (file_exists($logo)) @endif
St. Xavier's College (Autonomous), Burdwan
ST. XAVIER'S ROAD  ★  P.O. SRIPALLI  ★  Dt. PURBA BARDHAMAN  ★  W.B. 713103
Recognized by UGC under Section 2(f) & 12(B), NAAC B++ Grade, AICTE Approved
ISO Certified, A Jesuit Minority Autonomous Institution
Academic Session 2026-2027
APPLICATION FORM – U.G COURSE
 
{{-- ─────────── TOP ROW (Form No / Course / Category / Photo) ─────────── --}} {{-- LEFT: form no, course, subject --}} {{-- RIGHT: photo + category --}}
Form No. : {{ $app->form_number }}
Name of the Course: @foreach ($courses as $c) {!! tick($app->course === $c) !!} {{ $c }} @endforeach
[Put (✓) on the appropriate option]
SUBJECT: {{ $app->subject }}
Gender: {!! tick($app->gender === 'Male') !!} Male    {!! tick($app->gender === 'Female') !!} Female
[Put (✓) on the appropriate box]
@foreach ($categories as $cat) @endforeach @foreach ($categories as $cat) @endforeach
{{ $cat }}
{!! tick($app->category === $cat) !!}
@if ($photo) Photo @else Paste recent
stamp sized
photograph @endif
{{-- ─────────── 1. Name of the Applicant ─────────── --}}
1.  Name of the Applicant
(In block letters)
{!! charBoxes($app->applicant_name, 26) !!}
{{-- ─────────── 2. Father's Name ─────────── --}}
2.  Father's Name {!! charBoxes($app->father_name, 26) !!}
{{-- ─────────── 3. Mother's Name ─────────── --}}
3.  Mother's Name {!! charBoxes($app->mother_name, 26) !!}
{{-- ─────────── 4. DOB | 5. Contact ─────────── --}}
4.  Date of Birth: {!! charBoxes($ddmm, 10, 16) !!} 5.  Contact No. {!! charBoxes($app->contact_no, 12, 16) !!}
{{-- ─────────── 6. Differently abled | 7. Nationality ─────────── --}}
6.  Differently abled: {!! tick(!$app->differently_abled) !!} No   {!! tick((bool) $app->differently_abled) !!} Yes 7.  Nationality {{ $app->nationality }}
{{-- ─────────── 8. Religion | 9. Email ─────────── --}}
8.  Religion: {{ $app->religion }} 9.  E-mail ID {{ $app->email }}
{{-- ─────────── 10. Address ─────────── --}}
10.  Address for Correspondence:
 
{{ $addrFull }}
 
  Pin {!! charBoxes($app->pincode, 6, 16) !!}
{{-- ─────────── 11. Year of passing | 12. Board ─────────── --}}
11.  Year of passing H.S./Equiv. Exam.
{!! charBoxes((string) $app->hs_passing_year, 4, 18) !!}
12.  Name of the Board/Council
{!! charBoxes($app->board_name, 22, 16) !!}
{{-- ─────────── 13. Previous institution ─────────── --}}
13.  Name of the previous Institution & Address
 
@php $prev = trim($app->prev_institution ?? ''); $prevAddr = trim($app->prev_institution_address ?? ''); echo e($prev . ($prevAddr ? ' — ' . $prevAddr : '')); @endphp
 
{{-- ─────────── 14. Subjects & marks ─────────── --}}
14.  Subjects and marks in H.S/Equiv. Exam. : Enter the marks obtained in all subjects and full mark as printed in the mark sheet.
Best of FIVE in case of W.B.C.H.S.E, Best of FOUR for other boards, followed by other subject's marks
@forelse ($subjects as $row) @empty @for ($i = 0; $i < 5; $i++) @endfor @endforelse
Subject Full Marks Marks Obtained
{{ $row['name'] ?? '' }} {{ $row['full_marks'] ?? '' }} {{ $row['marks_obtained'] ?? '' }}
     
Aggregate @php $totalFull = 0; foreach ($subjects as $s) { $totalFull += (float) ($s['full_marks'] ?? 0); } echo $totalFull > 0 ? rtrim(rtrim(number_format($totalFull, 2, '.', ''), '0'), '.') : ''; @endphp {{ $app->aggregate_marks }}
Percentage of Marks (%) — Best of Five/Four {{ $app->percentage }}%
H.S/Equiv. Details:
Reg. No.
{!! charBoxes($app->hs_reg_no, 14, 16) !!}
Unique ID / Roll No.
{!! charBoxes($app->hs_unique_id_roll, 14, 16) !!}
Students of W.B.C.H.S.E.: (Language Subjects + Best of 3). Physical Education & Environmental Sc./Studies can be considered if it is compulsory elective.
Other Boards: Best of 4 subjects. Physical Education & Environmental Sc./Studies can be considered if it is compulsory elective.
{{-- ─────────── Signatures ─────────── --}}
Full Signature of the Guardian with Date
@if ($signature) Signature @endif
Full Signature of the Applicant with Date