Clients' Withheld Funds
S.No. | User | Staff No. | ID No. | Type | Amount (USD) | Preferred Payment method | Actions |
---|---|---|---|---|---|---|---|
{{$loop->iteration}} | {{optional($client->users)->name}} {{optional($client->users)->surname}} | {{optional($client->staff_details)->staff_number}} | {{optional($client->staff_details)->id_number}} | @if($client->type == 'monthly_payout') @php $with_type = "Monthly Payout"; @endphp @elseif($client->type == 'withdrawal') @php $with_type = "Withdrawal"; @endphp @endif {{$with_type}} | {{$client->amount}} |
@isset(optional($client->preferred_payment_method)->preferred)
@if(optional($client->preferred_payment_method)->preferred == 'paypal')
@php $payment_method = "Paypal"; @endphp
@elseif(optional($client->preferred_payment_method)->preferred == 'mobile-money')
@php $payment_method = "Mobile Money"; @endphp
@elseif(optional($client->preferred_payment_method)->preferred == 'bank-transfer')
@php $payment_method = "Bank Transfer"; @endphp
@elseif(optional($client->preferred_payment_method)->preferred == 'bankers-cheque')
@php $payment_method = "Banker's Cheque"; @endphp
@else
@php $payment_method = ""; @endphp
@endif
{{ $payment_method }}
@else
Not Set Up @endisset |
@if($client->type == 'monthly_payout') @php $with_type = "Monthly Payout"; @endphp Approve Monthly Payout @elseif($client->type == 'withdrawal') @php $with_type = "Withdrawal"; @endphp Aprrove Withdrawal @endif Decline {{ $with_type }} |