|
|
|
@ -425,7 +425,8 @@ window.FrontendBook = window.FrontendBook || {};
|
|
|
|
|
* @param {jQuery.Event} event
|
|
|
|
|
*/
|
|
|
|
|
$('#book-appointment-submit').on('click', function () {
|
|
|
|
|
FrontendBookApi.registerAppointment();
|
|
|
|
|
//TEST HERE
|
|
|
|
|
//FrontendBookApi.registerAppointment();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -682,7 +683,6 @@ window.FrontendBook = window.FrontendBook || {};
|
|
|
|
|
* @return {Boolean} Returns the operation result.
|
|
|
|
|
*/
|
|
|
|
|
function applyAppointmentData(appointment, provider, customer) {
|
|
|
|
|
throw new Error('mon test');
|
|
|
|
|
try {
|
|
|
|
|
// Select Service & Provider
|
|
|
|
|
$('#select-service').val(appointment.id_services).trigger('change');
|
|
|
|
|