diff --git a/office-alexander-logistics-app/src/main/webapp/js/imixs-office.workitem.custom.js b/office-alexander-logistics-app/src/main/webapp/js/imixs-office.workitem.custom.js index ba5eb52..8e8e7e2 100644 --- a/office-alexander-logistics-app/src/main/webapp/js/imixs-office.workitem.custom.js +++ b/office-alexander-logistics-app/src/main/webapp/js/imixs-office.workitem.custom.js @@ -29,8 +29,7 @@ function initFaelligkeit(ajax_event) { var basisYear = parts[2]; var basisDate = new Date(basisYear, basisMonth, basisDay); var newDate = new Date(basisYear, basisMonth, basisDay); - let tageVerschiebung = 10; - newDate.setDate(newDate.getDate() + tageVerschiebung); + newDate.setDate(newDate.getDate() + (Number(days))); var day = '' + newDate.getDate(); if (day.length == 1) {