Ammends
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
c853cfc86f
commit
8fa64122f8
|
@ -163,6 +163,7 @@ module.exports = Self => {
|
||||||
|
|
||||||
if (workedDays < daysInYear())
|
if (workedDays < daysInYear())
|
||||||
totalHolidays += Math.round(2 * maxHolidays * (workedDays) / daysInYear()) / 2;
|
totalHolidays += Math.round(2 * maxHolidays * (workedDays) / daysInYear()) / 2;
|
||||||
|
else totalHolidays = maxHolidays;
|
||||||
|
|
||||||
// totalWorkedDays += workedDays;
|
// totalWorkedDays += workedDays;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue