Date format must be included in the company settings.

This commit is contained in:
alext 2017-09-14 15:18:51 +02:00
parent 4a0ee51122
commit c8991a5858
1 changed files with 4 additions and 3 deletions

View File

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