@extends('layouts.app') @section('title', 'Pending Leave Approvals') @section('content')
← Back to Leaves

Pending Leave Approvals

Review requests from team members and authorize leave deductions

{{ $pendingLeaves->total() }} Applications Pending
@forelse($pendingLeaves as $leave) @empty @endforelse
Applicant Department Leave Category Date Span Total Days Reason Actions
{{ $leave->employee->full_name ?? 'Employee' }}
{{ $leave->employee->employee_code ?? '' }}
{{ $leave->employee->department->name ?? 'General' }} {{ $leave->leaveType->name ?? 'Leave' }}
{{ $leave->start_date->format('d M') }} - {{ $leave->end_date->format('d M Y') }}
@if($leave->is_half_day) Half Day @endif
{{ $leave->total_days }} "{{ $leave->reason }}"
@csrf
@csrf
All pending leave applications have been authorized!
@if($pendingLeaves->hasPages()) @endif
@endsection