{{-- resources/views/admin/financial/transactions/index.blade.php --}} @extends('admin.layouts.app') @section('title', 'Transactions Management') @section('page-title', 'Wallet Transactions') @section('content')
| Reference | User | Wallet | Type | Amount | Status | Payment Method | Date | Actions |
|---|---|---|---|---|---|---|---|---|
{{ $transaction->transaction_reference ?? 'TXN-' . $transaction->id }}
|
@if($transaction->user)
{{ $transaction->user->name }}
@else
No User
@endif
{{ $transaction->user->email }}
|
@if($transaction->wallet)
{{ is_array($transaction->wallet->name) ? ($transaction->wallet->name['en'] ?? 'Wallet') : $transaction->wallet->name }}
@if($transaction->wallet->trip)
@endif
@else
No Wallet
@endif
|
{{ ucfirst($transaction->type) }} | {{ format_currency($transaction->amount, $transaction->wallet->currency ?? 'USD') }} | {{ ucfirst($transaction->status) }} | {{ $transaction->payment_method ? ucfirst(str_replace('_', ' ', $transaction->payment_method)) : 'N/A' }} |
{{ format_admin_date($transaction->created_at, 'M j, Y') }}
{{ format_admin_date($transaction->created_at, 'g:i A') }}
|
@if($transaction->status === 'pending')
@endif
|
Try adjusting your search criteria.