@extends('layouts.customer') @section('content')
Back to Transactions {{-- Status Banner --}}
@if($transaction->status === 'successful')
@elseif($transaction->status === 'pending')
@else
@endif

Transaction {{ ucfirst($transaction->status) }}

{{ $transaction->created_at->format('M d, Y h:i A') }}

{{-- Detail Card --}}

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
Type {{ str_replace('_', ' ', $transaction->type) }}
@if(isset($transaction->sender_name))
From

{{ $transaction->sender_name }}

{{ $transaction->sender_account ?? '' }}

@endif @if(isset($transaction->recipient_name))
To

{{ $transaction->recipient_name }}

{{ $transaction->recipient_account ?? '' }}

@endif @if($transaction->description)
Description {{ $transaction->description }}
@endif
Date & Time {{ $transaction->created_at->format('M d, Y h:i:s A') }}
Status {{ ucfirst($transaction->status) }}
@if(isset($transaction->ip_address))
IP Address {{ $transaction->ip_address }}
@endif
Download Receipt Report Issue
@endsection