@if ($errors->any())
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@if(\Session::has('error'))
{!! \Session::get('error') !!}
@endif
@if(\Session::has('warning'))
{!! \Session::get('warning') !!}
@endif
@if(\Session::has('success'))
{!! \Session::get('success') !!}
@endif
@if(\Session::has('delete'))
{!! \Session::get('delete') !!}
@endif
S.No. |
User |
Type |
Amount (USD) |
Payment Method |
Status |
Date |
Actions |
@isset($all_withdrawal_requests)
@foreach($all_withdrawal_requests as $withdrawal_req)
{{$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}} |
{{ucfirst($withdrawal_req->status)}} |
{{$withdrawal_req->date->format('d-M-Y')}} |
|
@endforeach
@endisset
@endsection
@section('custom-scripts')
@endsection