product listing

This commit is contained in:
CHIEFSOFT\ameye
2024-10-26 11:32:32 -04:00
parent 9a9d313cc7
commit a978096520
3 changed files with 52 additions and 44 deletions
+3 -10
View File
@@ -6,19 +6,12 @@ namespace App\Controllers;
class Provider extends SecureBaseController
{
//var $patient_model;
protected \App\Models\Product_model $product_model;
public function StartProviders() {
$this->product_model = new \App\Models\Product_model();
$data = array();
// $out = array();
// $this->load->model('patient_model');
// $out = $this->patient_model->getPatientList();
// $data["patient_list"] = $out["patient_list"];
// $_SESSION['patient_count'] = 5;
// $this->load->model('encounter_model');
// $out = $this->encounter_model->getEncounterList();
// $data["encounter_list"] = $out["encounter_list"];
$data['product_array'] = $this->product_model->getProducts(); // $product_array;
return $this->renderProviderSecurePage('dash', $data);
// return view('template/provider_page');
// print_r($_SESSION);
}