@if($tempEntries->isEmpty())
No journal entries available.
@else
| Date |
Account Code |
Account Name |
Narration |
DR |
CR |
Status |
Action |
@foreach($tempEntries as $entry)
| {{ date('d/m/Y', strtotime($entry->date)) }} |
{{ $entry->account_code }} |
{{ $entry->account_name }} |
{{ $entry->description }} |
{{ $entry->tr_code === 'DR' ? number_format($entry->amount, 2) : '' }} |
{{ $entry->tr_code === 'CR' ? number_format($entry->amount, 2) : '' }} |
Open Journal |
|
@endforeach
@endif