From c1e4abd766723caddea8de954c5622be460fa085 Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Sun, 19 Mar 2023 19:36:24 +0700 Subject: [PATCH] TSK-871: Fix overtime display (#2769) Signed-off-by: Andrey Sobolev --- plugins/hr-resources/src/components/ScheduleRequests.svelte | 2 +- server/front/src/index.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/hr-resources/src/components/ScheduleRequests.svelte b/plugins/hr-resources/src/components/ScheduleRequests.svelte index 7e9747a670..72dbb77851 100644 --- a/plugins/hr-resources/src/components/ScheduleRequests.svelte +++ b/plugins/hr-resources/src/components/ScheduleRequests.svelte @@ -58,7 +58,7 @@
{#each requests as request} {#await getType(request) then type} - {#if type && !(isWeekend(date) || (isHoliday(getHolidayDatesForEmployee(staffDepartmentMap, employee._id, holidays), date) && noWeekendHolidayType.includes(type._id)))} + {#if type && !((isWeekend(date) || isHoliday(getHolidayDatesForEmployee(staffDepartmentMap, employee._id, holidays), date)) && noWeekendHolidayType.includes(type._id))}