@if (documentIdentifier) { {{ 'labels.heading.Add Client Identifier' | translate }} } @else { {{ 'labels.heading.Upload' | translate }} {{ entityType }} {{ 'labels.heading.Documents' | translate }} }

@if (documentIdentifier) { {{ 'labels.inputs.Document Type' | translate }} @for (docType of allowedDocumentTypes; track docType) { {{ docType.name }} } @if (uploadDocumentForm.controls.documentTypeId?.hasError('required')) { {{ 'labels.inputs.Document Type' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } {{ 'labels.inputs.Status' | translate }} @for (status of statusOptions; track status) { {{ status.label }} } @if (uploadDocumentForm.controls.status?.hasError('required')) { {{ 'labels.inputs.Status' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } {{ 'labels.inputs.Document Key' | translate }} @if (uploadDocumentForm.controls.documentKey?.hasError('required')) { {{ 'labels.inputs.Document Key' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } {{ 'labels.inputs.Description' | translate }} } {{ 'labels.inputs.File Name' | translate }} @if (uploadDocumentForm.controls.fileName.hasError('required')) { {{ 'labels.inputs.File Name' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } @if (!documentIdentifier) { {{ 'labels.inputs.Description' | translate }} }