@component('components.widget', ['title' => __('hms::lang.add_bookings')])
{!! Form::open([
'url' => action([\Modules\Hms\Http\Controllers\HmsBookingController::class, 'store']),
'method' => 'post',
'id' => 'create_booking',
'files' => true,
]) !!}
@lang('lang_v1.billing_address'):
{!! $walk_in_customer['contact_address'] ?? '' !!}
{!! Form::label('status', __('hms::lang.status') . ':*') !!}
{!! Form::select('status', $status, '', [
'class' => 'form-control status',
'required',
'placeholder' => __('hms::lang.status'),
]) !!}
{!! Form::label('arrival_date', __('hms::lang.arrival_date') . ':') !!}
{!! Form::text(
'arrival_date',
request()->input('booking_date') ? @format_date(request()->input('booking_date')) : null,
[
'class' => 'form-control date_picker',
'placeholder' => __('hms::lang.arrival_date'),
'readonly',
'required',
'id' => 'arrival_date',
],
) !!}
{!! Form::label('arrival_time', __('hms::lang.arrival_time') . ':') !!}
{!! Form::text('arrival_time', null, [
'class' => 'form-control time_picker',
'placeholder' => __('hms::lang.arrival_time'),
'readonly',
'required',
'id' => 'arrival_time',
]) !!}
{!! Form::label('departure_date', __('hms::lang.departure_date') . ':') !!}
{!! Form::text(
'departure_date',
request()->input('booking_date') ? @format_date(request()->input('booking_date')) : null,
[
'class' => 'form-control departure_date',
'placeholder' => __('hms::lang.departure_date'),
'readonly',
'required',
'id' => 'departure_date',
],
) !!}
1 days
@php
$settings = json_decode($busines->hms_settings);
@endphp
{!! Form::label('departure_time', __('hms::lang.departure_time') . ':') !!}
{!! Form::text('departure_time', null, [
'class' => 'form-control time_picker',
'placeholder' => __('hms::lang.departure_time'),
'readonly',
'required',
'id' => 'departure_time',
]) !!}
{!! Form::label('id_proof', ($settings->id_proof_label_1 ?? __('hms::lang.id_proof_1')) . ':') !!}
{!! Form::file('id_proof_1[]', [
'id' => 'id_proof',
'accept' => 'image/*, application/pdf',
'multiple' => true,
'class' => 'upload-element',
'required' => $settings->is_id_proof_1_required ? 'required' : null,
]) !!}
{!! Form::label('id_proof_2', ($settings->id_proof_label_2 ?? __('hms::lang.id_proof_2')) . ':') !!}
{!! Form::file('id_proof_2[]', [
'id' => 'id_proof_2',
'accept' => 'image/*, application/pdf',
'multiple' => true,
'class' => 'upload-element',
'required' => $settings->is_id_proof_2_required ? 'required' : null,
]) !!}
{!! Form::label('id_proof_3', ($settings->id_proof_label_3 ?? __('hms::lang.id_proof_3')) . ':') !!}
{!! Form::file('id_proof_3[]', [
'id' => 'id_proof_3',
'accept' => 'image/*, application/pdf',
'multiple' => true,
'class' => 'upload-element',
'required' => $settings->is_id_proof_3_required ? 'required' : null,
]) !!}
@lang('hms::lang.rooms_and_extras')
| @lang('hms::lang.type') |
@lang('hms::lang.room_no') |
@lang('hms::lang.no_of_adult') |
@lang('hms::lang.no_of_child') |
@lang('hms::lang.price') |
@lang('messages.action') |
| @lang('hms::lang.extras') |
@foreach ($extras as $extra)
|
{{ $extra->name }} / {{ $extra->price }} -
{{ str_replace('_', ' ', $extra->price_per) }}
|
@endforeach