@extends($activeTemplate . 'layouts.master') @section('content')
@lang('Payment History')
@if ($deposits->count() == 0) @else
@foreach ($deposits as $deposit) @php $details = $deposit->detail != null ? json_encode($deposit->detail) : null; @endphp @endforeach
@lang('Gateway | Transaction') @lang('Initiated') @lang('Amount') @lang('Conversion') @lang('Status') @lang('Details')
{{ __($deposit->gateway ? $deposit->gateway?->name : 'Account Balance') }}
{{ $deposit->trx }}
{{ showDateTime($deposit->created_at) }}
{{ diffForHumans($deposit->created_at) }}
{{ showAmount($deposit->amount) }} + {{ showAmount($deposit->charge) }}
{{ showAmount($deposit->amount + $deposit->charge) }}
1 {{ __(gs('cur_text')) }} = {{ showAmount($deposit->gateway ? $deposit->rate : 1, currencyFormat: false) }} {{ __($deposit->method_currency) }}
{{ showAmount($deposit->final_amount, currencyFormat: false) }} {{ __($deposit->method_currency) }}
@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
@endif
@if ($deposits->hasPages())
@endif
{{-- APPROVE MODAL --}} @endsection @push('script') @endpush