{{ __('Accounts Ledger') }}

@foreach ($sub_accounts as $account) @endforeach
# Account Parent Account Total Debit Total Credit Balance Action
{{ $count++}} {{$account->name}} @foreach ($glAccounts as $glAccount) @if ($account->parentAccountId == $glAccount->id) {{$glAccount->name}} @endif @endforeach @foreach ($entries as $entry) @if ($entry->accountId == $account->id) @endif @endforeach {{$debit}} @foreach ($entries as $entry) @if ($entry->accountId == $account->id) @endif @endforeach {{$credit}} {{$credit - $debit}} View