mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-22 14:42:23 +03:00
Passed date_format setting to the email notifications class.
This commit is contained in:
parent
7fbc350488
commit
4c6547de09
2 changed files with 6 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue