@if(!data.isViewOnly){
@if(riskManagementControlForm.get('title')?.touched &&
riskManagementControlForm.get('title')?.errors?.['required']){
{{'TITLE_IS_REQUIRED' | translate}}
}
}
-- {{ "NONE" | translate }} --
@for (controlType of controlTypeList; track controlType) {
{{controlType.label | translate}}
}
@if(riskManagementControlForm.get('controlType')?.touched &&
riskManagementControlForm.get('controlType')?.errors?.['required']){
{{'CONTROL_TYPE_IS_REQUIRED' | translate}}
}
-- {{ "NONE" | translate }} --
@for (effectiveness of effectivenessList; track effectiveness) {
{{effectiveness.label | translate}}
}
@if(riskManagementControlForm.get('effectiveness')?.touched &&
riskManagementControlForm.get('effectiveness')?.errors?.['required']){
{{'EFFECTIVENESS_IS_REQUIRED' | translate}}
}
-- {{ "NONE" | translate }} --
@for (user of userStore.users(); track user) {
{{ user.firstName }} {{ user.lastName }}
}
@if(riskManagementControlForm.get('responsibleId')?.touched &&
riskManagementControlForm.get('responsibleId')?.errors?.['required']){
{{'RESPONSIBLE_USER_IS_REQUIRED' | translate}}
}
-- {{ "NONE" | translate }} --
@for (status of statusList; track status) {
{{ status.label | translate }}
}
@if(riskManagementControlForm.get('status')?.touched &&
riskManagementControlForm.get('status')?.errors){
@if(riskManagementControlForm.get('status')?.errors?.['required']){
{{'STATUS_IS_REQUIRED' | translate}}
}
}
@if(riskManagementControlForm.get('implementationDate')?.touched &&
riskManagementControlForm.get('implementationDate')?.errors?.['required']){
{{'IMPLEMENTATION_DATE_IS_REQUIRED' | translate}}
}
@if(riskManagementControlForm.get('description')?.touched &&
riskManagementControlForm.get('description')?.errors){
@if(riskManagementControlForm.get('description')?.errors?.['required']){
{{'DESCRIPTION_IS_REQUIRED' | translate}}
}
}