@if(question.description){

{{ question.description }}

}

{{ "ALLOWED_FILE_TYPES" | translate }}: @for (item of allowFileExtension; track $index; let i=$index) { {{ item.extension }} @if (i < allowFileExtension.length - 1) { , } }

cloud_upload

{{ "DRAG_FILES_HERE_OR" | translate }}

@if (uploadProgress > 0 && uploadProgress < 100) {

{{ "UPLOADING" | translate }} {{ uploadProgress }}%

} @if (fileInputs.controls.length > 0) {
    @for (item of fileInputs.controls; track $index; let i = $index) {
  • @if (item.get('name')?.touched && item.get('name')?.errors?.['required']) {
    {{ "NAME_IS_REQUIRED" | translate }}
    }
    @if (item.get('message')?.value) {
    @if (item.get('isSuccess')?.value) { {{ item.get("message")?.value }} } @if (!item.get('isSuccess')?.value) { {{ item.get("message")?.value }} }
    }
  • }
} @if (fileArray && fileArray.length>0) {
{{ "UPLOADED_FILES" | translate }}
    @for (ctrl of fileArray; track i; let i = $index) {
  • {{ getFileIcon(ctrl?.extension) }} {{ ctrl.name }} @if(ctrl.fileSize) { ({{ ctrl.fileSize }}) }
    @if(auditStatus == AUDIT_STATUS.CREATED || auditStatus == AUDIT_STATUS.INPROGRESS ){ }
  • }
} @if(errorMessage) {
{{ errorMessage }}
}
@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(fileUploadGroup.get('score')?.touched && fileUploadGroup.get('score')?.hasError('required')) {
{{ "SCORE_IS_REQUIRED" | translate }}
} @if(fileUploadGroup.get('score')?.touched && fileUploadGroup.get('score')?.hasError('pattern')) {
{{ "ONLY_WHOLE_NUMBERS_GREATER_THAN_OR_EQUAL_TO_1_ARE_ALLOWED" | translate }}
} @if(fileUploadGroup.get('score')?.touched && fileUploadGroup.get('score')?.hasError('max')) {
{{ "INVALID_SCORE"}} : {{"MAXIMUM_ALLOWED_IS" | 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 ){ }