@php $i=0; @endphp @foreach($data as $row) @php $i++; @endphp
Debit A/c.
Ref.No.
Description
P.Mode
Amount
Bank
Cheque No
Cheque Date
Remarks


@endforeach
Transactions(Cr)
@php $i=$orvtotal=0; @endphp @foreach($payacnts as $k => $row) @if($k>1 && $row->amount > 0 && !(in_array($row->account_id,$orv)) ) @php $i++; $orvtotal += $row->amount; @endphp
Tenant A/c
Description/Reference
Contract No
Amount
@endif @endforeach
@foreach($payacnts as $k => $row) @if($row->tax_amount > 0 && !(in_array($row->account_id,$txrv))) @php $i++; $orvtotal += $row->tax_amount; @endphp
Tenant A/c
Description/Reference
Contract No
Amount
@endif @endforeach