@extends('backend.layout') @section('content')
{{ __('Withdraw Requests') }}
@if (count($collection) == 0)

{{ __('NO WITHDRAW REQUESTS FOUND') . '!' }}

@else
@foreach ($collection as $item) @endforeach
# {{ __('Withdraw Id') }} {{ __('Method Name') }} {{ __('Total Amount') }} {{ __('Total Charge') }} {{ __('Total Payable Amount') }} {{ __('Status') }} {{ __('Actions') }}
{{ $loop->iteration }} {{ $item->withdraw_id }} {{ optional($item->method)->name }} {{ $currencyInfo->base_currency_symbol_position == 'left' ? $currencyInfo->base_currency_symbol : '' }} {{ $item->amount }} {{ $currencyInfo->base_currency_symbol_position == 'right' ? $currencyInfo->base_currency_symbol : '' }} {{ $currencyInfo->base_currency_symbol_position == 'left' ? $currencyInfo->base_currency_symbol : '' }} {{ $item->total_charge }} {{ $currencyInfo->base_currency_symbol_position == 'right' ? $currencyInfo->base_currency_symbol : '' }} {{ $currencyInfo->base_currency_symbol_position == 'left' ? $currencyInfo->base_currency_symbol : '' }} {{ $item->payable_amount }} {{ $currencyInfo->base_currency_symbol_position == 'right' ? $currencyInfo->base_currency_symbol : '' }} @if ($item->status == 0) {{ __('Pending') }} @elseif($item->status == 1) {{ __('Approved') }} @elseif($item->status == 2) {{ __('Decline') }} @endif {{ __('View') }} @if ($item->status == 0) {{ __('Approve') }} {{ __('Decline') }} @endif
@csrf
{{ $collection->appends([ 'search' => request()->input('search'), ])->links() }}
@endif
{{-- edit modal --}} @include('backend.withdraw.history.view') @endsection