Voucher No:
{{ $journal->reference }}
Date:
{{ \Carbon\Carbon::parse($journal->transaction_date)->format('d/m/Y') }}
Branch:
{{ $journal->branch->name ?? '-' }}
Description:
{{ $journal->description }}
| Account |
Sub Account |
Description |
Debit |
Credit |
@php $debit_total = 0; $credit_total = 0; @endphp
@foreach($journal->entries as $entry)
| {{ $entry->account->account_code ?? '' }} - {{ $entry->account->account_name ?? '' }} |
{{ $entry->subAccount->sub_account_code ?? '-' }} {{ $entry->subAccount->sub_account_name ?? '' }} |
{{ $entry->description }} |
{{ number_format($entry->debit, 2) }} |
{{ number_format($entry->credit, 2) }} |
@php $debit_total += $entry->debit; $credit_total += $entry->credit; @endphp
@endforeach
| Total |
|
{{ number_format($credit_total, 2) }} |
Amount in Words:
{{ amount_in_words($debit_total) }} Only