Back to COA
{{ $company?->name ?? config('app.name') }}
@if($company?->legal_name)
{{ $company->legal_name }}
@endif @if($company?->address)
{{ $company->address }}
@endif @if($company?->city || $company?->country)
{{ trim(($company->city ?? '') . ', ' . ($company->country ?? ''), ', ') }}
@endif @if($company?->email)
{{ $company->email }}
@endif

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'] }}
@foreach($sections as $section) @php $accs = collect($section['accs'] ?? []); @endphp @continue($accs->isEmpty()) @foreach($accs as $account) @endforeach @endforeach
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 ?: '—' }}