Compare commits

..

3 Commits

@ -424,8 +424,6 @@ class Appointments extends EA_Controller {
*/
public function ajax_register_appointment()
{
throw new Exception('mon test');
try
{
$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')
];
$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);
$response = [

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

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

Loading…
Cancel
Save