@extends('layouts.app') @section('title', 'Bank Book') @section('content') {{-- ✅ Header Section --}}
Track all bank transactions, deposits, withdrawals, and running balances.
| Date | Voucher | Account | Narration | Debit | Credit | Balance |
|---|---|---|---|---|---|---|
| {{ $line['date'] }} | {{-- Voucher --}}{{ $line['voucher_number'] }} | {{-- Account --}}{{ $line['account'] }} | {{-- Narration --}}{{ $line['narration'] }} | {{-- Debit --}}{{ $line['debit'] > 0 ? number_format($line['debit'], 2) : '—' }} | {{-- Credit --}}{{ $line['credit'] > 0 ? number_format($line['credit'], 2) : '—' }} | {{-- Balance --}}{{ number_format($line['balance'], 2) }} |
No bank entries foundThere are no bank transactions in the selected period. |
||||||
| Total | {{ number_format($total_debit, 2) }} | {{ number_format($total_credit, 2) }} | {{ number_format($closing_balance, 2) }} | |||