{{-- Search filter --}}
@if (Route::is('admin.withdraw-list'))
@endif
@foreach ($users as $user) @endforeach
@forelse ($withdraws as $index => $withdraw) @empty @endforelse
{{ __('SN') }} {{ __('User') }} {{ __('Method') }} {{ __('Charge') }} {{ __('Total Amount') }} {{ __('Withdraw Amount') }} {{ __('Status') }} {{ __('Action') }}
{{ ++$index }} {{ $withdraw?->user?->name }} {{ $withdraw->method }} {{ currency($withdraw->total_amount - $withdraw->withdraw_amount) }} {{ currency($withdraw->total_amount) }} {{ currency($withdraw->withdraw_amount) }} @if ($withdraw->status == 'approved') {{ __('Success') }} @elseif ($withdraw->status == 'rejected') {{ __('Rejected') }} @else {{ __('Pending') }} @endif
@if (request()->get('par-page') !== 'all')
{{ $withdraws->onEachSide(0)->links() }}
@endif