@foreach($data as $row) @endforeach
S.No Account Name Description Debit Credit
{{$count++}} {{CommonHelper::get_account_name($row->acc_id)}} {{$row->particulars}} @if ($row->debit_credit==1){{number_format($row->amount,2)}}@endif @if ($row->debit_credit==0){{number_format($row->amount,2)}}@endif
Total {{number_format($total_debit,2)}} {{number_format($total_credit,2)}}