@php $profilePath = $student->img ? public_path('storage/'.$student->img) : public_path('adminlte/images/llcf-white-header.png'); @endphp @if(file_exists($profilePath)) Student Image @else Default Image @endif
GR No {{ ($student->gr_no ?? 'N/A') }}
Name {{ $student->name ?? 'N/A' }}
Date of Birth {{ $student->dob ?? 'N/A' }}
Gender {{ ucfirst($student->gender ?? 'N/A') }}
Contact No {{ $student->contact_no ?? 'N/A' }}
Email {{ $student->email ?? 'N/A' }}
Address {{ $student->address ?? 'N/A' }}
Guardian Name {{ $student->guardian_name ?? 'N/A' }}
Guardian Contact No {{ $student->guardian_contact_no ?? 'N/A' }}
WhatsApp No {{ $student->whatsapp_no ?? 'N/A' }}
Religion {{ $student->religion ?? 'N/A' }}
Nationality {{ $student->nationality ?? 'N/A' }}
Zakat {{ $student->zakat ? 'Yes' : 'No' }}
Security Deposit Amount {{ $student->security_deposit_amount ? number_format($student->security_deposit_amount, 2) : 'N/A' }}
Deduction Amount {{ $student->deduction_amount ? number_format($student->deduction_amount, 2) : 'N/A' }}
Refund Amount {{ $student->refund_amount ? number_format($student->refund_amount, 2) : 'N/A' }}
Days {{ $student->days ?? 'N/A' }}
Start Time {{ $student->start_time ?? 'N/A' }}
End Time {{ $student->end_time ?? 'N/A' }}

Courses

@if(!empty($student->courses) && count($student->courses) > 0) @foreach($student->courses as $course) {{ $course->name ?? 'N/A' }} @endforeach @else No courses assigned. @endif

Academic Records

Qualification Year Institute
{{ $student->academicRecords->qualification ?? 'N/A' }} {{ $student->academicRecords->year ?? 'N/A' }} {{ $student->academicRecords->institute_name ?? 'N/A' }}