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

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

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