@extends('settings.edit') @section('section')
@include('user-settings.setting_menu')
{{ Form::open(['route' => 'user.setting.update', 'id' => 'UserCredentialsSettings', 'files' => true, 'class' => 'form']) }} {{ Form::hidden('sectionName', $sectionName) }}
{{-- PAYPAL --}}
@if (checkFeature('affiliation'))
{{ Form::label('paypal_email', __('messages.setting.paypal_payout_email') . ':') }} {{ Form::email('paypal_email', !empty($setting['paypal_email']) ? $setting['paypal_email'] : null, ['class' => 'form-control mt-2', 'id' => 'paypalEmail', 'placeholder' => __('messages.setting.paypal_payout_email')]) }}
@endif
{{ Form::label('currency', __('messages.setting.currency') . ':', ['class' => 'form-label required']) }}
{{ Form::select('currency_id', getCurrencies(), !empty($setting['currency_id']) ? $setting['currency_id'] : null, ['class' => 'form-control', 'required', 'data-control' => 'select2', 'id' => 'userCurrencySettingId', 'placeholder' => __('messages.setting.select_currency')]) }}
{{ Form::label('subscription_model_time', __('messages.setting.subscription_time') . ':', ['class' => 'form-label']) }} {{ Form::text('subscription_model_time', isset($setting['subscription_model_time']) ? $setting['subscription_model_time'] : 5, ['class' => 'form-control', 'id' => 'subscription_model_time', 'placeholder' => __('messages.setting.subscription_time')]) }}
{{ Form::label('pwaEnable', __('messages.setting.enable_pwa') . ':', ['class' => 'form-label mb-3']) }}
{{ Form::label('inquiryEnable', __('messages.setting.enable_attachment_for_inquiry') . ':', ['class' => 'form-label mb-3']) }}
{{ Form::label('askDetailsBeforeDownloadContact', __('messages.setting.ask_details_before_downloading_contact') . ':', ['class' => 'form-label mb-3']) }}
{{ Form::close() }}
@endsection