Monthly Statement โ€” {{ $date->format('F Y') }}
Generated {{ now()->format('F j, Y \a\t H:i') }} ยท {{ $transactions->count() }} transactions
๐Ÿ› Credit Union
University of Liberia
Total Deposits
${{ number_format($transactions->where('type','deposit')->sum('amount'),2) }}
Total Withdrawals
${{ number_format($transactions->where('type','withdrawal')->sum('amount'),2) }}
Repayments Received
${{ number_format($transactions->where('type','repayment')->sum('amount'),2) }}
@forelse($transactions as $txn) @empty @endforelse
ReferenceMemberTypeAmountModeDate
{{ $txn->reference }} {{ $txn->member->name }} {{ ucfirst($txn->type) }} {{ $txn->type==='deposit'?'+':'-' }}${{ number_format($txn->amount,2) }} {{ ucfirst(str_replace('_',' ',$txn->payment_mode)) }} {{ $txn->created_at->format('M d, Y H:i') }}
No transactions this month