{{$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')}} |
@endforeach
@endisset