From f717cd1c6f3791585c5953edd89e2887cd3d55b1 Mon Sep 17 00:00:00 2001 From: Olusesan Ameye Date: Tue, 12 Mar 2019 19:41:45 +0000 Subject: [PATCH] Backend Service --- providerwww/application/controllers/Reports.php | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/providerwww/application/controllers/Reports.php b/providerwww/application/controllers/Reports.php index f2bd05d..a8afb9a 100644 --- a/providerwww/application/controllers/Reports.php +++ b/providerwww/application/controllers/Reports.php @@ -6,9 +6,12 @@ class Reports extends Provider_Controller { public function index() { $data = array(); - $this->renderProviderSecurePage('patient/patientreport', $data); + $this->renderProviderSecurePage('reports/report', $data); } + public function report(){ + $this->index(); + } public function addnew() { $data = array(); $data["account_message"] = ""; @@ -54,11 +57,5 @@ $data["loc"] = $_SERVER["REMOTE_ADDR"]; $data["patient_list"] = $query->result(); return $data; } - public function report() { - $data = array(); - $this->renderProviderSecurePage('patient/patientreport', $data); - } - public function chart(){ - echo "patientChart"; - } + }