Total Journal Voucher Entries ({!! isset($data['journal_voucher_entries']) ? count($data['journal_voucher_entries']) : '0' !!})
@php $i = 1; $debitAmount = 0; $creditAmount = 0; @endphp @if(isset($data['journal_voucher_entries']) && count($data['journal_voucher_entries']) > 0) @foreach($data['journal_voucher_entries'] as $key => $list) @if($page == 0) @else @endif @php $debitAmount += preg_replace("/[^0-9.]/", "", (int) $list['debit']); $creditAmount += preg_replace("/[^0-9.]/", "", (int) $list['credit']); @endphp @php $i++; @endphp @endforeach @else @endif
Sr No. Account Name Narration Debit Amount Credit Amount Delete
{{ $i }} {{$list['account_name'] ?? ''}} 0 ? 'readonly' : '' }}> 0 ? 'readonly' : '' }}>{{$list['details_narration'] ?? ''}} {{$list['debit'] ?? ''}} {{$list['credit'] ?? ''}}
TOTAL Debit: {{$debitAmount}} Credit: {{$creditAmount}}
No Data Found