From b97cc9813aa167dbbf80a28f2f550da33650be57 Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Tue, 9 Oct 2018 10:18:11 +0530 Subject: [PATCH] paid leave remove --- application/views/attendance.php | 4 ++-- application/views/monthlypayinputs.php | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/application/views/attendance.php b/application/views/attendance.php index b13bd127..3e92b53b 100755 --- a/application/views/attendance.php +++ b/application/views/attendance.php @@ -714,8 +714,8 @@ function myFunction(p,i,v) } else { - absent = paidleave-2; - paidleave = 2; + absent = paidleave-0; + paidleave = 0; } document.getElementById(totalhrsid).textContent = parseFloat(totalworkingHrs).toFixed(2);// == ''?0:parseFloat(totalworkingHrs)); document.getElementById(totalothrsid).textContent = parseFloat(totalOTHrs).toFixed(2);// == ''?0:parseFloat(totalOTHrs)); diff --git a/application/views/monthlypayinputs.php b/application/views/monthlypayinputs.php index 09895d34..9d1ec316 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) {