@extends('layouts.customer') @section('content')
Transaction {{ ucfirst($transaction->status) }}
{{ $transaction->created_at->format('M d, Y h:i A') }}
Transaction Reference
{{ $transaction->reference }}
@if($transaction->type === 'credit' || $transaction->type === 'deposit') +@else-@endif${{ number_format($transaction->amount, 2) }}
@if($transaction->fee)Fee: ${{ number_format($transaction->fee, 2) }}
Total: ${{ number_format($transaction->amount + $transaction->fee, 2) }}
@endif{{ $transaction->sender_name }}
{{ $transaction->sender_account ?? '' }}
{{ $transaction->recipient_name }}
{{ $transaction->recipient_account ?? '' }}