@php $pgCategories = ['UR', 'SC', 'ST', 'OBC', 'EWS', 'PwD']; // Date of birth $dob = $app->date_of_birth ? \Carbon\Carbon::parse($app->date_of_birth) : null; $ddmm = $dob ? $dob->format('d/m/Y') : ''; // Address $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 : (is_string($app->subjects_marks) ? json_decode($app->subjects_marks, true) : []); $subjects = $subjects ?? []; // Results declaration date — safe parse $resultsDate = null; if ($app->results_declaration_date) { try { $resultsDate = \Carbon\Carbon::parse($app->results_declaration_date); } catch (\Exception $e) { $resultsDate = null; } } // Degree status flags $degreeStatus = $app->degree_status ?? ''; $isDeclared = str_contains($degreeStatus, 'final_declared'); $isAwaited = str_contains($degreeStatus, 'final_awaited'); // Aggregate totals from semester entries $totalFullMarks = 0; $totalMarksObtained = 0; foreach ($subjects as $s) { $totalFullMarks += (float)($s['full_marks'] ?? 0); $totalMarksObtained += (float)($s['marks_obtained'] ?? 0); } $semLabels = ['Semester-I','Semester-II','Semester-III','Semester-IV','Semester-V','Semester-VI']; @endphp
|
@php $logo = public_path('images/logo.png'); @endphp
@if (file_exists($logo))
|
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 – 2 YEARS PG COURSE
|
|
Form No. :
{{ $app->form_number }}
Name of the Course:
{{ $app->course }}
Department / Subject:
{{ $app->subject }}
Gender:
{!! tick($app->gender === 'Male') !!} Male
{!! tick($app->gender === 'Female') !!} Female
{!! tick($app->gender === 'Transgender') !!} Transgender
{!! tick(!in_array($app->gender, ['Male','Female','Transgender'])) !!} Others
|
{{-- RIGHT: category + photo --}}
|
|
1. Name of the Applicant (In block letters) |
{!! charBoxes($app->applicant_name, 26) !!} |
| 2. Father's Name | {!! charBoxes($app->father_name, 26) !!} |
| 3. Mother's Name | {!! charBoxes($app->mother_name, 26) !!} |
| 4. Date of Birth: {!! charBoxes($ddmm, 10, 16) !!} | 5. Contact No. {!! charBoxes($app->contact_no, 12, 16) !!} |
| 6. Differently abled: {!! tick(!$app->differently_abled) !!} No {!! tick((bool) $app->differently_abled) !!} Yes | 7. Nationality {{ $app->nationality }} |
| 8. Religion: {{ $app->religion }} | 9. E-mail ID {{ $app->email }} |
| Pin {!! charBoxes($app->pincode, 6, 16) !!} |
|
11. Year of Graduation:
{!! charBoxes((string) $app->year_of_graduation, 4, 18) !!}
|
12. Name of the University
{!! charBoxes($app->university_name, 24, 16) !!}
|
|
Graduation / University Details:
University Registration No.
{!! charBoxes($app->university_reg_no, 14, 16) !!}
NAD / ABC ID
{!! charBoxes($app->nad_abc_id, 14, 16) !!}
H.S. Reg. No.
{!! charBoxes($app->hs_reg_no, 14, 16) !!}
Roll / Unique ID
{!! charBoxes($app->hs_unique_id_roll, 14, 16) !!}
|
||||||||||||
| 17. Scholarship / Stipend: {!! tick(strtolower($app->scholarship ?? '') === 'yes') !!} Yes {!! tick(strtolower($app->scholarship ?? '') !== 'yes') !!} No @if ($app->scholarship && !in_array(strtolower($app->scholarship), ['yes', 'no'])) ({{ $app->scholarship }}) @endif | 18. Aadhaar Number: @php $aadhaarNumber = preg_replace('/\s+/', '', $app->aadhaar_number ?? ''); @endphp {{-- @dd($aadhaarNumber); --}} {!! charBoxes($aadhaarNumber, 12, 16) !!} |
|
19. Father's / Guardian Profession: {{ $app->father_profession }} |
20. Family Income (per annum): {{ $app->family_income }} |
|
Full Signature of the Guardian with Date
|
@if ($signature)
Full Signature of the Applicant with Date
|