@php use Carbon\Carbon; @endphp
Employee: {{ $staff->user?->name }} ({{ $staff->user?->id }})
Department: {{ $staff->department?->name }}
Branch: {{ $staff->warehouse?->name }}
Generated: {{ Carbon::now()->format('Y-m-d H:i') }}
Current Balance: {{ number_format((float)$balance, 2) }}
| Date | Type | Amount | Ref | Notes |
|---|---|---|---|---|
| {{ $row->entry_date?->format('Y-m-d') }} | {{ $row->type }} | {{ number_format((float)$row->amount, 2) }} | {{ $row->ref_type }} @if($row->ref_id) (#{{ $row->ref_id }}) @endif | {{ $row->notes }} |