{{$title}}
@foreach($accounts as $account) @endforeach

{{$accounts->firstWhere('id', $rowid)->name}}

@forelse($bankBooks as $bankBook) @empty @endforelse
Date Description Debit Credit Balance
{{ $from }} Opening Balance - - {{ number_format($openingBalance, 2) }}
{{ $bankBook->transaction_date->format('Y-m-d') }} {{ $bankBook->description }} {{ $bankBook->type === 'debit' ? number_format($bankBook->amount, 2) : '-' }} {{ $bankBook->type === 'credit' ? number_format($bankBook->amount, 2) : '-' }} {{ number_format($bankBook->balance, 2) }}
No transactions found for the selected period.