@if (is_plugin_active('payment')) @php Theme::asset()->container('header')->usePath()->add('jquery', 'plugins/jquery.min.js'); Theme::asset()->container('header')->add('payment-js', 'vendor/core/plugins/payment/js/payment.js'); @endphp {!! apply_filters(PAYMENT_FILTER_HEADER_ASSETS, null) !!} @endif @php Theme::set('pageTitle', __('Booking')); Theme::asset()->container('footer')->usePath()->add('checkout-js', 'js/checkout.js'); @endphp
@csrf @if (is_plugin_active('paypal')) @endif @if (! $customer->id)

{{ __('Already have an account?') }} {{ __(' Login') }}

@endif

{{ __('Add Extra Services') }}

@php $chunks = $services->chunk(ceil($services->count() / 2)); @endphp
@if (count($chunks) > 0)
@foreach($chunks[0] as $service)
@endforeach
@endif @if (count($chunks) > 1)
@foreach($chunks[1] as $service)
@endforeach
@endif
@if (count($foods) > 0)

{{ __('Add Foods') }}

@foreach($foods as $food)
@endforeach
@endif

{{ __('Your Information') }}

{{ __('Required fields are followed by *') }}

@if(! $customer->id)
@endif
@include('plugins/hotel::coupons.partials.form') @if (is_plugin_active('payment') && ($defaultPaymentMethod = PaymentMethods::getDefaultMethod()) && get_payment_setting('status', $defaultPaymentMethod))
    {!! apply_filters(PAYMENT_FILTER_ADDITIONAL_PAYMENT_METHODS, null, [ 'amount' => $total, 'currency' => strtoupper(get_application_currency()->title), 'name' => $room->name, 'selected' => PaymentMethods::getSelectedMethod(), 'default' => $defaultPaymentMethod, 'selecting' => PaymentMethods::getSelectingMethod(), ]) !!} {!! PaymentMethods::render() !!}
@endif {!! apply_filters('form_extra_fields_render', null) !!}
@if ($hotelRules = theme_option('hotel_rules'))

{{ __('Hotel rules') }}

{!! BaseHelper::clean($hotelRules) !!}
@endif @if ( $cancellation = theme_option('cancellation'))

{{ __('Cancellation') }}

{!! BaseHelper::clean($cancellation) !!}
@endif
@if (is_plugin_active('payment')) {!! apply_filters(PAYMENT_FILTER_FOOTER_ASSETS, null) !!} @php Theme::asset()->container('footer') ->add('js-validation', 'vendor/core/core/js-validation/js/js-validation.js', ['jquery']) ->writeContent('checkout-validator', JsValidator::formRequest(Botble\Hotel\Http\Requests\CheckoutRequest::class)) @endphp @endif