@extends('admin.layouts.app') @push('styles_top') @endpush @section('content')

{{ $pageTitle }}

@can('admin_payouts_export_excel') {{ trans('admin/main.export_xls') }} @endcan
@if(request()->get('payout') == 'history') @endif @if($payouts->count() > 0) @foreach($payouts as $payout) @if(!empty($payout->userSelectedBank->bank)) @else @endif @if(request()->get('payout') == 'history') @endif @endforeach @endif
{{ 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') }}{{ trans('admin/main.status') }}{{ trans('admin/main.actions') }}
{{ $payout->user->full_name }} {{ $payout->user->role->caption }} {{ handlePrice($payout->amount) }} @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
-{{ $payout->user->mobile }} {{ dateTimeFormat($payout->created_at, 'j M Y H:i') }} {{ trans('public.'.$payout->status) }}
@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
{{trans('admin/main.hints')}}
{{trans('admin/main.payout_list_hint_title_1')}}
{{trans('admin/main.payout_list_hint_description_1')}}
{{trans('admin/main.payout_list_hint_title_2')}}
{{trans('admin/main.payout_list_hint_description_2')}}
@endsection @push('scripts_bottom') @endpush