Journal Voucher
A Printable Journal Voucher Format
I M S
Date: {{ $journal->created_at->format('Y-m-d') }}
Voucher Date: {{ $journal->created_at->format('Y-m-d') }}
Voucher Type: Journal
Account Title | Entry Narration | @if($details->contains('entryType', 'C') && $details->contains('entryType', 'D'))Debit | Credit | @elseAmount | @endif|
---|---|---|---|---|---|
{{ $detail->Account_Title }} | {{ $detail->Entry_Narration }} | @if($detail->entryType == 'D'){{ number_format($detail->Amount, 2) }} | 0.00 | @php $totalDebit += $detail->Amount; @endphp @elseif($detail->entryType == 'C')0.00 | {{ number_format($detail->Amount, 2) }} | @php $totalCredit += $detail->Amount; @endphp @endif
Total | @if($details->contains('entryType', 'C') && $details->contains('entryType', 'D')){{ number_format($totalDebit, 2) }} | {{ number_format($totalCredit, 2) }} | @else{{ number_format($totalDebit + $totalCredit, 2) }} | @endif