@php($lbl_app_name = __('system.fields.app_name'))
{!! Form::text('app_name', config('app.name'), [ 'class' => 'form-control', 'id' => 'app_name', 'placeholder' => $lbl_app_name, 'required' => 'true', 'maxlength' => 50, 'minlength' => 1, 'pattern' => "/^[a-zA-Z0-9 ]+$/i", 'data-pristine-required-message' => __('validation.required', ['attribute' => strtolower($lbl_app_name)]), 'data-pristine-pattern-message' => __('validation.custom.invalid', ['attribute' => strtolower($lbl_app_name)]), 'data-pristine-minlength-message' => __('validation.custom.invalid', ['attribute' => strtolower($lbl_app_name)]), ]) !!} @error('app_name')
{{ $message }}
@enderror
@php($lbl_app_currency = __('system.fields.select_app_currency'))
{!! Form::select('app_currency', getAllCurrencies(), config('app.currency'), [ 'class' => 'form-select choice-picker', 'id' => 'input-app_currency', 'data-remove_attr' => 'data-type', 'required' => 'true', ]) !!} @error('app_currency')
{{ $message }}
@enderror
{{ __('system.fields.app_date_time_settings') }}
@php($lbl_app_timezone = __('system.fields.app_timezone'))
{!! Form::select('app_timezone', App\Http\Controllers\Restaurant\EnvSettingController::GetTimeZones(), config('app.timezone'), [ 'class' => 'form-control form-select', 'id' => 'input-app_timezone', 'required' => 'true', ]) !!} @error('app_timezone')
{{ $message }}
@enderror
@php($lbl_app_date_time_format = __('system.fields.app_date_time_format'))
{!! Form::select('app_date_time_format', App\Http\Controllers\Restaurant\EnvSettingController::GetDateFormat(), config('app.date_time_format'), [ 'class' => 'form-control form-select', 'id' => 'input-app_date_time_format', 'required' => 'true', ]) !!} @error('app_date_time_format')
{{ $message }}
@enderror
@php($lbl_app_defult_language = __('system.fields.select_app_defult_language'))
{!! Form::select('app_defult_language', $languages_array, config('app.app_locale'), [ 'class' => 'form-control form-select', 'id' => 'input-app_defult_language', 'required' => 'true', ]) !!} @error('app_defult_language')
{{ $message }}
@enderror
{{ __('system.fields.app_smtp_settings') }}
@php($lbl_app_smtp_host = __('system.fields.app_smtp_host'))
{!! Form::text('app_smtp_host', config('mail.mailers.smtp.host'), [ 'class' => 'form-control', 'id' => 'input-app_smtp_host', 'required' => 'true', 'pattern' => '/^[a-zA-Z0-9_-]+[.]{1}[a-zA-Z0-9_-]+[.]{1}[a-zA-Z0-9_-]+$/', ]) !!} @error('app_smtp_host')
{{ $message }}
@enderror
@php($lbl_app_smtp_port = __('system.fields.app_smtp_port'))
{!! Form::select('app_smtp_port', ['25' => 25, '465' => 465, '587' => 587, '2525' => 2525], config('mail.mailers.smtp.port'), [ 'class' => 'form-control form-select', 'id' => 'input-app_smtp_port', 'required' => 'true', ]) !!} @error('app_smtp_port')
{{ $message }}
@enderror
@php($lbl_app_smtp_encryption = __('system.fields.app_smtp_encryption'))
{!! Form::select('app_smtp_encryption', ['ssl' => 'ssl', 'tls' => 'tls', 'STARTTLS' => 'STARTTLS'], config('mail.mailers.smtp.encryption'), [ 'class' => 'form-control form-select', 'id' => 'input-app_smtp_encryption', 'required' => 'true', ]) !!} @error('app_smtp_encryption')
{{ $message }}
@enderror
@php($lbl_app_smtp_username = __('system.fields.app_smtp_username'))
{!! Form::text('app_smtp_username', config('mail.mailers.smtp.username'), [ 'class' => 'form-control pristine-custom-pattern', 'id' => 'app_smtp_username', 'placeholder' => $lbl_app_smtp_username, 'required' => 'true', 'custom-pattern' => '^((?!\${.*}).)*$', 'maxlength' => 50, 'minlength' => 2, 'data-pristine-required-message' => __('validation.required', ['attribute' => strtolower($lbl_app_smtp_username)]), 'data-pristine-pattern-message' => __('validation.custom.invalid', ['attribute' => strtolower($lbl_app_smtp_username)]), 'data-pristine-minlength-message' => __('validation.custom.invalid', ['attribute' => strtolower($lbl_app_smtp_username)]), ]) !!} @error('app_smtp_username')
{{ $message }}
@enderror
@php($lbl_app_smtp_password = __('system.fields.app_smtp_password'))
@error('app_smtp_username')
{{ $message }}
@enderror
@php($lbl_app_smtp_from_address = __('system.fields.app_smtp_from_address'))
{!! Form::email('app_smtp_from_address', config('mail.mailers.smtp.username'), [ 'class' => 'form-control ', 'id' => 'app_smtp_from_address', 'placeholder' => $lbl_app_smtp_from_address, 'required' => 'true', 'maxlength' => 50, 'minlength' => 2, 'data-pristine-required-message' => __('validation.required', ['attribute' => strtolower($lbl_app_smtp_from_address)]), 'data-pristine-email-message' => __('validation.custom.invalid', ['attribute' => strtolower($lbl_app_smtp_from_address)]), 'data-pristine-minlength-message' => __('validation.custom.invalid', ['attribute' => strtolower($lbl_app_smtp_from_address)]), ]) !!} @error('app_smtp_from_address')
{{ $message }}
@enderror
@php($lbl_app_dark_logo = __('system.fields.logo'))
@error('app_dark_logo')
{{ $message }}
@enderror
@php($lbl_app_light_logo = __('system.fields.app_dark_logo'))
@error('app_light_logo')
{{ $message }}
@enderror
@php($lbl_app_favicon_logo = __('system.fields.app_favicon_logo'))
@error('app_favicon_logo')
{{ $message }}
@enderror