Merge branch 'spidev' into 'master'
Zeiterfassung Update See merge request fronk/thetool!1886
This commit is contained in:
@@ -369,6 +369,14 @@ $(document).ready(function () {
|
||||
$('#days-div').find('input').attr("min", "0");
|
||||
$('#days').prop("required", true);
|
||||
$('#days-div').find('input').val("");
|
||||
} else if (parseInt($(this).find(':selected').data('hourday')) === 10) {
|
||||
$("#endtime-div").hide();
|
||||
$("#endtime-div").find('input').each(function () {
|
||||
$(this).prop("required", false);
|
||||
});
|
||||
$('#days-div').hide();
|
||||
$('#days').prop("required", false);
|
||||
$("#div-calc-overtime").hide();
|
||||
}
|
||||
if (parseInt($(this).find(':selected').data('comment')) === 1) {
|
||||
$('#comment').prop("required", true);
|
||||
|
||||
Reference in New Issue
Block a user