diff --git a/assets/js/frontend_book.js b/assets/js/frontend_book.js index e01955c9..41c909e6 100644 --- a/assets/js/frontend_book.js +++ b/assets/js/frontend_book.js @@ -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'); diff --git a/engine/Notifications/Email.php b/engine/Notifications/Email.php index 2458af48..ce3bc8e9 100644 --- a/engine/Notifications/Email.php +++ b/engine/Notifications/Email.php @@ -96,8 +96,6 @@ class Email { $timezone = NULL ) { - throw new RuntimeException('je fais un test '); - $timezones = $this->CI->timezones->to_array(); switch ($settings['date_format'])