| Code | Account | Type | Parent | Ledger movement | Balance | Status | Actions |
|---|---|---|---|---|---|---|---|
| {{ $account->code }} |
{{ $account->name }}
@if ($account->is_system)
@if ($account->description)
{{ $account->description }}
@endif
|
|
{{ $account->parent ? $account->parent->code.' · '.$account->parent->name : '—' }} | Dr {{ money($account->ledger_debits, false) }} / Cr {{ money($account->ledger_credits, false) }} | {{ money(abs($account->ledger_balance), false) }} {{ in_array($account->account_type, ['asset', 'expense'], true) ? ($account->ledger_balance < 0 ? 'Cr' : 'Dr') : ($account->ledger_balance < 0 ? 'Dr' : 'Cr') }} |
@if ($account->is_active)
|