diff --git a/application/controllers/Calendar.php b/application/controllers/Calendar.php index 4ad66211..fe8edb27 100644 --- a/application/controllers/Calendar.php +++ b/application/controllers/Calendar.php @@ -97,6 +97,14 @@ class Calendar extends EA_Controller { 'available_services' => $this->services_model->get_available_services(), 'secretary_providers' => $secretary_providers, 'edit_appointment' => $edit_appointment, + 'require_first_name' => setting('require_first_name'), + 'require_last_name' => setting('require_last_name'), + 'require_email' => setting('require_email'), + 'require_phone_number' => setting('require_phone_number'), + 'require_address' => setting('require_address'), + 'require_city' => setting('require_city'), + 'require_zip_code' => setting('require_zip_code'), + 'require_notes' => setting('require_notes'), ]); $this->load->view('pages/calendar', html_vars()); diff --git a/application/views/components/manage_appointment_modal.php b/application/views/components/manage_appointment_modal.php index f716ca2a..70b9c416 100644 --- a/application/views/components/manage_appointment_modal.php +++ b/application/views/components/manage_appointment_modal.php @@ -2,6 +2,13 @@ /** * @var array $available_services * @var array $timezones + * @var array $require_first_name + * @var array $require_last_name + * @var array $require_email + * @var array $require_phone_number + * @var array $require_address + * @var array $require_city + * @var array $require_zip_code */ ?>