@t('Booking Settings')

{!! Form::label('data[Settings][active]', t('Booking Form Type')) !!} {!! Form::select( 'data[Settings][active]', [ -1 => t('Disabled'), 0 => t('Enquiry Only'), 1 => t('Booking & Enquiry'), 2 => t('Booking Only'), 3 => t('Pending Booking') ], (isset($data->Settings->active) ? $data->Settings->active : 0) ) !!}
{!! Form::label('data[Settings][content][fee]', t('Operational cost')) !!} {!! Form::select( 'data[Settings][content][fee]', [ 'venue' => t( 'Pay our %s%% fee (min %s per sale) yourself from your sales', [ $paymentRules->fee, amount($paymentRules->min) ] ), 'user' => t( 'Pass our %s%% fee (min %s per sale) onto the customer', [ $paymentRules->fee, amount($paymentRules->min) ] ) ], (isset($data->Settings->content->fee) ? $data->Settings->content->fee : 'venue') ) !!}
@if ( isset($data->Settings->content->financial->vat_number) && $data->Settings->content->financial->vat_number && isset($data->Settings->content->fee) && $data->Settings->content->fee == 'user' )
{!! Form::label('data[Settings][content][fee_vat]', t('Vat on fee')) !!} {!! Form::select( 'data[Settings][content][fee_vat]', [ 'venue' => t('VAT on the fee is paid from the venue'), 'user' => t('VAT on the fee is paid by the customer') ], (isset($data->Settings->content->fee_vat) ? $data->Settings->content->fee_vat : 'venue') ) !!}
@endif
{!! Form::label('data[Settings][content][tips]', t('Allow gratuity fee on checkout')) !!} {!! Form::select( 'data[Settings][content][tips]', [ 0 => t('No gratuity fee'), 1 => t('Allow Users to leave gratuity fee') ], (isset($data->Settings->content->tips) ? $data->Settings->content->tips : 0) ) !!}
{!! Form::label('data[Settings][content][guest_checkout]', t('Guest Checkout')) !!} {!! Form::select( 'data[Settings][content][guest_checkout]', [ 0 => t('Disable guest checkout'), 1 => t('Enable guest checkout'), 2 => t('Force guest checkout'), 3 => t('Force guest checkout - separate page') ], (isset($data->Settings->content->guest_checkout) ? $data->Settings->content->guest_checkout : 0) ) !!}
@if (isset($data->Settings->content->guest_checkout) && $data->Settings->content->guest_checkout >= 1)
{!! Form::label( 'data[Settings][content][guest_checkout_password]', t('Guests checkout set password') ) !!}
{!! Form::radio( 'data[Settings][content][guest_checkout_password]', 1, ( isset($data->Settings->content->guest_checkout_password) && $data->Settings->content->guest_checkout_password == 1 ? true : false ) ) !!}
{!! Form::radio( 'data[Settings][content][guest_checkout_password]', 0, ( !isset($data->Settings->content->guest_checkout_password) || (int)$data->Settings->content->guest_checkout_password === 0 ? true : false ) ) !!}
@endif
{!! Form::label( 'data[Settings][payment_deadline]', t('Payment Deadline (in days)') ) !!} {!! Form::number( 'data[Settings][payment_deadline]', ( isset($data->Settings->payment_deadline) ? $data->Settings->payment_deadline : null ), [ 'placeholder' => t('on the date of the event') ] ) !!}
{{--
{!! Form::label( 'data[Settings][content][goingout]', t('Goingout snippet') ) !!}
{!! Form::radio( 'data[Settings][content][goingout]', 1, ( isset($data->Settings->content->goingout) && $data->Settings->content->goingout == 1 ? true : false ) ) !!}
{!! Form::radio( 'data[Settings][content][goingout]', 0, ( !isset($data->Settings->content->goingout) || (int)$data->Settings->content->goingout === 0 ? true : false ) ) !!}
--}}
{!! Form::label( 'data[Settings][content][user_details]', t('Extended user details') ) !!}
{!! Form::radio( 'data[Settings][content][user_details]', 1, ( isset($data->Settings->content->user_details) && $data->Settings->content->user_details == 1 ? true : false ) ) !!}
{!! Form::radio( 'data[Settings][content][user_details]', 0, ( !isset($data->Settings->content->user_details) || (int)$data->Settings->content->user_details === 0 ? true : false ) ) !!}
{!! Form::label( 'data[Settings][content][guests]', t('Guests Details') ) !!}
{!! Form::radio( 'data[Settings][content][guests]', 1, ( isset($data->Settings->content->guests) && $data->Settings->content->guests == 1 ? true : false ) ) !!}
{!! Form::radio( 'data[Settings][content][guests]', 0, ( !isset($data->Settings->content->guests) || (int)$data->Settings->content->guests === 0 ? true : false ) ) !!}
{!! Form::label( 'data[Settings][content][tickets]', t('Ticket details') ) !!}
{!! Form::radio( 'data[Settings][content][tickets]', 1, ( isset($data->Settings->content->tickets) && $data->Settings->content->tickets == 1 ? true : false ) ) !!}
{!! Form::radio( 'data[Settings][content][tickets]', 0, ( !isset($data->Settings->content->tickets) || (int)$data->Settings->content->tickets === 0 ? true : false ) ) !!}
@if ($venue->type == 'Bowling')
{!! Form::label( 'data[Settings][content][bowling_guest_layout]', t('Bowling guest details') ) !!} {!! Form::select( 'data[Settings][content][bowling_guest_layout]', [ 'bowling_guest' => t('Extended Guest Details'), 'guest' => t('Simple Guest Details') ], ( isset($data->Settings->content->order_report_type) ? $data->Settings->content->order_report_type : 'order' ) ) !!}
@endif
{!! Form::label( 'data[Settings][content][notification][order]', t('Send notification on each order') ) !!}
{!! Form::radio( 'data[Settings][content][notification][order]', 1, ( isset($data->Settings->content->notification->order) && $data->Settings->content->notification->order == 1 ? true : false ) ) !!}
{!! Form::radio( 'data[Settings][content][notification][order]', 0, ( !isset($data->Settings->content->notification->order) || (int)$data->Settings->content->notification->order === 0 ? true : false ) ) !!}
{!! Form::label( 'data[Settings][notification]', t('Send report of orders when event starts') ) !!}
{!! Form::radio( 'data[Settings][notification]', 1, ( isset($data->Settings->notification) && $data->Settings->notification == 1 ? true : false ) ) !!}
{!! Form::radio( 'data[Settings][notification]', 0, ( !isset($data->Settings->notification) || (int)$data->Settings->notification === 0 ? true : false ) ) !!}
{!! Form::label( 'data[Settings][notification]', t('Show change date button in booking process') ) !!}
{!! Form::radio( 'data[Settings][content][change_date_button]', 1, ( isset($data->Settings->content->change_date_button) && (int)$data->Settings->content->change_date_button == 1 ? true : false ) ) !!}
{!! Form::radio( 'data[Settings][content][change_date_button]', 0, ( !isset($data->Settings->content->change_date_button) || (int)$data->Settings->content->change_date_button === 0 ? true : false ) ) !!}
{!! Form::label( 'data[Settings][content][order_report_type]', t('Order Report Format') ) !!} {!! Form::select( 'data[Settings][content][order_report_type]', [ 'order' => t('Group items by order'), 'category' => t('Group items by category') ], ( isset($data->Settings->content->order_report_type) ? $data->Settings->content->order_report_type : 'order' ) ) !!}
{{--
{!! Form::label( 'data[Settings][content][report_start_time]', t('Report Start Time') ) !!} {!! Form::select( 'data[Settings][content][report_start_time]', [ 0 => t('0:00'), 6 => t('6:00 AM') ], ( isset($data->Settings->content->report_start_time) ? $data->Settings->content->report_start_time : null ) ) !!}
--}} @if ( isset($data->Settings->content->resource_management) && $data->Settings->content->resource_management )
{!! Form::label( 'data[Settings][content][booking_management_view]', t('Bookings Management View') ) !!} {!! Form::select( 'data[Settings][content][booking_management_view]', [ 'resourceTimelineDay' => t('Resources in rows, Time in columns'), 'resourceTimeGrid' => t('Resources in columns, Time in rows') ], ( isset($data->Settings->content->booking_management_view) ? $data->Settings->content->booking_management_view : 'resourceTimelineDay' ) ) !!}
{!! Form::label( 'data[Settings][content][booking_management_intervals]', t('Bookings Management Intervals') ) !!} {!! Form::select( 'data[Settings][content][booking_management_intervals]', [ '00:05:00' => t('5 min intervals'), '00:10:00' => t('10 min intervals'), '00:15:00' => t('15 min intervals'), '00:20:00' => t('20 min intervals'), '00:30:00' => t('30 min intervals'), '00:60:00' => t('60 min intervals'), ], ( isset($data->Settings->content->booking_management_intervals) ? $data->Settings->content->booking_management_intervals : '00:15:00' ) ) !!}
{!! Form::label( 'data[Settings][content][booking_management_intervals_labels]', t('Bookings Management Intervals Labels') ) !!} {!! Form::select( 'data[Settings][content][booking_management_intervals_labels]', [ '1' => t('Every line') ], ( isset($data->Settings->content->booking_management_intervals_labels) ? $data->Settings->content->booking_management_intervals_labels : null ), [ 'empty' => __('Default') ] ) !!}
@endif
{!! Form::label( 'data[Settings][content][availability]', t('Booking availability') ) !!}
{!! Form::radio( 'data[Settings][content][availability]', 0, ( !isset($data->Settings->content->availability) || (int)$data->Settings->content->availability === 0 ? true : false ) ) !!}
{!! Form::radio( 'data[Settings][content][availability]', 1, ( isset($data->Settings->content->availability) && (int)$data->Settings->content->availability == 1 ? true : false ) ) !!}