{{ $journal->voucher_no }}
| @lang('accounting-reports::lang.voucher_no') | {{ $journal->voucher_no }} |
|---|---|
| @lang('accounting-reports::lang.voucher_date') | {{ @format_date($journal->voucher_date) }} |
| @lang('accounting-reports::lang.narration') | {{ $journal->narration }} |
| @lang('accounting-reports::lang.reference') | {{ $journal->reference ?? '-' }} |
| @lang('accounting-reports::lang.location') | {{ $journal->location ? $journal->location->name : 'N/A' }} |
|---|---|
| Source Module | {{ ucfirst($journal->source_module) }} |
| Status | @if($journal->status == 'posted') Posted @else Draft @endif |
| Created By | {{ $journal->createdBy ? $journal->createdBy->user_full_name : 'N/A' }} |
Journal Entry Lines
| @lang('accounting-reports::lang.account_code') | @lang('accounting-reports::lang.account_name') | @lang('accounting-reports::lang.debit') | @lang('accounting-reports::lang.credit') | @lang('accounting-reports::lang.narration') |
|---|---|---|---|---|
| {{ $line->account->code ?? '' }} | {{ $line->account->name ?? '' }} | {{ number_format($line->debit, 2) }} | {{ number_format($line->credit, 2) }} | {{ $line->description ?? '-' }} |
| Total | {{ number_format($totalDebit, 2) }} | {{ number_format($totalCredit, 2) }} | @if(abs($totalDebit - $totalCredit) < 0.01) @lang('accounting-reports::lang.balanced') @else @lang('accounting-reports::lang.not_balanced') @endif | |