[Work hours] Changed minutes to float hours

This commit is contained in:
Matej Glasnák committed 2023-04-12 13:47:46 +02:00
1 parent 8ab5e5b34d
commit c38258ee1e
4 files changed
+28 -19

No files matched your search

@@ -116,7 +116,7 @@ export default {
events.push({
title: "Non working hours",
start: dayStart,
end: this._setMinutesToDate(employee.work_start, date),
end: this._setMinutesToDate(employee.work_start * 60, date),
type: 'non-working-hours',
split: i + 1,
draggable: false
@@ -124,7 +124,7 @@ export default {
events.push({
title: "Non working hours",
start: this._setMinutesToDate(employee.work_end, date),
start: this._setMinutesToDate(employee.work_end * 60, date),
end: dayEnd,
type: 'non-working-hours',
split: i + 1,