jQuery(document).ready(function($)
{
var bookingForm=$('#chbs_booking_form_1987A5D785D74DB3F0EA54230DE54897').chauffeurBookingForm(
{
booking_form_id:29949,
plugin_version:'8.7',
ajax_url:'https://weluxchauffeurs.co.uk/wp-admin/admin-ajax.php',
length_unit:2,
time_format:'G:i',
date_format:'d-m-Y',
date_format_js:'dd-mm-yy',
message:
{
google_map_ask_load_confirm:'This page requires the Google Maps library to load the booking form. If you choose not to enable it, the form will not be displayed.',
designate_route_error:'It is not possible to create a route between chosen points.',
place_geometry_error:'Google Maps API cannot find details for this place.'
},
text:
{
unit_length_short:'km',
unit_time_hour_short:'h',
unit_time_minute_short:'h',
},
date_exclude:[],
datetime_min:'17-12-2025 22:03:00',
datetime_max:'',
datetime_min_format:'17-12-2025',
datetime_max_format:'',
business_hour:{"1":{"start":"00:00","stop":"23:30","default":"00:00","default_format":"0:00"},"2":{"start":"00:00","stop":"23:30","default":"00:00","default_format":"0:00"},"3":{"start":"00:00","stop":"23:30","default":"00:00","default_format":"0:00"},"4":{"start":"00:00","stop":"23:30","default":"00:00","default_format":"0:00"},"5":{"start":"00:00","stop":"23:30","default":"00:00","default_format":"0:00"},"6":{"start":"00:00","stop":"23:30","default":"00:00","default_format":"0:00"},"7":{"start":"00:00","stop":"23:30","default":"00:00","default_format":"0:00"}},
timepicker_step:30,
timepicker_dropdown_list_enable:1,
timepicker_hour_range_enable:0,
timepicker_field_readonly:1,
summary_sidebar_sticky_enable:1,
ride_time_multiplier:1.00,
extra_time_unit:2,
file_extension_to_upload:'jpg;jpeg;png;gif;ico;pdf;doc;docx;ppt;pptx;pps;ppsx;odt;xls;xlsx;psd;mp3;m4a;ogg;wav;mp4;m4v;mov;wmv;avi;mpg;ogv;3gp;3g2',
driving_zone:
{
pickup:
{
enable:1,
country:[-1],
area:
{
radius:100,
coordinate:
{
lat:'51.5072178',
lng:'-0.1275862'
}
}
},
waypoint:
{
enable:0,
country:[-1],
area:
{
radius:50,
coordinate:
{
lat:'',
lng:''
}
}
},
dropoff:
{
enable:1,
country:[-1],
area:
{
radius:100,
coordinate:
{
lat:'51.5072178',
lng:'-0.1275862'
}
}
},
location_field_relation_type:1 },
google_map_option:
{
map_id:'ae8509ab71d69c206cd3c533',
api_key:'AIzaSyBf_U_tFyneL_zoBHEWhKtl2P7cE9JWKp4',
route_type:1,
route_avoid:[-1],
draggable:
{
enable:1 },
traffic_layer:
{
enable:0 },
scrollwheel:
{
enable:false
},
map_control:
{
enable:1,
id:'ROADMAP',
style:'DROPDOWN_MENU',
position:'LEFT_TOP'
},
zoom_control:
{
enable:1,
style:'DEFAULT',
position:'RIGHT_BOTTOM',
level:6
},
default_location:
{
type:2,
coordinate:
{
lat:'51.5569879',
lng:'-0.1411791'
}
},
ask_load_enable:0 },
base_location:
{
coordinate:
{
lat:'51.5054306',
lng:'-0.0235333'
}
},
widget:
{
mode:0,
booking_form_url:'',
submit:0,
route_id:0,
},
rtl_mode:0 ,
scroll_to_booking_extra_after_select_vehicle_enable:1,
current_date:'17-12-2025',
current_time:'22:03',
icon_field_enable:0,
use_my_location_link_enable:0,
client_country_code:'GB',
ride_time_rounding:1,
tax_rate_geofence_enable:0,
total_time_display_enable:1,
recaptcha:
{
enable:0,
site_key:'',
api_type:1,
},
is_autoride_theme:0,
pickup_time_field_write_enable:1,
phone_number_iti_library_enable:1,
vehicle_price_calculation_first_step_enable:0 });
bookingForm.setup();
});