@extends('layouts.app') @section('title', 'Account Ledger') @section('content')
| Date | Voucher | Narration | Debit | Credit | Balance |
|---|---|---|---|---|---|
| {{ $line['date'] }} | {{ $line['voucher_number'] }} | {{ $line['narration'] }} | {{ number_format($line['debit'], 2) }} | {{ number_format($line['credit'], 2) }} | {{ number_format($line['balance'], 2) }} |
| No posted entries for this account in this period. | |||||
| Total | {{ number_format($ledger['total_debit'], 2) }} | {{ number_format($ledger['total_credit'], 2) }} | {{ number_format($ledger['closing_balance'], 2) }} | ||