@if($data['row'] && $data['row']->count() > 0)
{{$data['row']['print_head']}}

@for ($i = 0; $i <= $data['keys']; $i++)
{{$data['row'][$i]['table_head']}}

Particulars Cr. Dr.
Opening Balance {{ $data['row'][$i]['total']['opening'] }} Cr.
Total Fee Collected {{ $data['row'][$i]['fee_collection'] }} Cr.
Total Salary Pay {{ $data['row'][$i]['salary_pay'] }} Dr.
Bank deposit / withdraw amount {{$data['row'][$i]['bank_transaction']->sum('cr_amt')}} Cr. {{ $data['row'][$i]['bank_transaction']->sum('dr_amt') }} Dr.
Transactions Income and Expenses on different heads {{$data['row'][$i]['transaction']->sum('cr_amount')}} Cr. {{ $data['row'][$i]['transaction']->sum('dr_amount') }} Dr.
Closing Balance Cash on Hand {{ $data['row'][$i]['total']['coh'] }} Dr.
Account Tally {{ $data['row'][$i]['total']['cr'] }} Cr. {{ $data['row'][$i]['total']['dr'] }} Dr.
@endfor @endif