{{__('Withdraw Request')}}
@foreach($withdraws as $withdraw)
@if($withdraw->user)
@endif
@endforeach
{{$withdraws->links()}}
{{__('Transaction ID')}} | {{__('User')}} | {{__('Payment Method')}} | {{__('Request Date')}} | {{__('Amount')}} | {{__('Action')}} |
---|---|---|---|---|---|
{{$withdraw->transection_id}} |
{{__('Name')}}: {{@$withdraw->user->student->name ?? @$withdraw->user->instructor->name}}
{{__('Email')}}: {{@$withdraw->user->email}}
{{__('Phone')}}: {{@$withdraw->user->student->phone_number ?? @$withdraw->user->instructor->phone_number}}
{{__('User Type')}}:
@if(@$withdraw->user->role == 2 && @$withdraw->user->is_affiliator == 1)
{{ __('Instructor & Affiliator') }}
@elseif(@$withdraw->user->role == 3 && @$withdraw->user->is_affiliator == 1)
{{ __('Student & Affiliator') }}
@elseif(@$withdraw->user->role == 2)
{{ __('Instructor') }}
@endif
|
{!! getBeneficiaryDetails($withdraw->beneficiary) !!} | {{$withdraw->created_at->format(get_option('app_date_format'))}} | @if(get_currency_placement() == 'after') {{$withdraw->amount}} {{ get_currency_symbol() }} @else {{ get_currency_symbol() }} {{$withdraw->amount}} @endif |