diff --git a/libs/application/templates/aosh/work-accident-notification/src/forms/WorkAccidentNotificationForm/EmployeeSection/employee.ts b/libs/application/templates/aosh/work-accident-notification/src/forms/WorkAccidentNotificationForm/EmployeeSection/employee.ts index afb361691175..5ac5d07f705b 100644 --- a/libs/application/templates/aosh/work-accident-notification/src/forms/WorkAccidentNotificationForm/EmployeeSection/employee.ts +++ b/libs/application/templates/aosh/work-accident-notification/src/forms/WorkAccidentNotificationForm/EmployeeSection/employee.ts @@ -166,6 +166,13 @@ export const employeeSubSection = (index: number) => })) }, }), + buildAlertMessageField({ + id: 'employee.startTimeAlert', + title: '', + message: employee.employee.startTimeAlert, + alertType: 'info', + marginBottom: 0, + }), buildDateField({ id: `employee[${index}].startOfWorkdayDate`, width: 'half', diff --git a/libs/application/templates/aosh/work-accident-notification/src/lib/messages/employee.ts b/libs/application/templates/aosh/work-accident-notification/src/lib/messages/employee.ts index dad48b068ec9..48156be856d6 100644 --- a/libs/application/templates/aosh/work-accident-notification/src/lib/messages/employee.ts +++ b/libs/application/templates/aosh/work-accident-notification/src/lib/messages/employee.ts @@ -80,12 +80,12 @@ export const employee = { }, startOfWorkdayDate: { id: 'aosh.wan.application:employee.time', - defaultMessage: 'Dagsetning byrjun starfsdags', + defaultMessage: 'Dagsetning', description: 'Start of employees workday date', }, time: { id: 'aosh.wan.application:employee.time', - defaultMessage: 'Tími byrjun starfsdags', + defaultMessage: 'Tími', description: 'Start of employees workday time', }, timePlaceholder: { @@ -155,5 +155,11 @@ export const employee = { 'Starfsdagur má byrja allt að 36 tímum fyrir slys og að tímasetningu slyss', description: 'Error message for employee start time', }, + startTimeAlert: { + id: 'aosh.wan.application:employee.startTimeAlert', + defaultMessage: + 'Dagsetning og tími þegar starfsmaður mætti til vinnu á slysadegi', + description: 'Error message for employee start time', + }, }), }