@include('accounting::admin.accounting._styles')

Trial Balance

As of {{ \Carbon\Carbon::parse($asOf)->format('d M Y') }}
Export CSV
@foreach($groups as $group) @if($group->accounts->isNotEmpty()) @foreach($group->accounts as $account) @endforeach @endif @endforeach
Code Account Name Group Debit (₹) Credit (₹)
{{ $group->name }} ({{ ucfirst($group->nature) }})
{{ $account->account_code }} {{ $account->account_name }} {{ $group->name }} {{ ($group->nature === 'debit' && $account->trial_balance > 0) ? '₹ '.number_format($account->trial_balance, 2) : '' }} {{ ($group->nature === 'credit' && $account->trial_balance > 0) ? '₹ '.number_format($account->trial_balance, 2) : '' }}
Grand Total ₹ {{ number_format($totals['debit'], 2) }} ₹ {{ number_format($totals['credit'], 2) }}
Difference {{ abs($totals['debit'] - $totals['credit']) < 0.01 ? '✓ Balanced' : '₹ '.number_format(abs($totals['debit'] - $totals['credit']),2).' (Unbalanced)' }}