@extends('backend.layouts.master') {{-- Use your custom layout file --}} @section('content') @push('styles') @endpush
Name: {{ $student->first_name .' '. $student->last_name }}
Enrollment No: {{ $student->enrollment_no }}
Email: {{ $student->email }}
Phone: {{ $student->phone }}
| Hostel Name | Building | Floor | Room Number | Allocated At |
|---|---|---|---|---|
| {{ $student->hostel?->name ?? 'N/A' }} | {{ $student->roomAllocation?->room?->building?->name ?? 'N/A' }} | {{ $student->roomAllocation?->floor ?? 'N/A' }} | {{ $student->roomAllocation?->room?->room_number ?? 'N/A' }} | {{ $student->roomAllocation?->allocated_at ? \Carbon\Carbon::parse($student->roomAllocation->allocated_at)->format('d M Y') : 'N/A' }} |
| # | Month | Days | Amount (₹) | Status | Created At |
|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ \Carbon\Carbon::parse($messBill->month)->format('F Y') }} | {{ $messBill->days }} | {{ number_format($messBill->amount, 2) }} | @if ($messBill->status === 'paid') Paid @elseif ($messBill->status === 'unpaid') Unpaid @else {{ ucfirst($messBill->status) }} @endif | {{ \Carbon\Carbon::parse($messBill->created_at)->format('d M Y') }} |
| # | Date | Type | Status | Fine Amount | Review Notes |
|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ \Carbon\Carbon::parse($violation->violation_date)->format('d M Y') }} | {{ $violation->violationType->name }} | {{ ucfirst($violation->status) }} | {{ ucfirst($violation->fine_amount) }} | {{ ucfirst($violation->review_notes) }} |
No disciplinary violations recorded.
@endif{{ $attendanceCalendar['attendanceCount'] }}
{{ $attendanceCalendar['leaveCount'] }}
{{ $attendanceCalendar['absentCount'] }}
@if ($totalBills === 0) No Bills @elseif ($paidBills === $totalBills) Paid @elseif ($unpaidBills === $totalBills) Unpaid @else Partially Paid @endif