@extends('layouts.app') @section('title','General Ledger') @section('content')
| Date | Voucher | Narration | Debit | Credit |
|---|---|---|---|---|
| {{ $line->journalEntry->posting_date->format('d M Y') }} | {{ $line->journalEntry->voucher_number }} | {{ $line->journalEntry->narration ?? $line->description }} | {{ $line->debit > 0 ? '৳'.number_format($line->debit,2) : '' }} | {{ $line->credit > 0 ? '৳'.number_format($line->credit,2) : '' }} |
| Totals | ৳{{ number_format($runDebit,2) }} | ৳{{ number_format($runCredit,2) }} | ||