@extends('adminLayout::index')
@section('pageContent')
Full details of user wallet transaction: who, when, amount, type, status, and metadata.
{{ __('table.labels.user') }}
{{ $transactionData->wallet->user->name }}
Wallet number
{{ $transactionData->wallet->wallet_number }}
{{ __('table.labels.type') }}
{{ $transactionData->transaction_type->label() }}
Direction
{{ ucfirst($transactionData->direction->value) }}
{{ __('table.labels.status') }}
{{ $transactionData->status->label() }}
Source
{{ $transactionData->metadata['source']['name'] ?? 'N/A' }}
#ID
{{ $transactionData->id }}
Transaction ID
{{ $transactionData->tnx_id }}
{{ __('table.labels.created_at') }}
{{ $transactionData->created_at->getFormatted() }}
@if(!empty($metadata))
@foreach($metadata as $key => $value)
{{ strtoupper($key) }}
@if(is_array($value))
{{ json_encode($value) }}
@else
{{ $value }}
@endif
@endforeach
@endif
@endsection