{!! 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)
@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')
]
)
!!}
@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][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