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); }