@php $statusColors = [ 'pending' => ['bg-warning text-dark', 'fa-clock', 'Pending Review'], 'approved' => ['bg-success', 'fa-check-circle', 'Approved'], 'rejected' => ['bg-danger', 'fa-times-circle', 'Rejected'], ]; $status = $statusColors[$transfer->status] ?? ['bg-secondary', 'fa-question-circle', 'Unknown']; @endphp
Your Submitted Receipt
Submitted {{ $transfer->created_at?->diffForHumans() ?? 'recently' }}
{{ $status[2] }}
{{-- Payment Note --}} @if($transfer->payment_note)
Payment Note
{{ $transfer->payment_note }}
@endif {{-- Receipt Download --}}
Receipt File
Download Receipt
{{-- Reviewed Info --}} @if($transfer->reviewed_at)
Reviewed
{{ $transfer->reviewed_at->format('M d, Y H:i') }}
@endif {{-- Rejection Reason --}} @if($transfer->status === 'rejected' && $transfer->rejection_reason)
Rejection Reason
{{ $transfer->rejection_reason }}
@endif {{-- Approval Notice --}} @if($transfer->status === 'approved')
Your payment has been approved. Your order will be processed shortly.
@endif