@extends('layouts.app') @section('title', 'Transactions') @section('content')
View and record financial transactions
| Date | Type | Status | Account | Category | Amount | Reference | Actions |
|---|---|---|---|---|---|---|---|
| {{ $transaction->date->format('d M Y') }} | {{ $transaction->type == 'Credit' ? '+ Income' : '- Expense' }} | @if($transaction->status === 'Pending') ⏳ Pending @elseif($transaction->status === 'Approved') ✅ Approved @else ❌ Rejected @endif | {{ $transaction->account?->name }} | {{ $transaction->category?->name }} | {{ number_format($transaction->amount, 2) }} | {{ $transaction->reference ?? '-' }} | |
| No transactions found. | |||||||