Zeiterfassung Update
* Neues Kategorie Feature (Arbeitszeitverschiebung)
This commit is contained in:
@@ -369,6 +369,14 @@ $(document).ready(function () {
|
|||||||
$('#days-div').find('input').attr("min", "0");
|
$('#days-div').find('input').attr("min", "0");
|
||||||
$('#days').prop("required", true);
|
$('#days').prop("required", true);
|
||||||
$('#days-div').find('input').val("");
|
$('#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) {
|
if (parseInt($(this).find(':selected').data('comment')) === 1) {
|
||||||
$('#comment').prop("required", true);
|
$('#comment').prop("required", true);
|
||||||
|
|||||||
Reference in New Issue
Block a user