diff --git a/src/application/controllers/Appointments.php b/src/application/controllers/Appointments.php index dc416a58..fbe3779f 100755 --- a/src/application/controllers/Appointments.php +++ b/src/application/controllers/Appointments.php @@ -177,7 +177,8 @@ class Appointments extends CI_Controller { $company_settings = [ 'company_name' => $this->settings_model->get_setting('company_name'), 'company_email' => $this->settings_model->get_setting('company_email'), - 'company_link' => $this->settings_model->get_setting('company_link') + 'company_link' => $this->settings_model->get_setting('company_link'), + 'date_format' => $this->settings_model->get_setting('date_format') ]; // :: DELETE APPOINTMENT RECORD FROM THE DATABASE. diff --git a/src/application/controllers/Backend_api.php b/src/application/controllers/Backend_api.php index a48596a9..b0aa0baa 100644 --- a/src/application/controllers/Backend_api.php +++ b/src/application/controllers/Backend_api.php @@ -304,7 +304,8 @@ class Backend_api extends CI_Controller { $company_settings = [ 'company_name' => $this->settings_model->get_setting('company_name'), 'company_link' => $this->settings_model->get_setting('company_link'), - 'company_email' => $this->settings_model->get_setting('company_email') + 'company_email' => $this->settings_model->get_setting('company_email'), + 'date_format' => $this->settings_model->get_setting('date_format') ]; // :: SYNC APPOINTMENT CHANGES WITH GOOGLE CALENDAR @@ -447,7 +448,8 @@ class Backend_api extends CI_Controller { $company_settings = [ 'company_name' => $this->settings_model->get_setting('company_name'), 'company_email' => $this->settings_model->get_setting('company_email'), - 'company_link' => $this->settings_model->get_setting('company_link') + 'company_link' => $this->settings_model->get_setting('company_link'), + 'date_format' => $this->settings_model->get_setting('date_format') ]; // :: DELETE APPOINTMENT RECORD FROM DATABASE