@extends('adminlte::page') @section('title', 'Leave Report') @section('content_header')
| Staff Name | Department | Type | Status | Start Date | End Date |
|---|---|---|---|---|---|
| {{ $leave->staff->name ?? 'N/A' }} | {{ $leave->staff->department->name ?? 'N/A' }} | {{ ucfirst($leave->type) }} | {{ ucfirst($leave->status) }} | {{ $leave->start_date->format('Y-m-d') }} | {{ $leave->end_date->format('Y-m-d') }} |