From 581f359ffcd0a5a181466f65be90e995c634185e Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Mon, 21 Aug 2017 08:07:53 +0000 Subject: [PATCH] assetdetails controller file changes --- application/controllers/assetdetails.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/controllers/assetdetails.php b/application/controllers/assetdetails.php index 829dcbb9..9232a819 100755 --- a/application/controllers/assetdetails.php +++ b/application/controllers/assetdetails.php @@ -343,7 +343,7 @@ class assetdetails extends BaseController $DateOfPurchase = $this->input->post('DateOfPurchase'); if($DateOfPurchase != '') { - $DOpurchase = $this->dateformat($DateOfPurchase); + $DOpurchase = $this->getDateformat($DateOfPurchase); } @@ -354,8 +354,8 @@ class assetdetails extends BaseController if($DateOfCommission != '') { - //$DOCommission= $this->getDateformat($DateOfCommission); - $DOCommission= $this->dateformat($DateOfCommission); + $DOCommission= $this->getDateformat($DateOfCommission); + //$DOCommission= $this->dateformat($DateOfCommission); }