| Account Code | Account Name | Debit | Credit |
|---|---|---|---|
| {{ $row['code'] }} | {{ $row['account'] }} | {{ number_format($row['debit'], 2) }} | {{ number_format($row['credit'], 2) }} |
| Totals | {{ number_format(collect($balances)->sum('debit'), 2) }} | {{ number_format(collect($balances)->sum('credit'), 2) }} | |
@include('partials.accounting.period-banner')
@if(isset($isBalanced))
>>>>>>> origin/main
@if($isBalanced)
@endif
Trial balance is balanced — total debits equal total credits.
@else
Trial balance is out of balance. Review journal entries or run the balance check report.
@endif
| Code | Account | Type | Debit | Credit |
|---|---|---|---|---|
| {{ $row['code'] }} | {{ $row['account'] }} | {{ $row['type'] }} | {{ $row['debit'] > 0 ? number_format($row['debit'], 2) : '—' }} | {{ $row['credit'] > 0 ? number_format($row['credit'], 2) : '—' }} |
| No account activity in this period. | ||||
| Totals | {{ number_format($totalDebit ?? 0, 2) }} | {{ number_format($totalCredit ?? 0, 2) }} | ||