← Enrollment Applications / Application Review

{{ $application->last_name }}, {{ $application->first_name }} {{ $application->middle_name }} {{ $application->extension_name }}

LRN: {{ $application->lrn ?? 'No LRN Provided' }} • Grade {{ $application->grade_level_to_enroll }} @if($application->strand) • {{ $application->strand }} @endif @if($application->assigned_section) • {{ $application->assigned_section->name }} @endif
@php $st = $application->status?->value ?? $application->status; @endphp @if($st === 'approved') Officially Enrolled @elseif($st === 'rejected') Returned for Correction @else Under Registrar Review @endif
{{-- Flash alerts --}} @if(session('success'))
{{ session('success') }}
@endif {{-- OFFICIAL ENROLLMENT & SECTION ASSIGNMENT HERO (If Approved) --}} @if($st === 'approved')
DepEd Official Admission Enrolled

Officially Enrolled in Basic Education

Learner is formally registered for School Year {{ $application->academic_year ?? '2026-2027' }}.

{{-- Prominent Assigned Section Card --}}
Classroom Section Assignment @if($application->assigned_section)
{{ $application->assigned_section->name }}
Capacity: {{ $application->assigned_section->current_enrolled }}/{{ $application->assigned_section->capacity }} learners @else
Section Pending Assignment
@endif
@endif {{-- 1. ENROLLMENT INFORMATION (Header Step) --}}
1 Enrollment Information
BEEF Header Details
School Year {{ $application->academic_year ?? '2026-2027' }}
Grade to Enroll Grade {{ $application->grade_level_to_enroll }}
Assigned Section @if($application->assigned_section) {{ $application->assigned_section->name }} @elseif($st === 'approved') Pending Assignment @else Assigned on Approval @endif
With LRN? {{ $application->with_lrn ? 'Yes' : 'No' }}
Returning Learner? {{ $application->returning_learner ? 'Yes (Balik-Aral)' : 'No' }}
{{-- 2. LEARNER BASIC INFORMATION (Balanced 4-Column Grid) --}}
2 Learner Basic Information
Personal & Demographic Records
{{-- Row 1: Identification & Demographics --}}
Learner Reference Number (LRN) {{ $application->lrn ?? 'N/A' }}
PSA Birth Certificate No. {{ $application->psa_birth_cert_no ?? 'N/A' }}
Place of Birth (City/Municipality) {{ $application->place_of_birth ?? 'N/A' }}
Mother Tongue {{ $application->mother_tongue ?? 'N/A' }}
{{-- Row 2: Full Name & Birth Details --}}
Complete Name of Learner {{ $application->last_name }}, {{ $application->first_name }} {{ $application->middle_name }} {{ $application->extension_name }} Last Name, First Name, Middle Name, Extension
Date of Birth {{ $application->birth_date ? \Carbon\Carbon::parse($application->birth_date)->format('F d, Y') : 'N/A' }}
Age & Sex {{ $application->age ? $application->age . ' years old' : 'N/A' }} • {{ $application->gender ? ucfirst($application->gender) : 'N/A' }}
{{-- 3. ADDITIONAL LEARNER INFORMATION (IP & 4Ps Community) --}}
3 Special Social Programs
DepEd Equity & Inclusion
Indigenous Peoples (IP) Community {{ $application->is_ip_community ? 'Yes' : 'No' }} @if($application->is_ip_community && $application->ip_community_name)

Community: {{ $application->ip_community_name }}

@endif
{{ $application->is_ip_community ? 'IP Member' : 'Non-IP' }}
4Ps Beneficiary Household {{ $application->is_4ps_beneficiary ? 'Yes' : 'No' }} @if($application->is_4ps_beneficiary && $application->four_ps_household_id)

Household ID: {{ $application->four_ps_household_id }}

@endif
{{ $application->is_4ps_beneficiary ? '4Ps Beneficiary' : 'Non-4Ps' }}
{{-- 4. LEARNER WITH DISABILITY (Special Needs Section) --}}
4 Learner With Disability Details
Special Education Needs
Is the child a Learner With Disability? {{ $application->is_learner_with_disability ? 'Yes, Learner with Disability' : 'No (Standard Enrollment)' }}
{{ $application->is_learner_with_disability ? 'SPED Accommodation' : 'Regular' }}
@if($application->is_learner_with_disability)
Identified Manifestations & Categories @php $disabilities = $application->disability_type; if (is_string($disabilities)) { $decoded = json_decode($disabilities, true); $disabilities = is_array($decoded) ? $decoded : [$disabilities]; } @endphp @if(!empty($disabilities))
@foreach($disabilities as $dis) • {{ $dis }} @endforeach
@else

No specific categories specified.

@endif
@endif
{{-- 5. ADDRESS INFORMATION (Equalized Side-by-Side Cards) --}}
5 Address Information
Current & Permanent Residence
{{-- Current Address Card --}}
Current Residence Present

{{ $application->current_house_no }} {{ $application->current_street }}

Barangay: {{ $application->current_barangay ?? 'N/A' }}

Municipality / City: {{ $application->current_city ?? 'N/A' }}

