@extends('admin.layout') @section('custom-style') @endsection @section('content') @php $date = (isset($_GET['date'])) ? $_GET['date'] : ''; @endphp @php $searchText = (isset($_GET['searchText'])) ? $_GET['searchText'] : ''; @endphp

Previous Withdrawal Requests

Previous Withdrawal Requests

@isset($all_withdrawal_requests) @foreach($all_withdrawal_requests as $withdrawal_req) @endforeach @endisset
S.No. User Type Amount (USD) Payment Method Status Date
{{$loop->iteration}} {{$withdrawal_req->users->name}} {{$withdrawal_req->users->surname}} @if($withdrawal_req->type == 'monthly_payout') @php $with_type = "Monthly Payout"; @endphp @elseif($withdrawal_req->type == 'withdrawal') @php $with_type = "Withdrawal"; @endphp @endif {{$with_type}} {{$withdrawal_req->amount}} {{$withdrawal_req->payment_method}} @if($withdrawal_req->status == 'withheld') {{ucfirst($withdrawal_req->status)}} @elseif($withdrawal_req->status == 'approved') {{ucfirst($withdrawal_req->status)}} @elseif($withdrawal_req->status == 'danger') {{ucfirst($withdrawal_req->status)}} @endif {{$withdrawal_req->date->format('d-M-Y')}}
@endsection @section('custom-scripts') @endsection