As of {{ \Illuminate\Support\Carbon::parse($trialBalance['as_of'])->format('d M Y') }} — {{ $trialBalance['is_balanced'] ? 'Balanced' : 'Not Balanced' }}
| Code | Account | Category | Debit | Credit |
|---|---|---|---|---|
| {{ $row['code'] }} | {{ $row['name'] }} | {{ is_object($row['category']) ? $row['category']->label() : ucfirst($row['category']) }} | {{ $row['debit'] !== '0.00' ? number_format($row['debit'], 2) : '—' }} | {{ $row['credit'] !== '0.00' ? number_format($row['credit'], 2) : '—' }} |
| Totals | {{ number_format($trialBalance['total_debits'], 2) }} | {{ number_format($trialBalance['total_credits'], 2) }} | ||