@extends('layouts.app') @section('content')
{{ session('error') }}
| Date | Type | Amount | Status | Description |
|---|---|---|---|---|
| {{ $transaction->created_at->format('d M Y') }} | {{ ucfirst($transaction->type) }} | Tsh {{ number_format($transaction->amount, 2) }} | {{ ucfirst($transaction->status) }} | {{ $transaction->type === 'loan' ? ($transaction->description ?? 'Approved Loan') : $transaction->description }} |