@php use Carbon\Carbon; @endphp

Provident Fund (PF) Statement

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) }}

@foreach($rows as $row) @endforeach
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 }}