@extends(template() . 'layout.master2') @push('style') @endpush @section('content2')
@forelse ($withdrawlogs as $key => $withdrawlog) @empty @endforelse
{{ __('TRX') }} {{ __('Date') }} {{ __('Method Name') }} {{ __('Withdraw Amount') }} {{ __('Getable Amount') }} {{ __('Charge Type') }} {{ __('Charge') }} {{ __('status') }} {{ __('Action') }}
{{ $key + $withdrawlogs->firstItem() }} {{ __($withdrawlog->created_at->format('d F Y')) }} {{ __($withdrawlog->withdrawMethod->name) }} {{ $general->currency_icon . ' ' . $withdrawlog->withdraw_amount + ($withdrawlog->withdrawMethod->charge_type === 'percent' ? ($withdrawlog->withdraw_amount * $withdrawlog->withdraw_charge) / 100 : $withdrawlog->withdraw_amount) }} {{ $withdrawlog->withdraw_amount }} {{ ucwords($withdrawlog->withdrawMethod->charge_type) }} @if($withdrawlog->withdrawMethod->charge_type == 'percent') {{ $withdrawlog->withdraw_amount * $withdrawlog->withdraw_charge / 100 .' '.$general->site_currency}} @else {{ number_format($withdrawlog->withdraw_charge, 2).' '.@$general->site_currency }} @endif @if ($withdrawlog->status == 1) {{ __('Success') }} @elseif($withdrawlog->status == 2) {{ __('Rejected') }} @else {{ __('Pending') }} @endif
{{ __('No Data Found') }}
@if ($withdrawlogs->hasPages()) {{ $withdrawlogs->links() }} @endif
@endsection @push('script') @endpush