My Leave Ledger
🌴 Current Paid Leave Balance:
{{ number_format($balance, 2) }} days
{{-- FILTER --}}
{{-- TABLE --}}
| Date | Action | Days | Before | After(Balance) | Reason |
|---|---|---|---|---|---|
| {{ $log->created_at->format('d M Y H:i') }} | @if ($log->action === 'earned') Credit @elseif($log->action === 'deducted') Paid Leave @elseif($log->action === 'lwp') LWP @elseif($log->action === 'adjusted') Adjustment @endif | {{ $log->days }} | {{ $log->balance_before ?? '-' }} | {{ $log->balance_after ?? '-' }} | {{ $log->reason ?? '-' }} |
| No leave history found | |||||