EMPIRE DEVELOPMENTS
BANK ACCOUNTS BALANCES
@php $grandDebit = 0; $grandCredit = 0; @endphp @foreach($model as $row) @php $grandDebit += $row['total_debit']; $grandCredit += $row['total_credit']; @endphp @endforeach
Account Title Total Debit Total Credit
{{ $row['accounttitle'] }} (ID: {{ $row['account_id'] }}) {{ number_format($row['total_debit'], 2) }} {{ number_format($row['total_credit'], 2) }}
TOTAL AED {{ number_format($grandDebit, 2) }} AED {{ number_format($grandCredit, 2) }}