@extends('backend.virtual_card.index') @section('title', __('Awaiting Virtual Card Requests')) @section('virtual_card_header') @php $pendingAmount = $requests->getCollection()->sum(fn ($item) => (float) $item->initial_load_amount); $oldestRequest = $requests->getCollection()->sortBy('created_at')->first(); @endphp
{{ __('Review pending card requests with wallet context, card state, and admin notes.') }}
| {{ __('Request') }} | {{ __('Wallet') }} | {{ __('Card') }} | {{ __('Queue') }} | {{ __('Action') }} |
|---|---|---|---|---|
|
|
{{ number_format((float) $request->initial_load_amount,siteDecimalPlaces()) }} {{ $currency->code ?? 'USD' }}
{{ __('Initial load') }}
{{ $currency->code ?? 'N/A' }}
{{ __('Balance') }}: {{ number_format((float) ($wallet->balance ?? 0),siteDecimalPlaces()) }}
|
{{ $network }}
{{ $kycReady ? __('KYC ready') : __('KYC check') }}
@if($card)
{{ __('Existing card') }}: **** {{ $card->last4 ?: __('Pending') }}
@else
{{ __('New virtual card request') }}
@endif
|
{{ $request->status->label() }}
{{ $requestAgeHours >= 24 ? __('Aged') : ($requestAgeHours >= 6 ? __('Due') : __('Fresh')) }}
{{ $request->created_at->format('Y-m-d H:i') }}
{{ $request->created_at->diffForHumans() }}
@if($request->admin_note)
{{ $request->admin_note }}
@endif
|
|
|
|
||||