@if(question.description){

{{ question.description }}

}
@if(form.get('response')?.touched && form.get('response')?.hasError('required')) {
{{ "INPUT_IS_REQUIRED" | translate }}
}
@if(auditResponse && auditResponse.nonConformances && auditResponse.nonConformances.length > 0){ } @if(auditResponse && auditResponse.capaRequests && auditResponse.capaRequests.length > 0){ }
{{ "AUDIT_SCORE" | translate }} : {{ "OUT_OF" | translate }} {{ question.maxScore || 0 }}
@if(form.get('score')?.touched && form.get('score')?.hasError('required')) {
{{ "SCORE_IS_REQUIRED" | translate }}
} @if(form.get('score')?.touched && form.get('score')?.hasError('pattern')) {
{{ "ONLY_WHOLE_NUMBERS_GREATER_THAN_OR_EQUAL_TO_1_ARE_ALLOWED" | translate }}
} @if(form.get('score')?.touched && form.get('score')?.hasError('max')) {
{{ "SCORE_CANNOT_BE_GREATER_THAN_MAX" | translate }} {{ question.maxScore || 0 }}
}
@if( auditStatus == AUDIT_STATUS.CREATED || auditStatus == AUDIT_STATUS.INPROGRESS || auditStatus == AUDIT_STATUS.REWORK ){ } @if((auditStatus == AUDIT_STATUS.CREATED || auditStatus == AUDIT_STATUS.INPROGRESS || auditStatus == AUDIT_STATUS.REWORK) && auditResponse.id ){ } @if((auditStatus == AUDIT_STATUS.CREATED || auditStatus == AUDIT_STATUS.INPROGRESS || auditStatus == AUDIT_STATUS.REWORK) && auditResponse.id ){ }
@if(errorMessage){
{{ errorMessage }}
}