@extends(BaseHelper::getAdminMasterLayoutTemplate()) @section('content')

{{ trans('plugins/payment::payment.payment_methods') }}

{{ trans('plugins/payment::payment.payment_methods_description') }}

@php do_action(BASE_ACTION_META_BOXES, 'top', new \Botble\Payment\Models\Payment) @endphp
{!! Form::open(['route' => 'payments.settings']) !!}
{!! Form::customSelect('default_payment_method', \Botble\Payment\Enums\PaymentMethodEnum::labels(), setting('default_payment_method', Botble\Payment\Enums\PaymentMethodEnum::COD)) !!}
{!! Form::close() !!}

{!! apply_filters(PAYMENT_METHODS_SETTINGS_PAGE, null) !!}
@php $codStatus = setting('payment_cod_status'); @endphp @php $bankTransferStatus = setting('payment_bank_transfer_status'); @endphp
{{ trans('plugins/payment::payment.payment_methods') }}
  • {{ trans('plugins/payment::payment.payment_methods_instruction') }}

@if ($codStatus != 0){{ trans('plugins/payment::payment.use') }}:@endif
@if ($bankTransferStatus != 0) {{ trans('plugins/payment::payment.use') }}:@endif
@php do_action(BASE_ACTION_META_BOXES, 'main', new \Botble\Payment\Models\Payment) @endphp
@php do_action(BASE_ACTION_META_BOXES, 'advanced', new \Botble\Payment\Models\Payment) @endphp
{!! Form::modalAction('confirm-disable-payment-method-modal', trans('plugins/payment::payment.deactivate_payment_method'), 'info', trans('plugins/payment::payment.deactivate_payment_method_description'), 'confirm-disable-payment-method-button', trans('plugins/payment::payment.agree')) !!} @stop