| {{-- @if($c['key'])--}} {{-- --}} {{-- @else--}} {{-- {{ $c['label'] }}--}} {{-- @endif--}} {{ $c['label'] }} | @endforeach|||||||||
|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration + ($advances->currentPage() - 1) * $advances->perPage() }} | {{ $a->employee->name ?? '—' }} | {{ $a->label }} | {{ $a->start_date?->format('Y-m-d') }} | {{ $a->months }} | {{ number_format($a->amount,2) }} | {{ number_format($a->monthly_amount ?? ($a->amount / max(1,$a->months)),2) }} | {{ __(ucfirst($a->status)) }} | @if($a->file_url) {{ __('View') }} @else — @endif |
@can('advances edit')
@endcan
@can('advances delete')
@endcan
@can('advances approve')
@if($a->status === 'pending')
@endif
@endcan
@can('advances disburse')
@if(in_array($a->status, ['approved','disbursed']))
@endif
@endcan
{{__("View")}}
|
| {{ __('No records found.') }} | |||||||||