master 1.4.1b
Marc CHEVALDONNE 2 years ago
parent 491cbe7316
commit 3cda694b48

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

@ -96,8 +96,6 @@ class Email {
$timezone = NULL $timezone = NULL
) )
{ {
throw new RuntimeException('je fais un test ');
$timezones = $this->CI->timezones->to_array(); $timezones = $this->CI->timezones->to_array();
switch ($settings['date_format']) switch ($settings['date_format'])

Loading…
Cancel
Save