@extends('salesman.layouts.app') @section('panel_content')
{{translate('Seller Withdraw Request')}}
@foreach($seller_withdraw_requests as $key => $seller_withdraw_request) @php $user = \App\Models\User::find($seller_withdraw_request->user_id); @endphp @if ($user && $user->shop) @endif @endforeach
# {{translate('Date')}} {{translate('Seller')}} {{translate('Total Amount to Pay')}} {{translate('Requested Amount')}} {{ translate('Message') }} {{ translate('Status') }} {{translate('Options')}}
{{ ($key+1) + ($seller_withdraw_requests->currentPage() - 1)*$seller_withdraw_requests->perPage() }} {{ $seller_withdraw_request->created_at }} {{ $user->name }} ({{ $user->shop->name }}) {{ single_price($user->shop->admin_to_pay) }} {{ single_price($seller_withdraw_request->amount) }} {{ $seller_withdraw_request->message }} @if ($seller_withdraw_request->status == 1) {{translate('Paid')}} @elseif ($seller_withdraw_request->status == 2) {{translate('Refuse')}} @else {{translate('Pending')}} @endif
{{ $seller_withdraw_requests->links() }}
@endsection @section('modal') @endsection @section('script') @endsection