FleetCart/Modules/Setting/Resources/views/admin/settings/tabs/check_payment.blade.php

12 lines
979 B
PHP
Raw Normal View History

2023-06-11 12:14:03 +00:00
<div class="row">
<div class="col-md-8">
{{ Form::checkbox('check_payment_enabled', trans('setting::attributes.check_payment_enabled'), trans('setting::settings.form.enable_check_payment'), $errors, $settings) }}
{{ Form::text('translatable[check_payment_label]', trans('setting::attributes.translatable.check_payment_label'), $errors, $settings, ['required' => true]) }}
{{ Form::textarea('translatable[check_payment_description]', trans('setting::attributes.translatable.check_payment_description'), $errors, $settings, ['rows' => 3, 'required' => true]) }}
<div class="{{ old('check_payment_enabled', array_get($settings, 'check_payment_enabled')) ? '' : 'hide' }}" id="check-payment-fields">
{{ Form::textarea('translatable[check_payment_instructions]', trans('setting::attributes.translatable.check_payment_instructions'), $errors, $settings, ['rows' => 3, 'required' => true]) }}
</div>
</div>
</div>