Compare commits

..

3 Commits

@ -424,8 +424,6 @@ class Appointments extends EA_Controller {
*/ */
public function ajax_register_appointment() public function ajax_register_appointment()
{ {
throw new Exception('mon test');
try try
{ {
$post_data = $this->input->post('post_data'); $post_data = $this->input->post('post_data');
@ -487,7 +485,7 @@ class Appointments extends EA_Controller {
'time_format' => $this->settings_model->get_setting('time_format') 'time_format' => $this->settings_model->get_setting('time_format')
]; ];
$this->synchronization->sync_appointment_saved($appointment, $service, $provider, $customer, $settings, $manage_mode); //$this->synchronization->sync_appointment_saved($appointment, $service, $provider, $customer, $settings, $manage_mode);
$this->notifications->notify_appointment_saved($appointment, $service, $provider, $customer, $settings, $manage_mode); $this->notifications->notify_appointment_saved($appointment, $service, $provider, $customer, $settings, $manage_mode);
$response = [ $response = [

@ -425,7 +425,6 @@ window.FrontendBook = window.FrontendBook || {};
* @param {jQuery.Event} event * @param {jQuery.Event} event
*/ */
$('#book-appointment-submit').on('click', function () { $('#book-appointment-submit').on('click', function () {
//TEST HERE
FrontendBookApi.registerAppointment(); FrontendBookApi.registerAppointment();
}); });

@ -82,7 +82,7 @@ class Email {
* *
* @throws \PHPMailer\PHPMailer\Exception * @throws \PHPMailer\PHPMailer\Exception
*/ */
public function ( public function send_appointment_details(
array $appointment, array $appointment,
array $provider, array $provider,
array $service, array $service,

Loading…
Cancel
Save