public function reports() { //$data['county'] = Counties::getAll(); //Added function to display oonly the counties that are currently using HCMP $counties = Counties::get_counties_all_using_HCMP(); $data['county'] = $counties; $data['commodities'] = Commodities::get_all(); $data['sub_county'] = Districts::getAll(); $this->load->view('national/reports_home', $data); }