product listing
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user