jQuery(document).ready(function($)
{
var bookingForm=$('#chbs_booking_form_4FC5B13467B5F9E46AA08BFD6B9CA52A').chauffeurBookingForm(
{
booking_form_id:21092,
plugin_version:'7.8',
ajax_url:'https://hapsatransport.fr/https/hapsatransport-fr/ibm/admin-ajax.php',
length_unit:1,
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:'Il n'est pas possible de créer un trajet entre ces deux points.',
place_geometry_error:'L'API Google Maps ne peut pas trouver de détails pour cet endroit.'
},
text:
{
unit_length_short:'km',
unit_time_hour_short:'h',
unit_time_minute_short:'h',
},
date_exclude:[],
datetime_min:'12-10-2025 09:30:00',
datetime_max:'',
datetime_min_format:'12-10-2025',
datetime_max_format:'',
business_hour:{"1":{"start":"06:00","stop":"20:00","default":"06:00","default_format":"6:00"},"2":{"start":"08:00","stop":"16:30","default":"08:00","default_format":"8:00"},"3":{"start":"08:30","stop":"20:30","default":"08:30","default_format":"8:30"},"4":{"start":"07:00","stop":"20:30","default":"07:00","default_format":"7:00"},"5":{"start":"09:30","stop":"16:30","default":"09:30","default_format":"9:30"},"6":{"start":"07:30","stop":"20:30","default":"07:30","default_format":"7:30"},"7":{"start":"09:30","stop":"18:30","default":"09:30","default_format":"9:30"}},
timepicker_step:10,
timepicker_dropdown_list_enable:1,
timepicker_hour_range_enable:0,
timepicker_field_readonly:0,
summary_sidebar_sticky_enable:0,
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:["FR"],
area:
{
radius:50,
coordinate:
{
lat:'',
lng:''
}
}
},
waypoint:
{
enable:1,
country:["FR"],
area:
{
radius:50,
coordinate:
{
lat:'',
lng:''
}
}
},
dropoff:
{
enable:1,
country:["FR"],
area:
{
radius:50,
coordinate:
{
lat:'',
lng:''
}
}
}
},
google_map_option:
{
route_type:1,
route_avoid:[-1],
draggable:
{
enable:1 },
draggable_location:
{
enable:0 },
traffic_layer:
{
enable:0 },
scrollwheel:
{
enable:1 },
map_control:
{
enable:0,
id:'ROADMAP',
style:'DEFAULT',
position:'TOP_CENTER'
},
zoom_control:
{
enable:0,
style:'DEFAULT',
position:'TOP_CENTER',
level:6
},
default_location:
{
type:1,
coordinate:
{
lat:'',
lng:''
}
},
ask_load_enable:0,
style:[] },
base_location:
{
coordinate:
{
lat:'49.4435261',
lng:'1.0984309'
}
},
widget:
{
mode:1,
booking_form_url:'https://hapsatransport.fr/homereserve/'
},
rtl_mode:0 ,
scroll_to_booking_extra_after_select_vehicle_enable:1,
current_date:'09-10-2025',
current_time:'06:09',
icon_field_enable:0,
use_my_location_link_enable:0,
client_country_code:'IN',
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();
});