mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-22 16:02:54 +03:00
Load less information in the booking page.
This commit is contained in:
parent
2256505244
commit
7278f448e6
1 changed files with 5 additions and 0 deletions
|
@ -314,8 +314,13 @@ class Appointments extends CI_Controller {
|
||||||
$this->load->model('settings_model');
|
$this->load->model('settings_model');
|
||||||
//retrieve the data needed in the view
|
//retrieve the data needed in the view
|
||||||
$appointment = $this->appointments_model->get_row($appointment_id);
|
$appointment = $this->appointments_model->get_row($appointment_id);
|
||||||
|
unset($appointment['notes']);
|
||||||
|
|
||||||
$provider = $this->providers_model->get_row($appointment['id_users_provider']);
|
$provider = $this->providers_model->get_row($appointment['id_users_provider']);
|
||||||
|
unset($provider['settings'], $provider['notes']);
|
||||||
|
|
||||||
$service = $this->services_model->get_row($appointment['id_services']);
|
$service = $this->services_model->get_row($appointment['id_services']);
|
||||||
|
|
||||||
$company_name = $this->settings_model->get_setting('company_name');
|
$company_name = $this->settings_model->get_setting('company_name');
|
||||||
//get the exceptions
|
//get the exceptions
|
||||||
$exceptions = $this->session->flashdata('book_success');
|
$exceptions = $this->session->flashdata('book_success');
|
||||||
|
|
Loading…
Reference in a new issue