@extends('dashboard.layout') @section('content')

Transaction Details

Complete information for transaction #{{ $transection->id }}

Transaction Overview

{{ str_replace('_', ' ', ucfirst($transection->status)) }}

Basic Information

Transaction ID #{{ $transection->transaction_id }}
Internal ID {{ $transection->id }}
Created Date {{ $transection->created_at->format('M d, Y h:i A') }}
Updated Date {{ $transection->updated_at->format('M d, Y h:i A') }}

Payment Information

Payment Method {{ str_replace('_', ' ', $transection->payment_method) }}
Payment Date {{ $transection->payment_date ? \Carbon\Carbon::parse($transection->payment_date)->format('M d, Y') : 'N/A' }}
Payment Reference {{ $transection->payment_reference ?? 'N/A' }}

Sender Information

{{ $transection->sender_name ?? 'N/A' }}

Sender Name

Account Number {{ $transection->sender_account ?? 'N/A' }}
User ID {{ $transection->user_id }}

Project Information

{{ $transection->project->name ?? 'N/A' }}

Project Name

Project ID {{ $transection->project_id }}
Request ID {{ $transection->project->request_id ?? 'N/A' }}

User Information

{{ $transection->user->name ?? 'N/A' }}

Client Name

{{ $transection->user->email ?? 'N/A' }}

User ID {{ $transection->user_id }}
Member Since {{ $transection->user->created_at->format('M d, Y') ?? 'N/A' }}
@if ($transection->notes)

Additional Notes

{{ $transection->notes }}

@endif
@if ($transection->payment_screenshot)

Payment Proof

Payment Screenshot/Receipt

View Full Size
@else

Payment Proof

No payment screenshot available

@endif

Transaction Timeline

Transaction Created

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

@if ($transection->status === 'verified')

Payment Verified

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

@elseif($transection->status === 'failed')

Payment Failed

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

@else

Pending Verification

Waiting for admin approval

@endif
@endsection