@extends($activeTemplate . 'layouts.master') @section('content')
@if (count($deposits) > 0)
@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('Transaction') @lang('Initiated') @lang('Amount') @lang('Status') @lang('Details')
{{ $deposit->trx }} {{ showDateTime($deposit->created_at) }}
{{ diffForHumans($deposit->created_at) }}
{{ showAmount($deposit->amount) }} + {{ showAmount($deposit->charge) }}
{{ showAmount($deposit->amount + $deposit->charge) }}
@php echo $deposit->statusBadge @endphp @if($deposit->method_code >= 1000 && $deposit->method_code <= 5000) @else @endif
{{ __($emptyMessage) }}
@if ($deposits->hasPages()) {{ $deposits->links() }} @endif @else @include($activeTemplate . 'partials.empty', ['message' => 'Deposit not found!']) @endif
@endsection @push('script') @endpush