@extends('admin.layouts.app') @section('title', get_setting('site_name').' | GF Statement') @section('content')
{{ __('GF Statement') }} — {{ $staff->user?->name }} ({{ $staff->user?->id }})
@if(((int)($staff->status ?? 1) !== 1) || ((int)($staff->user?->is_active ?? 1) !== 1))
@csrf
@endif {{ __('Download PDF') }}
{{ __('Account') }}
{{ __('Current balance') }}: {{ number_format((float)$balance, 2) }}
@forelse($rows as $row) @empty @endforelse
{{ __('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 }}
{{ __('No records') }}
{{ $rows->links() }}
@endsection