{{ trans('admin/main.user') }} | {{ trans('admin/main.role') }} | {{ trans('admin/main.payout_amount') }} | {{ trans('admin/main.bank') }} | {{ trans('admin/main.phone') }} | {{ trans('admin/main.last_payout_date') }} | @if(request()->get('payout') == 'history'){{ trans('admin/main.status') }} | @endif{{ trans('admin/main.actions') }} | |
---|---|---|---|---|---|---|---|---|
{{ $payout->user->full_name }} | {{ $payout->user->role->caption }} | {{ handlePrice($payout->amount) }} | @if(!empty($payout->userSelectedBank->bank))
@php
$bank = $payout->userSelectedBank->bank;
@endphp
{{ $bank->title }}
{{-- For Modal --}}
@foreach($bank->specifications as $specification)
@php
$selectedBankSpecification = $payout->userSelectedBank->specifications->where('user_selected_bank_id', $payout->userSelectedBank->id)->where('user_bank_specification_id', $specification->id)->first();
@endphp
@if(!empty($selectedBankSpecification))
@endif
@endforeach
|
@else
- | @endif{{ $payout->user->mobile }} | {{ dateTimeFormat($payout->created_at, 'j M Y H:i') }} | @if(request()->get('payout') == 'history'){{ trans('public.'.$payout->status) }} | @endif
@if(request()->get('payout') == 'requests' and $payout->status === \App\Models\Payout::$waiting)
@can('admin_payouts_payout')
@include('admin.includes.delete_button',[
'url' => getAdminPanelUrl().'/financial/payouts/'. $payout->id .'/payout',
'tooltip' => trans('admin/main.payout'),
'btnClass' => 'ml-2',
'btnIcon' => 'fa-credit-card'
])
@endcan
@can('admin_payouts_reject')
@include('admin.includes.delete_button',[
'url' => getAdminPanelUrl().'/financial/payouts/'. $payout->id .'/reject',
'tooltip' => trans('public.reject'),
'btnIcon' => 'fa-times-circle',
'btnClass' => 'ml-2',
])
@endcan
@endif
|