From 25a8f54d5f1f8e7a224e963cd914bb906f494225 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Wed, 13 Dec 2017 12:57:19 +0530 Subject: [PATCH] category-wise report issue fixed --- application/controllers/report.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/application/controllers/report.php b/application/controllers/report.php index 02d2f505..d168191f 100755 --- a/application/controllers/report.php +++ b/application/controllers/report.php @@ -542,11 +542,14 @@ class report extends BaseController $m=$this->input->post('month'); $frm = $this->input->post('from_date'); $t = $this->input->post('to_date'); + $sid=$this->input->get('sid'); + $mid = $this->input->get('mid'); + $d = $this->input->get('d'); //print_r($prod); $data['material']=$this->dahsboard_Model->material_name(); $data['cust']=$this->dahsboard_Model->customer_name(); $data['finyear']=$this->dahsboard_Model->report_finyear(); - $data['purchase']=$this->dahsboard_Model->ireport_purchase($cname,$prod,$fa,$aa,$m,$frm,$t); + $data['purchase']=$this->dahsboard_Model->ireport_purchase($cname,$prod,$fa,$aa,$m,$frm,$t,$sid,$mid,$d); } else{