Пример #1
0
 public function report_management()
 {
     $permissions = 'super_permissions';
     $data['title'] = "Users";
     $data['content_view'] = "Admin/report_management_v";
     $data['listing'] = Users::get_user_list_all();
     $data['counts'] = Users::get_users_count();
     $data['facilities_listing'] = Users::get_facilities_list_all();
     $data['users_listing_active'] = Users::get_user_list_all();
     $data['facilities_listing_inactive'] = Users::get_facilities_list_all_active(0);
     $data['active_count'] = Facilities::get_all_facilities_active_no();
     $data['facility_count'] = Facilities::get_all_facilities_no();
     $data['counties'] = Counties::getAll();
     $data['facilities'] = Facilities::getAll();
     $data['sub_counties'] = Districts::getAll();
     $data['user_types'] = Access_level::get_access_levels($permissions);
     $this->load->view("shared_files/template/dashboard_v", $data);
 }