Withdrawal Requests
@canany(['Admin', 'New Withdrawals Request']) New Request @endcanany| # | Employee | Amount | Status | Requested | Approved | Action |
|---|---|---|---|---|---|---|
| {{ $key + $list->firstItem() }} |
{{ $req->employee->name ?? $req->teacher->name ?? '-' }} {{ $req->employee->e_id ?? $req->teacher->teacher_code ?? '' }} |
{{ number_format($req->requested_amount, 2) }} | @php $color = match ($req->status) { 'pending' => 'warning', 'approved' => 'info', 'rejected' => 'danger', 'completed' => 'success', default => 'secondary' }; @endphp {{ strtoupper($req->status) }} | {{ $req->created_at->format('d M, Y') }} | @if($req->approved_at) {{ $req->approved_at->format('d M, Y') }} @else -- @endif | @canany(['Admin','Withdrawals Request View']) View @endcanany |
| No requests found. | ||||||