fix: 三期风险截止日使用合同实际到期日,不再硬编码today+1天
This commit is contained in:
@@ -397,6 +397,7 @@ async function detectSpecialStatusRisks(orgId: string) {
|
||||
title: `${emp.name}处于${typeLabel}期间,合同${daysToExpire}天后到期,依法不得终止`,
|
||||
description: `${typeLabel}员工在合同到期时,用人单位不得依照《劳动合同法》第四十条、第四十一条终止合同,需顺延至相应情形消失。`,
|
||||
actionUrl: `/special-status?type=${ss.type}`,
|
||||
deadline: latestContract.endDate,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user