@extends($activeTemplate . 'layouts.master') @section('content')
@forelse($deposits as $deposit) @php $symbol = @$deposit->wallet->currency->symbol; @endphp @php $details = []; if ($deposit->method_code >= 1000 && $deposit->method_code <= 5000) { foreach (@$deposit->detail ?? [] as $key => $info) { $details[] = $info; if ($info->type == 'file') { $details[$key]->value = route('user.download.attachment', encrypt(getFilePath('verify') . '/' . $info->value)); } } } @endphp @empty @php echo userTableEmptyMessage('payment history') @endphp @endforelse
@lang('Currency | Wallet') @lang('Gateway | Transaction') @lang('Initiated') @lang('Amount') @lang('Status') @lang('Details')
{{ $symbol }}
{{ @$deposit->wallet->name }} | {{ __(strToUpper(@$deposit->wallet->type_text)) }}
{{ __($deposit->gateway?->name) }}
{{ $deposit->trx }}
{{ showDateTime($deposit->created_at) }}
{{ diffForHumans($deposit->created_at) }}
{{ showAmount($deposit->amount, currencyFormat: false) }} + {{ showAmount($deposit->charge, currencyFormat: false) }}
{{ showAmount($deposit->amount + $deposit->charge, currencyFormat: false) }} {{ $symbol }}
@php echo $deposit->statusBadge @endphp
@if ($deposit->method_code >= 1000 && $deposit->method_code <= 5000) status == Status::PAYMENT_REJECT) data-admin_feedback="{{ $deposit->admin_feedback }}" @endif> @else @endif
@if ($deposits->hasPages()) {{ paginateLinks($deposits) }} @endif
{{-- APPROVE MODAL --}} @endsection @push('script') @endpush