{{ "ATTACHED_EVIDENCES" | translate }}:
cloud_upload

{{ "DRAG_EVIDENCE_FILES_HERE_OR_CLICK_SELECT_FILES_TO_UPLOAD" | translate }}

@if(question.requiredEvidence && fileArray.length == 0 && fileInputs.length == 0){
{{ "EVIDENCE_IS_REQUIRED" | 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_EVIDENCE" | 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 ){ }
  • }
}