Process Cashbook Entry

Back to Processing
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@csrf

📝 Entry Details

📋 Cashbook Entries

@forelse($cashbookEntries ?? [] as $entry) @empty @endforelse
Date Cashbook Module Account Description Reference TR Code Currency Amount Actions
{{ $entry->entry_date ? $entry->entry_date->format('d/m/Y') : '' }} {{ optional($entry->cashbook)->account_name ?? 'N/A' }} {{ $entry->module ?? 'N/A' }} {{ optional($entry->account)->account_name ?? 'N/A' }} {{ Str::limit($entry->description, 30) }} {{ $entry->reference ?? '-' }} {{ $entry->tr_code }} {{ optional($entry->currency)->symbol ?? 'N/A' }} {{ number_format($entry->amount, 2) }}
No cashbook entries found. Create your first entry using the form.
@if(isset($cashbookEntries) && $cashbookEntries->count() > 0)
Total Entries: {{ $cashbookEntries->count() }}
Total Debit: {{ number_format($cashbookEntries->where('tr_code', 'DR')->sum('amount'), 2) }}
Total Credit: {{ number_format($cashbookEntries->where('tr_code', 'CR')->sum('amount'), 2) }}
@endif