@extends('layouts.app') @section('title','Transactions') @section('page-title','Transaction Ledger') @section('content')
| Reference | Member | Type | Amount | Balance After | Mode | Date | By |
|---|---|---|---|---|---|---|---|
{{ $txn->reference }} |
{{ strtoupper(substr($txn->member->name,0,2)) }}
{{ $txn->member->name }}
|
@php $colors = ['deposit'=>'active','withdrawal'=>'rejected','repayment'=>'paid']; @endphp {{ ucfirst($txn->type) }} | {{ $txn->type==='deposit' ? '+' : '-' }}${{ number_format($txn->amount,2) }} | ${{ number_format($txn->balance_after,2) }} | {{ ucfirst(str_replace('_',' ',$txn->payment_mode)) }} | {{ $txn->created_at->format('M d, Y H:i') }} | {{ $txn->recordedBy->name ?? 'System' }} |
| No transactions found | |||||||