Compare commits

..

No commits in common. 'master' and '1.4.1d' have entirely different histories.

@ -424,6 +424,8 @@ class Appointments extends EA_Controller {
*/
public function ajax_register_appointment()
{
throw new Exception('mon test');
try
{
$post_data = $this->input->post('post_data');
@ -485,7 +487,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,6 +425,7 @@ window.FrontendBook = window.FrontendBook || {};
* @param {jQuery.Event} event
*/
$('#book-appointment-submit').on('click', function () {
//TEST HERE
FrontendBookApi.registerAppointment();
});

Loading…
Cancel
Save