@extends(getTemplate() .'.panel.layouts.panel_layout') @push('styles_top') @endpush @section('content') {{-- Cashback Alert --}} @if(!empty($cashbackRules) and count($cashbackRules)) @foreach($cashbackRules as $cashbackRule)
{{ trans('update.get_cashback') }}
{{ trans('update.by_charging_your_wallet_will_get_amount_as_cashback',['amount' => ($cashbackRule->amount_type == 'percent' ? "%{$cashbackRule->amount}" : handlePrice($cashbackRule->amount))]) }}
@endforeach @endif @if(!empty($registrationBonusAmount))
money
{{ trans('update.unlock_registration_bonus') }} {{ trans('update.your_wallet_includes_amount_registration_bonus_This_amount_is_locked',['amount' => handlePrice($registrationBonusAmount)]) }}
{{ trans('update.view_more') }}
@endif

{{ trans('financial.account_summary') }}

{{ $accountCharge ? handlePrice($accountCharge) : 0 }} {{ trans('financial.account_charge') }}
{{ $readyPayout ? handlePrice($readyPayout) : 0 }} {{ trans('financial.ready_to_payout') }}
{{ $totalIncome ? handlePrice($totalIncome) : 0 }} {{ trans('financial.total_income') }}
@if (\Session::has('msg'))
@endif @php $showOfflineFields = false; if ($errors->has('date') or $errors->has('referral_code') or $errors->has('account') or !empty($editOfflinePayment)) { $showOfflineFields = true; } $isMultiCurrency = !empty(getFinancialCurrencySettings('multi_currency')); $userCurrency = currency(); $invalidChannels = []; @endphp

{{ trans('financial.select_the_payment_gateway') }}

{{csrf_field()}} @if($errors->has('gateway'))
{{ $errors->first('gateway') }}
@endif
@foreach($paymentChannels as $paymentChannel) @if(!$isMultiCurrency or (!empty($paymentChannel->currencies) and in_array($userCurrency, $paymentChannel->currencies))) @else @php $invalidChannels[] = $paymentChannel; @endphp @endif @endforeach @if(!empty(getOfflineBankSettings('offline_banks_status'))) @endif
@if(!empty($invalidChannels))

{{ trans('update.disabled_payment_gateways') }}

{{ trans('update.disabled_payment_gateways_hint') }}

@foreach($invalidChannels as $invalidChannel) @endforeach
@endif

{{ trans('financial.finalize_payment') }}

{{----}} {{ $currency }}
@error('amount') {{ $message }} @enderror
@error('account')
{{ $message }}
@enderror
@error('referral_code')
{{ $message }}
@enderror
@error('date')
{{ $message }}
@enderror
@error('attachment')
{{ $message }}
@enderror

{{ trans('financial.bank_accounts_information') }}

@foreach($offlineBanks as $offlineBank)
{{ trans('public.name') }}: {{ $offlineBank->title }}
@foreach($offlineBank->specifications as $specification)
{{ $specification->name }}: {{ $specification->value }}
@endforeach
@endforeach
@if($offlinePayments->count() > 0)

{{ trans('financial.offline_transactions_history') }}

@foreach($offlinePayments as $offlinePayment) @endforeach
{{ trans('financial.bank') }} {{ trans('admin/main.referral_code') }} {{ trans('panel.amount') }} ({{ $currency }}) {{ trans('update.attachment') }} {{ trans('public.status') }} {{ trans('public.controls') }}
@if(!empty($offlinePayment->offlineBank)) {{ $offlinePayment->offlineBank->title }} @else - @endif {{ dateTimeFormat($offlinePayment->pay_date, 'j M Y H:i') }}
{{ $offlinePayment->reference_number }} {{ handlePrice($offlinePayment->amount, false) }} @if(!empty($offlinePayment->attachment)) {{ trans('public.view') }} @else --- @endif @switch($offlinePayment->status) @case(\App\Models\OfflinePayment::$waiting) {{ trans('public.waiting') }} @break @case(\App\Models\OfflinePayment::$approved) {{ trans('financial.approved') }} @break @case(\App\Models\OfflinePayment::$reject) {{ trans('public.rejected') }} @break @endswitch @if($offlinePayment->status != 'approved') @endif
@else @include(getTemplate() . '.includes.no-result',[ 'file_name' => 'offline.png', 'title' => trans('financial.offline_no_result'), 'hint' => nl2br(trans('financial.offline_no_result_hint')), ]) @endif @endsection @push('scripts_bottom') @endpush