Total Payment Voucher Entries ({!! isset($data['receipt_voucher_entries']) ? count($data['receipt_voucher_entries']) : '0' !!})
@php $i = 1; $totalAmount = 0; @endphp @if(isset($data['receipt_voucher_entries']) && count($data['receipt_voucher_entries']) > 0) @foreach($data['receipt_voucher_entries'] as $key => $list) @if($page == 0) @else @endif @php $totalAmount += preg_replace("/[^0-9.]/", "", (int) $list['amount']); @endphp @php $i++; @endphp @endforeach @else @endif
Sr No. Account Name Amount Delete
{{ $i }} {{$list['account_name'] ?? ''}}{{$list['amount'] ?? ''}}
TOTAL: {{$totalAmount}}
No Data Found