@extends('layouts.master') @section('title', 'Hostel Students') @section('content')
| # | Student Name | Reg ID | Room | Seat | Join Date | Action |
|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ optional($hostel->student->user)->name ?? 'N/A' }} | {{ $hostel->student->reg_id }} | {{ $hostel->room->room_number }} | {{ $hostel->seat->seat_number }} | {{ \Carbon\Carbon::parse($hostel->join_date)->format('d-m-Y') }} |