@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') ) !!}
{!! 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') ], (isset($data->Settings->content->guest_checkout) ? $data->Settings->content->guest_checkout : 0) ) !!}
{!! 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 ) ) !!}
{!! 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][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][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 ) ) !!}