Province: {{ $application->current_province ?? 'N/A' }}

Country: {{ $application->current_country ?? 'Philippines' }} ZIP: {{ $application->current_zip_code ?? 'N/A' }}
{{-- Permanent Address Card --}}
Permanent Residence Permanent
@if($application->permanent_same_as_current)

Same as Current Residence

All address fields mirror the present residential record.

@else

{{ $application->permanent_house_no }} {{ $application->permanent_street }}

Barangay: {{ $application->permanent_barangay ?? 'N/A' }}

Municipality / City: {{ $application->permanent_city ?? 'N/A' }}

Province: {{ $application->permanent_province ?? 'N/A' }}

@endif
Country: {{ $application->permanent_country ?? 'Philippines' }} ZIP: {{ $application->permanent_zip_code ?? 'N/A' }}
{{-- 6. PARENT'S / GUARDIAN'S INFORMATION (Matched 3-Card Grid) --}}
6 Parent's / Guardian's Information
Emergency Contacts & Guardianship
{{-- Father --}}
Father's Name

{{ $application->father_last_name ? $application->father_last_name . ', ' . $application->father_first_name . ' ' . $application->father_middle_name : 'No Father Record' }}

Contact: {{ $application->father_contact ?? 'N/A' }}
{{-- Mother --}}
Mother's Maiden Name

{{ $application->mother_last_name ? $application->mother_last_name . ', ' . $application->mother_first_name . ' ' . $application->mother_middle_name : 'No Mother Record' }}

Contact: {{ $application->mother_contact ?? 'N/A' }}
{{-- Legal Guardian --}}
Legal Guardian

{{ $application->guardian_last_name ? $application->guardian_last_name . ', ' . $application->guardian_first_name . ' ' . $application->guardian_middle_name : 'No Guardian Specified' }}

Contact: {{ $application->guardian_contact ?? 'N/A' }}
{{-- 7. RETURNING LEARNER / TRANSFER INFORMATION --}}
7 Returning Learner (Balik-Aral) & Transfer Info
Previous Academic History
Last Grade Completed {{ $application->last_grade_level_completed ?? 'N/A' }}
Last School Year Completed {{ $application->last_school_year_completed ?? 'N/A' }}
School Last Attended {{ $application->school_last_attended ?? 'N/A' }}
School ID {{ $application->last_school_id ?? 'N/A' }}
{{-- 8. SENIOR HIGH SCHOOL (SHS) PROGRAM (If Grade 11 or 12) --}} @if(in_array($application->grade_level_to_enroll, ['11', '12']))
8 Senior High School (SHS) Track & Strand
Grades 11–12 Program
Semester {{ $application->semester ?? '1st Semester' }}
Track {{ $application->track ?? 'Academic Track' }}
Strand {{ $application->strand ?? 'N/A' }}
@endif {{-- 9. PREFERRED LEARNING MODALITY --}}
9 Preferred Learning Modality
Instructional Mode
Registered Modality Choices @php $mods = $application->preferred_learning_modality; if (is_string($mods)) { $decoded = json_decode($mods, true); $mods = is_array($decoded) ? $decoded : [$mods]; } @endphp @if(!empty($mods))
@foreach($mods as $m) {{ $m }} @endforeach
@else Standard In-Person (Face-to-Face) Delivery @endif
{{-- 10. ATTACHED REQUIREMENTS & VERIFICATION --}}
10
Attached Documents

Enrollment Requirements Verification

Registrar Verification
@forelse($application->documents as $doc)
{{ $doc->document_type?->label() ?? ucfirst(str_replace('_', ' ', $doc->document_type?->value ?? 'Document')) }}

{{ $doc->original_filename }}

Size: {{ $doc->formatted_size ?? 'N/A' }} • Uploaded {{ $doc->created_at->diffForHumans() }}

{{-- Verification Status Pill --}} @if($doc->is_verified) Verified @else Pending Verification @endif {{-- Download file --}} Download {{-- Toggle Verification Action --}}
@csrf
@empty
No requirement documents attached to this application.
@endforelse
{{-- 11. REGISTRAR DETERMINATION & ACTIONS PANEL --}}
11
Registrar Decision

Final Enrollment Determination

Ellaine Reyes • Registrar
@if($application->remarks)
Registrar Remarks / Correction Notes

{{ $application->remarks }}

@if($application->reviewer)

Reviewed by {{ $application->reviewer->name }} • {{ $application->reviewed_at?->diffForHumans() }}

@endif
@endif @if($st === 'approved') {{-- Already Approved State --}}
Status: Officially Enrolled

Learner is Officially Enrolled

Assigned to {{ $application->assigned_section?->name ?? 'Classroom Section' }} for SY {{ $application->academic_year ?? '2026-2027' }}.

@else {{-- Pending Actions: Side-by-Side Aligned Grid --}}
{{-- Approve Enrollment Form --}}

Officially Approve & Assign Section

Confirm admission. The student will be automatically assigned to the next available block section within DepEd capacity (45 learners).

@csrf
{{-- Return for Correction Form --}}

Return for Correction

Send application back to the student with clear instructions on which fields or documents require rectification.

@csrf
@endif