@extends('admin.default') @section('css') @endsection @section('content')

Students

Student Details

Export to PDF
{{-- --}}
Full Name{{ $student->stu_full_name ?? 'N/A' }}
GR Number{{ $student->gr_num ?? 'N/A' }}
Auto GR Number{{ $student->auto_gr_num ?? 'N/A' }}
Date of Birth{{ $student->stu_dob ?? 'N/A' }}
Gender{{ $student->stu_gender ? ucfirst($student->stu_gender) : 'N/A' }}
Class{{ $student->class ?? 'N/A' }}
Family @if($student->family) {{ $student->family->father_name ?? 'N/A' }} (Family ID: {{ $student->family->id }}) @else N/A @endif
Donor @if($student->donor) {{ $student->donor->donor_name ?? 'N/A' }} (ID: {{ $student->donor->id }}) @else N/A @endif
Donation Date{{ $student->donation_date ?? 'N/A' }}
Donation Expiry{{ $student->donation_expiry ?? 'N/A' }}
Created On{{ $student->created_on ?? 'N/A' }}
Updated On{{ $student->updated_on ?? 'N/A' }}

Attendances
@if($student->attendances && $student->attendances->count())
    @foreach($student->attendances as $attendance)
  • ({{ $attendance->date ?? 'N/A' }}) - {{ $attendance->class ?? 'N/A' }} - {{ ucfirst($attendance->attendance) ?? 'N/A' }}
  • @endforeach
@else No attendance records found. @endif
Student Services
@if($student->studentServices && $student->studentServices->count())
    @foreach($student->studentServices as $service)
  • ({{ $service->date ?? 'N/A' }}) - {{ $service->service ?? 'N/A' }}
  • @endforeach
@else No services found. @endif
Health Records
@if($student->healthRecords && $student->healthRecords->count())
    @foreach($student->healthRecords as $record)
  • {{ $record->diagnosis ?? 'N/A' }}
  • @endforeach
@else No health records found. @endif
@endsection