{{ $company?->name ?? config('app.name') }}
Chart of Accounts
Printed: {{ now()->format('d M Y, h:i A') }}
Company Code: {{ auth()->user()->company_code ?? auth()->user()->company?->company_code ?? '—' }}
Total Accounts{{ $stats['total'] }}
Active{{ $stats['active'] }}
Inactive{{ $stats['inactive'] }}
Postable{{ $stats['postable'] }}
| Account No. | Account Name | Account Type | Balance | Status | Description |
|---|---|---|---|---|---|
| {{ $section['label'] }} ({{ $accs->count() }}) | |||||
| {{ $account->code ?: '—' }} |
@php $treeDepth = (int) ($account->display_depth ?? $account->depth ?? 0); @endphp
@if($treeDepth > 0)↳@endif
{{ $account->name }}
@if($account->is_group)Group account @endif
@if($account->is_system)System generated @endif
|
{{ $account->qb_account_type }} | {{ $account->current_balance_display ?? '—' }} | {{ $account->is_active ? 'Active' : 'Inactive' }} | {{ $account->description ?: '—' }} |