@extends('admin.layouts.app') @section('panel')
@if(request()->routeIs('admin.deposit.list') || request()->routeIs('admin.deposit.method') || request()->routeIs('admin.users.deposits') || request()->routeIs('admin.deposit.dateSearch') || request()->routeIs('admin.users.deposits.method'))

{{ __($general->cur_sym) }}{{ $deposits->where('status',1)->sum('amount') }}

@lang('Successful Deposit')

{{ __($general->cur_sym) }}{{ $deposits->where('status',2)->sum('amount') }}

@lang('Pending Deposit')

{{ __($general->cur_sym) }}{{ $deposits->where('status',3)->sum('amount') }}

@lang('Rejected Deposit')

@endif
@if(!request()->routeIs('admin.users.deposits') && !request()->routeIs('admin.users.deposits.method')) @endif @if(request()->routeIs('admin.deposit.pending') || request()->routeIs('admin.deposit.approved')) @elseif(request()->routeIs('admin.deposit.list') || request()->routeIs('admin.deposit.search') || request()->routeIs('admin.users.deposits') || request()->routeIs('admin.deposit.method') || request()->routeIs('admin.deposit.dateSearch') || request()->routeIs('admin.users.deposits.method')) @endif @forelse($deposits as $deposit) @php $details = ($deposit->detail != null) ? json_encode($deposit->detail) : null; @endphp @if(!request()->routeIs('admin.users.deposits') && !request()->routeIs('admin.users.deposits.method')) @endif @if(request()->routeIs('admin.deposit.approved') || request()->routeIs('admin.deposit.pending')) @elseif(request()->routeIs('admin.deposit.list') || request()->routeIs('admin.deposit.search') || request()->routeIs('admin.users.deposits') || request()->routeIs('admin.deposit.method') || request()->routeIs('admin.deposit.dateSearch') || request()->routeIs('admin.users.deposits.method')) @endif @empty @endforelse
@lang('Date') @lang('Trx Number')@lang('Username')@lang('Method') @lang('Amount') @lang('Charge') @lang('After Charge') @lang('Rate') @lang('Payable')@lang('Action')@lang('Status')
{{ showDateTime($deposit->created_at) }} {{ $deposit->trx }}{{ $deposit->user->username }} @if(request()->routeIs('admin.users.deposits') || request()->routeIs('admin.users.deposits.method')) {{ __($deposit->gateway->name) }} @else {{ __($deposit->gateway->name) }} @endif {{ getAmount($deposit->amount ) }} {{ __($general->cur_text) }} {{ getAmount($deposit->charge)}} {{ __($general->cur_text) }} {{ getAmount($deposit->amount+$deposit->charge) }} {{ __($general->cur_text) }} {{ getAmount($deposit->rate) }} {{__($deposit->method_currency)}} {{ getAmount($deposit->final_amo) }} {{__($deposit->method_currency)}} @if($deposit->status == 2) @lang('Pending') @elseif($deposit->status == 1) @lang('Approved') @elseif($deposit->status == 3) @lang('Rejected') @endif
{{ __($empty_message) }}
@endsection @push('breadcrumb-plugins') @if(!request()->routeIs('admin.users.deposits') && !request()->routeIs('admin.users.deposits.method'))
@endif @endpush @push('script-lib') @endpush @push('script') @endpush