Journal Entry:Journal Entry : {{ date('d-m-y', strtotime($draft->journal_entry)) }}
Reference No:Reference No. : {{ $draft->reference_no }}
Description:Description : {{ $draft->description }}
@php $total_debet = 0; $total_credit = 0; @endphp @foreach($transaction_journal_vouchers as $transaction_journal_voucher) @php $total_debet += $transaction_journal_voucher->debet; $total_credit += $transaction_journal_voucher->credit; @endphp @endforeach
Account-No Description Debet Credit Remark
{{ $transaction_journal_voucher->account_no }} {{ $transaction_journal_voucher->description }} {{ number_format($transaction_journal_voucher->debet, 2) }} {{ number_format($transaction_journal_voucher->credit, 2) }} {{ $transaction_journal_voucher->remark }}
TOTAL {{ number_format($total_debet, 2) }} {{ number_format($total_credit, 2) }}