@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 }} }
{{ '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.heading.Documents' | 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 }} }
} @else {
{{ 'labels.inputs.File Name' | translate }} @if (uploadDocumentForm.controls.fileName.hasError('required')) { {{ 'labels.inputs.File Name' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} }
{{ 'labels.inputs.Description' | translate }}
}