|
|
@ -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 = [
|
|
|
|