{{-- Filter --}}
{{-- List --}}
| # | Date | Employee | Start | End | Minutes | Status | Reason | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ $requests->firstItem() + $i }} | {{ \Carbon\Carbon::parse($r->break_date)->format('Y-m-d') }} |
{{ $r->employee?->name ?? '—' }}
({{ $r->employee?->e_id ?? $r->employee_id }})
|
{{ $r->break_start }} | {{ $r->break_end }} | {{ $mins ?? '-' }} | @if($r->status === 'pending') Pending @elseif($r->status === 'approved') Approved @else Rejected @endif |
{{ $r->reason ?? '-' }}
|
@if($r->status === 'pending') @else — @endif |
| No break requests found. | ||||||||
Showing {{ $requests->count() }} of {{ $requests->total() }} records
{{ $requests->links() }}