{!! Form::hidden(
'data[Settings][content][single_table]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][single_table]',
1,
(
isset($data->Settings->content->single_table) &&
$data->Settings->content->single_table ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][single_table]',
'Users could book only one table per order'
) !!}
{!! Form::hidden(
'data[Settings][content][direct_checkout]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][direct_checkout]',
1,
(
isset($data->Settings->content->direct_checkout) &&
$data->Settings->content->direct_checkout ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][direct_checkout]',
'Allow redirect straight to checkout if a product is selected (Map snippet)'
) !!}
{!! Form::hidden(
'data[Settings][content][hide_stats_app]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][hide_stats_app]',
1,
(
isset($data->Settings->content->hide_stats_app) &&
$data->Settings->content->hide_stats_app ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][hide_stats_app]',
'Hide stats on the ticket app'
) !!}
{!! Form::hidden(
'data[Settings][content][hide_reference_number]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][hide_reference_number]',
1,
(
isset($data->Settings->content->hide_reference_number) &&
$data->Settings->content->hide_reference_number ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][hide_reference_number]',
'Hide reference number from the tickets list'
) !!}
{!! Form::hidden(
'data[Settings][content][linked_events]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][linked_events]',
1,
(
isset($data->Settings->content->linked_events) &&
$data->Settings->content->linked_events ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][linked_events]',
'Display linked events on scanner app'
) !!}
{!! Form::hidden(
'data[Settings][content][step_by_step]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][step_by_step]',
1,
(
isset($data->Settings->content->step_by_step) &&
$data->Settings->content->step_by_step ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][step_by_step]',
'Step by step checkout'
) !!}
{!! Form::hidden(
'data[Settings][content][ticket_separation]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][ticket_separation]',
1,
(
isset($data->Settings->content->ticket_separation) &&
$data->Settings->content->ticket_separation ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][ticket_separation]',
'Tickets to be sold only for Events'
) !!}
{!! Form::hidden(
'data[Settings][content][event_notification]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][event_notification]',
1,
(
isset($data->Settings->content->event_notification) &&
$data->Settings->content->event_notification ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][event_notification]',
'Enable venue to set SMS notification to event\'s users'
) !!}
{!! Form::hidden(
'data[Settings][content][events_nearby]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][events_nearby]',
1,
(
isset($data->Settings->content->events_nearby) &&
$data->Settings->content->events_nearby ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][events_nearby]',
'Hide events on the same date in event page'
) !!}
{!! Form::hidden(
'data[Settings][content][dont_follow_up]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][dont_follow_up]',
1,
(
isset($data->Settings->content->dont_follow_up) &&
$data->Settings->content->dont_follow_up ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][dont_follow_up]',
'Disable follow up emails "how was your night"'
) !!}
@include('Plugins/Payment/Views/Elements/Settings/category_selector')
{!! Form::label('data[Settings][map]', t('Venue Map')) !!}
{!! Form::textarea(
'data[Settings][map]',
(
isset($data->Settings->map) ?
$data->Settings->map : null
),
[
'rows' => 20
]
) !!}
{!! Form::label('data[Settings][Photo]', t('Venue Map')) !!}
{!! Form::file(
'data[Settings][Photo]',
[
'class'=>'btn btn-default image-uploader background',
'data-button'=>__('Upload an image'),
'value' => (isset($data->Settings->Photo) ? oa($data->Settings->Photo) : null)
]
) !!}
{!! Form::label('data[Settings][PhotoSeats]', t('Seats Map')) !!}
{!! Form::file(
'data[Settings][PhotoSeats]',
[
'class'=>'btn btn-default image-uploader background',
'data-button'=>__('Upload an image'),
'value' => (isset($data->Settings->PhotoSeats) ? oa($data->Settings->PhotoSeats) : null)
]
) !!}
{!! Form::label('data[Settings][style]', t('<IFRAME> Style')) !!}
{!! Form::textarea(
'data[Settings][style]',
(
isset($data->Settings->style) ?
$data->Settings->style : null
),
[
'rows' => 20
]
) !!}
{!! Form::label('data[Settings][content][header]', t('<IFRAME> Header')) !!}
{!! Form::textarea(
'data[Settings][content][header]',
(
isset($data->Settings->content->header) ?
$data->Settings->content->header : null
),
[
'rows' => 10
]
) !!}
{!! Form::label('data[Settings][content][event_list_layout]', t('Event List Layout')) !!}
{!! Form::select(
'data[Settings][content][event_list_layout]',
[
'default' => t('Default'),
'compact' => t('Compact'),
'compact-booking' => t('Compact booking only')
],
(isset($data->Settings->content->event_list_layout) ? $data->Settings->content->event_list_layout : 'default')
) !!}
{!! Form::label(
'data[Settings][content][sender][name]',
t('Venue Sender\'s name')
) !!}
{!! Form::text(
'data[Settings][content][sender][name]',
(
isset($data->Settings->content->sender->name) ?
$data->Settings->content->sender->name : null
)
) !!}
{!! Form::label(
'data[Settings][content][sender][email]',
t('Venue Sender\'s emal')
) !!}
{!! Form::text(
'data[Settings][content][sender][email]',
(
isset($data->Settings->content->sender->email) ?
$data->Settings->content->sender->email : null
)
) !!}
If the fields are populated, all emails will be send with this sender
@t('Custom Order Confirmation')
{!! Form::hidden(
'data[Settings][content][mail][active]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][mail][active]',
1,
(
isset($data->Settings->content->mail->active) &&
$data->Settings->content->mail->active ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][mail][active]',
t('Enable custom order email')
) !!}
{!! Form::label(
'data[Settings][content][mail][subject]',
t('Subject')
) !!}
{!! Form::text(
'data[Settings][content][mail][subject]',
(
isset($data->Settings->content->mail->subject) ?
$data->Settings->content->mail->subject : null
)
) !!}
{!! Form::label(
'data[Settings][content][mail][body]',
t('Message')
) !!}
{!! Form::textarea(
'data[Settings][content][mail][body]',
(
isset($data->Settings->content->mail->body) ?
$data->Settings->content->mail->body : null
)
) !!}
You could use [user.name] or [user.first_name] or
[user.last_name] as a placeholder for the user's name
{!! Form::hidden(
'data[Settings][content][mail][only_content]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][mail][only_content]',
1,
(
isset($data->Settings->content->mail->only_content) &&
$data->Settings->content->mail->only_content ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][mail][only_content]',
t('Use only the message as email body? If not selected there will be a wrapper')
) !!}
{!! Form::hidden(
'data[Settings][content][mail][text_only]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][mail][text_only]',
1,
(
isset($data->Settings->content->mail->text_only) &&
$data->Settings->content->mail->text_only ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][mail][text_only]',
t('Text only email (if checked it will format new lines)')
) !!}
{!! Form::hidden(
'data[Settings][content][mail][attachment]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][mail][attachment]',
1,
(
isset($data->Settings->content->mail->attachment) &&
$data->Settings->content->mail->attachment ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][mail][attachment]',
t('Attach the order pdf?')
) !!}
{!! Form::hidden(
'data[Settings][content][mail][bcc]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][mail][bcc]',
1,
(
isset($data->Settings->content->mail->bcc) &&
$data->Settings->content->mail->bcc ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][mail][bcc]',
t('Send copy to venue admins')
) !!}
@t('Order SMS Notification')
{!! Form::hidden(
'data[Settings][content][send_confirmation_sms]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][send_confirmation_sms]',
1,
(
(
!isset($data->Settings->content->send_confirmation_sms) ||
(
isset($data->Settings->content->send_confirmation_sms) &&
$data->Settings->content->send_confirmation_sms
)
) ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][send_confirmation_sms]',
t('Enable Order Confirmation SMS')
) !!}
@t('Final Payment Confirmation')
{!! Form::label(
'data[Settings][content][final_mail][subject]',
t('Subject')
) !!}
{!! Form::text(
'data[Settings][content][final_mail][subject]',
(
isset($data->Settings->content->final_mail->subject) ?
$data->Settings->content->final_mail->subject : null
)
) !!}
{!! Form::label(
'data[Settings][content][final_mail][body]',
t('Message')
) !!}
{!! Form::textarea(
'data[Settings][content][final_mail][body]',
(
isset($data->Settings->content->final_mail->body) ?
$data->Settings->content->final_mail->body : null
)
) !!}
You could use [user.name] or [user.first_name] or
[user.last_name] as a placeholder for the user's name
{!! Form::hidden(
'data[Settings][content][final_mail][only_content]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][final_mail][only_content]',
1,
(
isset($data->Settings->content->final_mail->only_content) &&
$data->Settings->content->final_mail->only_content ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][final_mail][only_content]',
t('Use only the message as email body? If not selected there will be a wrapper')
) !!}
{!! Form::hidden(
'data[Settings][content][final_mail][text_only]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][final_mail][text_only]',
1,
(
isset($data->Settings->content->final_mail->text_only) &&
$data->Settings->content->final_mail->text_only ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][final_mail][text_only]',
t('Text only email (if checked it will format new lines)')
) !!}
@t('Final Payment Notification')
{!! Form::label(
'data[Settings][content][final_notification][subject]',
t('Subject')
) !!}
{!! Form::text(
'data[Settings][content][final_notification][subject]',
(
isset($data->Settings->content->final_notification->subject) ?
$data->Settings->content->final_notification->subject : null
)
) !!}
{!! Form::label(
'data[Settings][content][final_notification][body]',
t('Message')
) !!}
{!! Form::textarea(
'data[Settings][content][final_notification][body]',
(
isset($data->Settings->content->final_notification->body) ?
$data->Settings->content->final_notification->body : null
)
) !!}
You could use [user.name] or [user.first_name] or
[user.last_name] and [link] for payment link and
[amount] for outstanging amount
{!! Form::hidden(
'data[Settings][content][final_notification][only_content]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][final_notification][only_content]',
1,
(
isset($data->Settings->content->final_notification->only_content) &&
$data->Settings->content->final_notification->only_content ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][final_notification][only_content]',
t('Use only the message as email body? If not selected there will be a wrapper')
) !!}
{!! Form::hidden(
'data[Settings][content][final_notification][text_only]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][final_notification][text_only]',
1,
(
isset($data->Settings->content->final_notification->text_only) &&
$data->Settings->content->final_notification->text_only ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][final_notification][text_only]',
t('Text only email (if checked it will format new lines)')
) !!}
{!! Form::hidden(
'data[Settings][special_communication]',
0
) !!}
{!! Form::checkbox(
'data[Settings][special_communication]',
1,
(
isset($data->Settings->special_communication) &&
$data->Settings->special_communication ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][mail][active]',
t('Special Communication')
) !!}
@t('Enable this if you want venue to have preliminary email send to the users X days before the event')
{!! Form::hidden(
'data[Settings][content][preliminary_mail][active]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][preliminary_mail][active]',
1,
(
isset($data->Settings->content->preliminary_mail->active) &&
$data->Settings->content->preliminary_mail->active ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][preliminary_mail][active]',
t('Enable Preliminary Email')
) !!}
{!! Form::hidden(
'data[Settings][content][preliminary_mail][is_paid]',
0
) !!}
{!! Form::checkbox(
'data[Settings][content][preliminary_mail][is_paid]',
1,
(
isset($data->Settings->content->preliminary_mail->is_paid) &&
$data->Settings->content->preliminary_mail->is_paid ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][content][preliminary_mail][is_paid]',
t('Send only if the order is fully paid. If payment is done later, the email will be send immediately')
) !!}
{!! Form::label(
'data[Settings][content][preliminary_mail][days_before]',
t('Days before')
) !!}
{!! Form::number( 'data[Settings][content][preliminary_mail][days_before]', ( isset($data->Settings->content->preliminary_mail->days_before) ? $data->Settings->content->preliminary_mail->days_before : null ), [ 'min' => 0 ] ) !!}
{!! Form::number( 'data[Settings][content][preliminary_mail][days_before]', ( isset($data->Settings->content->preliminary_mail->days_before) ? $data->Settings->content->preliminary_mail->days_before : null ), [ 'min' => 0 ] ) !!}
{!! Form::label(
'data[Settings][content][preliminary_mail][time]',
t('What Time?')
) !!}
{!! Form::select( 'data[Settings][content][preliminary_mail][time]', times(), ( isset($data->Settings->content->preliminary_mail->time) ? $data->Settings->content->preliminary_mail->time : null ) ) !!}
{!! Form::select( 'data[Settings][content][preliminary_mail][time]', times(), ( isset($data->Settings->content->preliminary_mail->time) ? $data->Settings->content->preliminary_mail->time : null ) ) !!}
{!! Form::label(
'data[Settings][content][preliminary_mail][subject]',
t('Subject')
) !!}
{!! Form::text(
'data[Settings][content][preliminary_mail][subject]',
(
isset($data->Settings->content->preliminary_mail->subject) ?
$data->Settings->content->preliminary_mail->subject : null
)
) !!}
{!! Form::label(
'data[Settings][content][preliminary_mail][body]',
t('Message')
) !!}
{!! Form::textarea(
'data[Settings][content][preliminary_mail][body]',
(
isset($data->Settings->content->preliminary_mail->body) ?
$data->Settings->content->preliminary_mail->body : null
)
) !!}
You could use [user.name] or [user.first_name] or
[user.last_name] as a placeholder for the user's name.
You could use also HTML
{!! Form::label(
'data[Settings][content][redirect]',
t('Redirect after original order purchase (Thank you page)')
) !!}
{!! Form::text(
'data[Settings][content][redirect]',
(
isset($data->Settings->content->redirect) ?
$data->Settings->content->redirect : null
)
) !!}
{!! Form::label(
'data[Settings][content][final_redirect]',
t('Redirect after final payment (Thank you page)')
) !!}
{!! Form::text(
'data[Settings][content][final_redirect]',
(
isset($data->Settings->content->final_redirect) ?
$data->Settings->content->final_redirect : null
)
) !!}
{!! Form::label(
'data[Settings][messenger_id]',
t('Intercom Group Name')
) !!}
{!! Form::text(
'data[Settings][messenger_id]',
(
isset($data->Settings->messenger_id) ?
$data->Settings->messenger_id : null
)
) !!}
{!! Form::label(
'data[Settings][content][phone]',
t('Contact Phone for venue checkout page')
) !!}
{!! Form::text(
'data[Settings][content][phone]',
(
isset($data->Settings->content->phone) ?
$data->Settings->content->phone : null
)
) !!}
{!! Form::label(
'data[Settings][content][number_of_people_text]',
t('Custom warning on number of people field')
) !!}
{!! Form::text(
'data[Settings][content][number_of_people_text]',
(
isset($data->Settings->content->number_of_people_text) ?
$data->Settings->content->number_of_people_text : null
)
) !!}
{!! Form::label(
'data[Settings][content][payment_type_label]',
t('Payment Deadline label')
) !!}
{!! Form::text(
'data[Settings][content][payment_type_label]',
(
isset($data->Settings->content->payment_type_label) ?
$data->Settings->content->payment_type_label : null
),
[
'placeholder' => t('event')
]
)
!!}
{!! Form::label(
'data[Settings][content][user_terms]',
t('Custom terms and conditions label')
) !!}
{!! Form::text(
'data[Settings][content][user_terms]',
(
isset($data->Settings->content->user_terms) ?
$data->Settings->content->user_terms : null
),
[
'placeholder' => t('Registration terms & conditions')
]
)
!!}
@t('Payment fees')
@t(' if populated, they will overwrite the default site fees. If the transaction fee is set, min and max fields will be used. If they are empty this mean no min or max fee for this venue. ')
{!! Form::label(
'data[Settings][content][payment][fee]',
t('Transaction fee in %')
) !!}
{!! Form::number( 'data[Settings][content][payment][fee]', ( isset($data->Settings->content->payment->fee) ? $data->Settings->content->payment->fee : null ), [ 'min' => 0, 'step' => '0.01' ] ) !!}
{!! Form::number( 'data[Settings][content][payment][fee]', ( isset($data->Settings->content->payment->fee) ? $data->Settings->content->payment->fee : null ), [ 'min' => 0, 'step' => '0.01' ] ) !!}
{!! Form::label(
'data[Settings][content][payment][min]',
t('Min amount fee in £')
) !!}
{!! Form::number( 'data[Settings][content][payment][min]', ( isset($data->Settings->content->payment->min) ? $data->Settings->content->payment->min : null ), [ 'min' => 0, 'step' => '0.01' ] ) !!}
{!! Form::number( 'data[Settings][content][payment][min]', ( isset($data->Settings->content->payment->min) ? $data->Settings->content->payment->min : null ), [ 'min' => 0, 'step' => '0.01' ] ) !!}
{!! Form::label(
'data[Settings][content][payment][max]',
t('Max amount fee in £')
) !!}
{!! Form::number( 'data[Settings][content][payment][max]', ( isset($data->Settings->content->payment->max) ? $data->Settings->content->payment->max : null ), [ 'min' => 0, 'step' => '0.01' ] ) !!}
{!! Form::number( 'data[Settings][content][payment][max]', ( isset($data->Settings->content->payment->max) ? $data->Settings->content->payment->max : null ), [ 'min' => 0, 'step' => '0.01' ] ) !!}
{!! Form::label(
'data[Settings][vat]',
t('Vat in %')
) !!}
{!! Form::number( 'data[Settings][vat]', ( isset($data->Settings->vat) ? $data->Settings->vat : null ), [ 'min' => 0, 'step' => '0.01' ] ) !!}
{!! Form::number( 'data[Settings][vat]', ( isset($data->Settings->vat) ? $data->Settings->vat : null ), [ 'min' => 0, 'step' => '0.01' ] ) !!}
@t('Mandatory User data')
{{ __('Data on Guest checkout') }}
{!! Form::label(
'data[Settings][content][guest_data][phone]',
t('Require Phone')
) !!}
{{ __('Data on Tickets') }}
{!! Form::label(
'data[Settings][content][tickets_data][email]',
t('Require Email')
) !!}
{!! Form::label(
'data[Settings][content][tickets_data][phone]',
t('Require Phone')
) !!}
{!! Form::label(
'data[Settings][content][tickets_data][birthday]',
t('Require Birthday')
) !!}
{!! Form::label(
'data[Settings][content][manychat_id]',
__('Manychat ID')
) !!}
{!! Form::text(
'data[Settings][content][manychat_id]',
(
isset($data->Settings->content->manychat_id) ?
$data->Settings->content->manychat_id : null
)
) !!}
{!! Form::label(
'data[Settings][content][manychat_widget_id]',
__('Manychat Widget ID')
) !!}
{!! Form::text(
'data[Settings][content][manychat_widget_id]',
(
isset($data->Settings->content->manychat_widget_id) ?
$data->Settings->content->manychat_widget_id : null
)
) !!}
{!! Form::label(
'data[Settings][content][default_end_time]',
__('End time offset from the start time (in minutes)')
) !!}
{!! Form::text(
'data[Settings][content][default_end_time]',
(
isset($data->Settings->content->default_end_time) ?
$data->Settings->content->default_end_time : null
)
) !!}
{!! Form::label(
'data[Settings][content][tiers]',
t('Venue uses tiers')
) !!}
{!! Form::label(
'data[Settings][content][venue_membership]',
t('Venue Membership Number required?')
) !!}
{!! Form::label(
'data[Settings][content][venue_membership_regex]',
__('Membership regular expression validation')
) !!}
{!! Form::text(
'data[Settings][content][venue_membership_regex]',
(
isset($data->Settings->content->venue_membership_regex) ?
$data->Settings->content->venue_membership_regex : null
)
) !!}
{!! Form::label(
'data[Settings][content][external_payment_link]',
t('Allow venue to use external liniks for event purchases?')
) !!}
{!! Form::label(
'data[Settings][content][footfall]',
t('Footfall Venue ID')
) !!}
{!! Form::text(
'data[Settings][content][footfall]',
(
isset($data->Settings->content->footfall) ?
$data->Settings->content->footfall : null
)
) !!}
{!! Form::label(
'data[Settings][content][google_tag]',
t('Enable Google Tag')
) !!}