From 4dc917858c967571964b88b6885ddc8a8fbd60ba Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Tue, 4 Sep 2018 10:49:45 +0530 Subject: [PATCH] save but remove MPI --- application/controllers/purchaseorder.php | 1 + application/views/monthlypayinputs.php | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/application/controllers/purchaseorder.php b/application/controllers/purchaseorder.php index e60b3bc8..625e81f8 100644 --- a/application/controllers/purchaseorder.php +++ b/application/controllers/purchaseorder.php @@ -20,6 +20,7 @@ class purchaseorder extends BaseController { parent::__construct(); $this->load->model('purchaseorder_model'); + $this->load->model('inwardgateregister_model'); $this->load->library('session'); $this->load->library('form_validation'); diff --git a/application/views/monthlypayinputs.php b/application/views/monthlypayinputs.php index 9357f68e..09895d34 100644 --- a/application/views/monthlypayinputs.php +++ b/application/views/monthlypayinputs.php @@ -529,13 +529,13 @@ function isCheckKeyCode(event){ { if(year == 1) { - // $("#savebutton").hide(); - $("#savebutton").show(); + $("#savebutton").hide(); + // $("#savebutton").show(); } else { - //$("#savebutton").hide(); - $("#savebutton").show(); + $("#savebutton").hide(); + //$("#savebutton").show(); } } else if(savebuttonstatus < 0 ) @@ -547,19 +547,19 @@ function isCheckKeyCode(event){ } else if(year == 0) { - //$("#savebutton").hide(); - $("#savebutton").show(); + $("#savebutton").hide(); + // $("#savebutton").show(); } else { - //$("#savebutton").hide(); - $("#savebutton").show(); + $("#savebutton").hide(); + // $("#savebutton").show(); } } else if(savebuttonstatus == 0 && year == 0) { - //$("#savebutton").hide(); - $("#savebutton").show(); + $("#savebutton").hide(); + // $("#savebutton").show(); } else if(savebuttonstatus == 1) {