@if (question.description) {

{{ question.description }}

}
@if(question.inputType == QUESTION_TYPE.MULTI_SELECT) { @for(option of question.questionOptions; track $index; let i = $index) {
{{ option.optionText }}
} } @else { @for(option of question.questionOptions; track $index; let i = $index) { {{ option.optionText }} } }
@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) {
{{ "SELECT_ATLEAST_ONE_QUESTION_OPTIONS" | translate }}
}