- @lang('hms::lang.booking_prefix')
- @lang('lang_v1.customer_notifications')
- @lang('hms::lang.print_pdf')
{!! Form::open([
'url' => action([\Modules\Hms\Http\Controllers\HmsSettingController::class, 'store']),
'method' => 'post',
'id' => 'hms_setting',
'files' => true,
]) !!}
@php
$settings = json_decode($busines->hms_settings);
@endphp
{!! Form::label('booking_prefix', __('hms::lang.booking_prefix') . '*') !!}
{!! Form::text('booking_prefix', $settings->prefix ?? null, [
'class' => 'form-control',
'required',
'placeholder' => __('hms::lang.booking_prefix'),
]) !!}
{!! Form::submit(__('messages.submit'), ['class' => 'tw-dw-btn tw-dw-btn-success tw-text-white tw-dw-btn-lg']) !!}
{!! Form::close() !!}
@lang('hms::lang.new_booking')
{!! Form::open([
'url' => action([\Modules\Hms\Http\Controllers\HmsSettingController::class, 'store_email_template']),
'method' => 'post',
]) !!}
{!! Form::close() !!}
@lang('lang_v1.available_tags'):
{{ implode(', ', $tags) }}
{!! Form::label('subject', __('lang_v1.email_subject') . ':') !!}
{!! Form::text('subject', empty($template->subject) ? null : $template->subject, [
'class' => 'form-control',
'placeholder' => __('lang_v1.email_subject'),
'id' => 'subject',
]) !!}
{!! Form::label('cc', 'CC:') !!}
{!! Form::email('cc', empty($template->cc) ? null : $template->cc, [
'class' => 'form-control',
'placeholder' => 'CC',
'id' => 'cc',
]) !!}
{!! Form::label('bcc', 'BCC:') !!}
{!! Form::email('bcc', empty($template->bcc) ? null : $template->bcc, [
'class' => 'form-control',
'placeholder' => 'BCC',
'id' => 'bcc',
]) !!}
{!! Form::label('email_body', __('lang_v1.email_body') . ':') !!}
{!! Form::textarea('email_body', empty($template->email_body) ? null : $template->email_body, [
'class' => 'form-control ckeditor',
'placeholder' => __('lang_v1.email_body'),
'id' => 'email_body',
'rows' => 6,
]) !!}
{!! Form::open([
'url' => action([\Modules\Hms\Http\Controllers\HmsSettingController::class, 'post_pdf']),
'method' => 'post',
'id' => 'post_pdf',
'files' => true,
]) !!}
@php
$settings = json_decode($busines->hms_settings);
@endphp
{!! Form::label('footer_text', __('hms::lang.footer_text')) !!}
{!! Form::textarea('footer_text', $settings->booking_pdf->footer_text ?? null, [
'class' => 'form-control',
'placeholder' => __('hms::lang.footer_text'),
]) !!}
{!! Form::submit(__('messages.submit'), ['class' => 'tw-dw-btn tw-dw-btn-success tw-text-white tw-dw-btn-lg']) !!}
{!! Form::close() !!}