@extends('layouts.admin') @section('title', 'Trial Balance') @section('content')
As of {{ date('F jS, Y') }}
| Code | Account | Debit | Credit |
|---|---|---|---|
| {{ $balance['account_code'] }} | {{ $balance['account_name'] }} | {{ $balance['debit'] > 0 ? number_format($balance['debit'], 2) : '-' }} | {{ $balance['credit'] > 0 ? number_format($balance['credit'], 2) : '-' }} |
| No accounts with balances found. | |||
| Totals | Rs. {{ number_format($totalDebit, 2) }} | Rs. {{ number_format($totalCredit, 2) }} | |
| Warning: Totals do not match! | |||