@if(question.description){

{{ question.description }}

}
@if(currentRating >0 ){
@for (star of stars; track i; let i = $index){ {{ i < (hoverRating || currentRating) ? "star" : "star_border" }} }
@if(currentRating > 0) {

{{ "YOUR_RATING" | translate }}: {{ currentRating }} {{"OF" | translate}} {{ maxRating }}

} } @else {
{{ minRating }} {{ maxRating }}
@if(currentRating > 0) {

{{ "YOUR_RATING" | translate }}: {{ currentRating }}

}
}
@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 }}
}