$mainAccName
{{ $doubleEntry['acc_code'] }}
{{ $doubleEntry['account_name'] }}
# | Date | Voucher No | Description | Debit | Credit |
---|---|---|---|---|---|
Beginning Balance for period | - | - | |||
{{ $count++ }} | {{ $value->date }} | {{ $value->voucher_no }} | {{ $value->description }} | {{ is_numeric($value->debit) && $value->debit != 0 ? number_format($value->debit, 2, '.', ',') : '' }} | {{ is_numeric($value->credit) && $value->credit != 0 ? number_format($value->credit, 2, '.', ',') : '' }} |
Total for Period | {{ number_format($debitTotal, 2, '.', ',') }} | {{ number_format($creatidTotal, 2, '.', ',') }} | |||
Ending Balance for period | {{ $debitTotal - $creatidTotal > 0 ? number_format($debitTotal - $creatidTotal, 2, '.', ',') : '' }} | {{ $creatidTotal - $debitTotal > 0 ? number_format($creatidTotal - $debitTotal, 2, '.', ',') : ($creatidTotal - $debitTotal == 0 ?'0.00':'') }} |
@endforeach