@if ($status !== '' || $category !== '' || $staffId) Clear @endif
@if ($claims->isEmpty()) @else
@foreach ($claims as $claim)
{{ $claim->claim_no }}
{{ $claim->description }}
{{ $claim->user?->name }}{{ $claim->user?->employee_no ? ' · '.$claim->user->employee_no : '' }} · submitted {{ $claim->created_at?->format('d M Y') }} @if ($claim->payslip_id) · queued on payroll @endif
@if ($claim->decision_note)
Decision: {{ $claim->decision_note }}
@endif
{{ money($claim->amount, false) }}
@if ($claim->paid_at)
Paid {{ $claim->paid_at->format('d M Y') }}
@endif
@foreach (($claim->receipts ?? []) as $index => $receipt) {{ \Illuminate\Support\Str::limit($receipt['name'] ?? 'Receipt', 24) }} @endforeach @can('hrm.claims.approve') @if ($claim->status === 'submitted')
@csrf
@endif @endcan @can('hrm.claims.pay') @if ($claim->status === 'approved' && ! $claim->payslip_id)
@csrf
@endif @endcan
@endforeach
{{ $claims->links() }}
@endif
@can('hrm.claims.submit')
@csrf @can('hrm.claims.approve') @endcan
@error('description')

{{ $message }}

@enderror

Up to 5 files, 5 MB each (PDF or image).

@error('receipts')

{{ $message }}

@enderror @error('receipts.*')

{{ $message }}

@enderror

Approved claims are picked up automatically by the next generated payroll run and reimbursed with net pay.

@endcan