@extends('layouts.app') @section('title', 'Expense Claims') @section('content') @php $activeTab = request('tab', 'claims'); @endphp

Expense claims

Approve staff reimbursements and pay them through the next payroll run.
@include('payroll._nav')
@forelse($claims as $claim) @empty @endforelse
ClaimStaffTypeDateAmountReceiptStatusActions
{{ $claim->claim_no }} {{ $claim->staff?->full_name ?? 'Unknown' }}
{{ $claim->staff?->staff_no ?: '—' }}
{{ $claim->type?->name ?? '—' }} @if($claim->type?->taxable)Taxable@endif {{ $claim->expense_date?->format('d M Y') }} {{ money($claim->amount) }} @if($claim->receipt_path) @else None @endif @if($claim->status === 'Paid' && $claim->run)
{{ $claim->run->period }}
@endif
@if($claim->status === 'Pending')
@csrf
@endif @if(in_array($claim->status, ['Pending', 'Approved'], true))
@csrf
@endif @if($claim->status === 'Approved')
@csrf
@endif @if($claim->rejection_reason) @endif
@if($claims->hasPages())
{{ $claims->links() }}
@endif
@forelse($types as $claimType) @empty @endforelse
TypeLimitReceiptTaxableClaimsStatusActions
{{ $claimType->name }}
{{ $claimType->code ?: 'No code' }}
{{ $claimType->max_amount ? money($claimType->max_amount) : 'No limit' }} {{ $claimType->requires_receipt ? 'Required' : 'Optional' }} {!! $claimType->taxable ? 'Taxable' : 'Non-taxable' !!} {{ num($claimType->claims_count) }}
@if($claimType->claims_count === 0)
@csrf @method('DELETE')
@endif
@csrf
PDF, JPG or PNG up to 5 MB.
@csrf @include('payroll._claim_type_form', ['claimType' => null])
@foreach($types as $claimType)
@csrf @method('PUT') @include('payroll._claim_type_form', ['claimType' => $claimType])
@endforeach @foreach($claims as $claim) @if($claim->status === 'Pending')
@csrf
@endif @if($claim->rejection_reason)

{{ $claim->rejection_reason }}

@endif @endforeach @endsection