@extends($activeTemplate . 'layouts.master') @section('content')
@forelse($deposits as $deposit) @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 @endforelse
@lang('Gateway | Transaction') @lang('Initiated') @lang('Amount') @lang('Conversion') @lang('Status') @lang('Details')
@if ($deposit->method_code < 5000) {{ __(@$deposit->gateway->name) }} @else @lang('Google Pay') @endif
{{ $deposit->trx }}
{{ showDateTime($deposit->created_at) }}
{{ diffForHumans($deposit->created_at) }}
{{ showAmount($deposit->amount) }} + {{ showAmount($deposit->charge) }}
{{ showAmount($deposit->amount + $deposit->charge) }}
{{ showAmount(1) }} = {{ showAmount($deposit->rate, 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> Details @else @endif
{{ __($emptyMessage) }}
@if ($deposits->hasPages()) @endif
{{-- APPROVE MODAL --}} @endsection @push('script') @endpush