From 25e90d9c20087a95f93a8d994d0fbc0f3fb383f9 Mon Sep 17 00:00:00 2001 From: saravanakumar_kandasami Date: Thu, 31 Aug 2017 18:22:34 +0530 Subject: [PATCH] report controller for excel title naming --- application/controllers/report.php | 20 +++++++++----------- application/views/report_pendingreqst.php | 2 +- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/application/controllers/report.php b/application/controllers/report.php index 6207f64a..e1395829 100755 --- a/application/controllers/report.php +++ b/application/controllers/report.php @@ -25,10 +25,8 @@ class report extends BaseController public function pending_report() { - $this->global['pageTitle'] = 'Siddharth : Reports'; - - - + $this->global['pageTitle'] = 'Total Pending Requests Reports -'; + $data['pending_list']=$this->dahsboard_Model->req_list(); @@ -38,7 +36,7 @@ class report extends BaseController public function releasedPO() { - $this->global['pageTitle'] = 'Siddharth : Reports'; + $this->global['pageTitle'] = 'Order Value - Released Reports - '; @@ -51,7 +49,7 @@ class report extends BaseController public function openorderPO() { - $this->global['pageTitle'] = 'Siddharth : Reports'; + $this->global['pageTitle'] = 'Open Orders - Pending Reports - '; @@ -64,7 +62,7 @@ class report extends BaseController public function TotalOrd() { - $this->global['pageTitle'] = 'Siddharth : Reports'; + $this->global['pageTitle'] = 'Total Orders Reports -'; @@ -77,7 +75,7 @@ class report extends BaseController public function ccr() { - $this->global['pageTitle'] = 'Siddharth : Reports'; + $this->global['pageTitle'] = 'Cost Center Reports -'; @@ -90,7 +88,7 @@ class report extends BaseController public function MM_Supplier() { - $this->global['pageTitle'] = 'Siddharth : Reports'; + $this->global['pageTitle'] = 'Material Master - Supplier Wise Reports -'; @@ -103,7 +101,7 @@ class report extends BaseController public function MM_Item() { - $this->global['pageTitle'] = 'Siddharth : Reports'; + $this->global['pageTitle'] = 'Material Master - Item Wise Reports-'; @@ -116,7 +114,7 @@ class report extends BaseController public function MM_ReceiptValue() { - $this->global['pageTitle'] = 'Siddharth : Reports'; + $this->global['pageTitle'] = 'Material Master - Receipt Value Reports-'; diff --git a/application/views/report_pendingreqst.php b/application/views/report_pendingreqst.php index 4fa53d7c..681135a0 100755 --- a/application/views/report_pendingreqst.php +++ b/application/views/report_pendingreqst.php @@ -119,7 +119,7 @@ $(document).ready(function() { buttons: [ { extend: 'collection', - text: 'Export pending details', + text: 'Export pending details', buttons: [ 'excel' ]