@extends('layouts.app') @section('title', 'Student Dashboard') @section('content')
| Type | Leave Type | Reason | From | To | Days | Attachment | Status | Level | Action |
|---|---|---|---|---|---|---|---|---|---|
| {{ ucfirst($leave->student_type ?? '-') }} | {{ $leave->leave_type_label ?? '-' }} | {{ Str::limit($leave->leave_reason,20) }} | {{ $leave->from_date->format('d M') }} | {{ $leave->to_date ? $leave->to_date->format('d M') : '-' }} | {{ $leave->number_of_days }} | @if($leave->attachment) 📄 Download @else - @endif | {{ ucfirst($leave->status) }} | @if( $leave->status!='approved' && $leave->status!='rejected' ) L{{ $leave->current_level }} @else - @endif | View |
No leave requests yet. Start by applying for leave!