salarycostforproduction issues

This commit is contained in:
gandhimathi 2018-04-18 10:12:50 +00:00
parent 5725f23c93
commit f17ed0260c

View File

@ -350,11 +350,11 @@ th{
document.getElementById("salary"+id).innerHTML = cals; document.getElementById("salary"+id).innerHTML = cals;
} }
$('#datepick').change(function() { $('#datepick').change(function() {
// var datepick = $('#emp').val(); //var datepick = $('#emp').val();
var lastChoose = localStorage.getItem("lastChoose"); var lastChoose = localStorage.getItem("lastChoose");
if(lastChoose === $(this).val() ) { //if(lastChoose === $(this).val() ) {
alert('Already Choosen') // alert('Already Choosen')
}else { //}else {
localStorage.setItem("lastChoose", $(this).val() ); localStorage.setItem("lastChoose", $(this).val() );
var id = $(this).val(); var id = $(this).val();
//alert(id); //alert(id);
@ -371,7 +371,7 @@ th{
} }
}); });
} //}
}); });