@extends('layouts.app') @section('page-title', 'Dashboard') @section('content')
| Account | Bank | Type | Current Balance |
|---|---|---|---|
| {{ $a->name }} | {{ $a->bank_name }} | {{ ucfirst($a->account_type) }} | {{ $a->currency }} {{ number_format($a->current_balance, 2) }} |
| Date | Type | Source | Account | Counterparty | Amount |
|---|---|---|---|---|---|
| {{ $t->transaction_date->format('Y-m-d') }} | {{ $t->type }} | {{ $t->source }} | {{ $t->bankAccount->name ?? '—' }} | {{ $t->counterparty ?? '—' }} | {{ $t->type === 'income' ? '+' : '−' }} PKR {{ number_format($t->amount, 2) }} |