@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
{{csrf_field()}}

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

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

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

@if($errors->has('gateway'))
{{ $errors->first('gateway') }}
@endif
@foreach($paymentChannels as $paymentChannel) @if(!$isMultiCurrency or (!empty($paymentChannel->currencies) and in_array($userCurrency, $paymentChannel->currencies)))
class_name) checked @endif value="{{ $paymentChannel->class_name }}">
@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)
{{ $invalidChannel->title }}
@endforeach
@endif

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

@foreach($offlineBanks as $offlineBank)
{{ $offlineBank->title }}
@foreach($offlineBank->specifications as $specification)
{{ $specification->name }}: {{ $specification->value }}
@endforeach
@endforeach

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

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