Recent Voucher's
| Voucher No |
Type |
Amount |
Action |
@foreach($recent_vouchers as $rv)
| {{$rv->tr_no}} |
{{$rv->tr_from}} |
{{find_a_field('secondary_journals','sum(cr_amt)','jv_no='.$rv->jv_no)}} |
|
@endforeach
@php $tr_from = "contra"; @endphp
| Sl |
A/C Head |
Narration |
Debit Amount |
Credit Amount |
Action |
@if(!empty($vouchers))
@php $total_dr=0.00;
$total_cr=0.00; @endphp
@foreach($vouchers as $vr)
@php
$total_dr+=$vr->dr_amt;
$total_cr+=$vr->cr_amt;
@endphp
| {{$loop->index+1}} |
{{find_a_field('accounts_ledgers','ledger_name','ledger_id='.$vr->ledger_id)}} |
{{$vr->narration}} |
{{$vr->dr_amt}} |
{{$vr->cr_amt}} |
|
@endforeach
| Total : |
{{$total_dr}} |
{{$total_cr}} |
|
@endif