Transaction Report

Period: {{ $filters['start_date'] }} - {{ $filters['end_date'] }}

Wallet: {{ $filters['wallet'] }}

Type: {{ $filters['type'] }}

Category: {{ $filters['category'] }}

Status: {{ $filters['status'] }}

Total Income

Rp {{ number_format($summary['total_income'], 0, ',', '.') }}

Total Expense

Rp {{ number_format($summary['total_expense'], 0, ',', '.') }}

Net Amount

Rp {{ number_format($summary['net_amount'], 0, ',', '.') }}

Total Transactions

{{ $summary['total_transactions'] }}

Status Summary

{{ $summary['pending_transactions'] }}

Pending

{{ $summary['approved_transactions'] }}

Approved

{{ $summary['rejected_transactions'] }}

Rejected

Transaction Details

@if($transactions->count() > 0)
@foreach($transactions as $transaction) @endforeach
Code Date Wallet Category Type Amount Status Remark
{{ $transaction->code }} {{ $transaction->date->format('d M Y') }} {{ $transaction->wallet->name ?? '-' }} {{ $transaction->category->name ?? '-' }} {{ $transaction->type === 'in' ? 'Income' : 'Expense' }} {{ $transaction->type === 'in' ? '+' : '-' }}Rp {{ number_format($transaction->amount, 0, ',', '.') }} @php $statusColors = [ 'pending' => 'bg-yellow-100 text-yellow-800', 'approved' => 'bg-green-100 text-green-800', 'rejected' => 'bg-red-100 text-red-800', ]; @endphp {{ ucfirst($transaction->status) }} {{ $transaction->remark ?? '-' }}
@else

No transactions found

No transactions match the selected criteria.

@endif
Generated on {{ now()->format('d M Y H:i:s') }}