From c8991a5858f5ec706ecfe3e55249e4e07063abbc Mon Sep 17 00:00:00 2001 From: alext Date: Thu, 14 Sep 2017 15:18:51 +0200 Subject: [PATCH] Date format must be included in the company settings. --- src/application/controllers/Appointments.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/application/controllers/Appointments.php b/src/application/controllers/Appointments.php index eecd63d8..493aa92d 100755 --- a/src/application/controllers/Appointments.php +++ b/src/application/controllers/Appointments.php @@ -384,9 +384,10 @@ class Appointments extends CI_Controller { $service = $this->services_model->get_row($appointment['id_services']); $company_settings = array( - '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_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'), + 'date_format' => $this->settings_model->get_setting('date_format') ); // :: SYNCHRONIZE APPOINTMENT WITH PROVIDER'S GOOGLE CALENDAR