@extends($layout ?? 'layouts.app') @section('title', 'Connect - My Leaves') @section('content')
No leave balances initialized for you this year. Please contact HR.
| Leave Type | Start Date | End Date | Total Days | Reason | Attachment | Status | Reviewed By |
|---|---|---|---|---|---|---|---|
|
You haven't submitted any leave requests yet. |
|||||||
| {{ $req->leaveType->name }} | {{ $req->start_date->format('d-M-Y') }} | {{ $req->end_date->format('d-M-Y') }} | {{ (float)$req->total_days }} days | {{ $req->reason ?? '-' }} | @if($req->attachment_path) Download @else - @endif | {{ ucfirst($req->status) }} |
@if($req->approvedBy)
{{ $req->approvedBy->name }}
@if($req->approval_comments)
"{{ Str::limit($req->approval_comments, 20) }}"
@endif
@else
-
@endif
|