@extends('layouts.app') @section('title','Transaction History') @section('page-title','Transaction History') @section('content')
| Reference | Type | Amount | Balance After | Mode | Date | Note |
|---|---|---|---|---|---|---|
{{ $txn->reference }} |
@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') }} | |
| No transactions found | ||||||