@if(!isDialog) {
{{ "MANAGE_NON_CONFORMANCE" | translate }}
}
{{ "NON_CONFORMANCE_DETAILS" | translate }}
@if (nonConformanceForm.get('ncNumber')?.touched && nonConformanceForm.get('ncNumber')?.errors) { @if(nonConformanceForm.get('ncNumber')?.hasError('required')) {
{{'NON_CONFORMANCE_NUMBER_IS_REQUIRED' | translate}}
} }
@if (nonConformanceForm.get('title')?.touched && nonConformanceForm.get('title')?.errors) { @if(nonConformanceForm.get('title')?.hasError('required')) {
{{'NON_CONFORMANCE_TITLE_IS_REQUIRED' | translate}}
} }
-- {{ "NONE" | translate }} -- @for (user of userStore.users(); track user.id) { {{ user.firstName }} {{ user.lastName }} } @if (nonConformanceForm.get('reportedById')?.touched && nonConformanceForm.get('reportedById')?.errors) { @if(nonConformanceForm.get('reportedById')?.hasError('required')) {
{{'REPORTED_BY_USER_IS_REQUIRED' | translate}}
} }
-- {{ "NONE" | translate }} -- @for (status of statusList; track status.value) { {{ status.label | translate }} } @if (nonConformanceForm.get('status')?.touched && nonConformanceForm.get('status')?.errors) { @if(nonConformanceForm.get('status')?.hasError('required')) {
{{'STATUS_IS_REQUIRED' | translate}}
} }
-- {{ "NONE" | translate }} -- @for (severity of severityList; track severity.id) { {{ severity.name | translate }} } @if (nonConformanceForm.get('severity')?.touched && nonConformanceForm.get('severity')?.errors) { @if(nonConformanceForm.get('severity')?.hasError('required')) {
{{'SEVERITY_IS_REQUIRED' | translate}}
} }
-- {{ "NONE" | translate }} -- @for (department of departmentStore.departments(); track department.id) { {{ department.name }} }
-- {{ "NONE" | translate }} -- @for (audit of auditList; track audit.id) { {{ audit.name }} }