@extends('layouts.app') @section('title', 'My Leave Requests | Institution Axis') @section('sidebar-menu') {{-- Teacher sidebar partial if it exists --}} @includeIf('teacher.partials.sidebar') @endsection @section('breadcrumb') Home / My Leave Requests @endsection @section('navbar-right')
@endsection @section('content')| # | Leave Type | From | To | Days | Status | Admin Notes | Submitted |
|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $leave->leave_type_label }} | {{ $leave->start_date->format('d M Y') }} | {{ $leave->end_date->format('d M Y') }} | {{ $leave->days_requested }}d | {{ ucfirst($leave->status) }} | {{ $leave->admin_notes ?? '—' }} | {{ $leave->created_at->format('d M Y') }} |
| No leave requests submitted yet. | |||||||