@extends('layouts.app') @section('title', 'Transaction Details') @section('content')
{{ $transaction->type == 'Credit' ? '💰' : '💸' }}

{{ $transaction->type == 'Credit' ? 'Income' : 'Expense' }}

{{ number_format($transaction->amount, 2) }} {{ $transaction->account?->currency }}
Date {{ $transaction->date->format('d M Y') }}
Account {{ $transaction->account?->name }}
Category {{ $transaction->category?->name }}
Reference {{ $transaction->reference ?? '-' }}
Organization {{ $transaction->organization?->name }}
Recorded By {{ $transaction->recorder?->full_name ?? 'Unknown' }}
@if($transaction->description)
Description {{ $transaction->description }}
@endif
@endsection