{{-- ===================== SEARCH / FILTER CARD ===================== --}}
Search Transactions
{{-- Financial Year --}}
{{-- Month --}}
{{-- Search --}}
{{-- ===================== TRANSACTIONS TABLE ===================== --}}
Transaction History
@forelse($transactions as $t) @empty @endforelse
Income / Expense Head Transactions Type Ref. Transactions ID/Money Receipt No. Amount Payment Method Payment Date Actions
{{ $t->type === 'income' ? ($t->income_head_name ?? '—') : ($t->expense_head_name ?? '—') }} {{ ucfirst($t->type) }} {{ $t->transaction_ref_id }} {{ number_format($t->transaction_amount, 2) }} {{ ucfirst($t->payment_method) }} {{ \Carbon\Carbon::parse($t->transaction_date)->format('d M Y') }} @if( ($t->type === 'income' && $t->income_head_id != 1 ) || ($t->type === 'expense' && $t->expense_head_id != 1 ) ) @endif
No Transactions Found
{{-- Pagination --}}
{{ $transactions->appends(request()->query())->links('pagination::bootstrap-5') }}