{{ 'labels.inputs.Office' | translate }} @for (office of officeOptions; track office) { {{ office.name }} } @if (createClientForm.controls.officeId.hasError('required')) { {{ 'labels.inputs.Office' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } {{ 'labels.inputs.Legal Form' | translate }} @for (legalForm of legalFormOptions; track legalForm) { {{ legalForm.value | translateKey: 'inputs' }} } {{ 'labels.inputs.External Id' | translate }} @if (createClientForm.contains('fullname')) { {{ 'labels.inputs.' + getDateLabel(createClientForm.value.legalFormId, ['Name', 'Entity Name']) | translate }} @if (createClientForm.controls.fullname.hasError('required')) { {{ 'labels.inputs.Client name' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } @if (createClientForm.controls.fullname.hasError('pattern')) { {{ 'labels.inputs.Client name' | translate }} {{ 'labels.inputs.cannot' | translate }} {{ 'labels.commons.begin with a special character or number' | translate }} } } @if ( createClientForm.contains('firstname') || createClientForm.contains('middlename') || createClientForm.contains('lastname') ) {
@if (createClientForm.contains('firstname')) { {{ 'labels.inputs.First Name' | translate }} @if (createClientForm.controls.firstname.hasError('required')) { {{ 'labels.inputs.Client first name' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } @if (createClientForm.controls.firstname.hasError('pattern')) { {{ 'labels.inputs.Client first name' | translate }} {{ 'labels.inputs.cannot' | translate }} {{ 'labels.commons.begin with a special character or number' | translate }} } } @if (createClientForm.contains('middlename')) { {{ 'labels.inputs.Middle Name' | translate }} @if (createClientForm.controls.middlename.hasError('pattern')) { {{ 'labels.inputs.Client middle name' | translate }} {{ 'labels.inputs.cannot' | translate }} {{ 'labels.commons.begin with a special character or number' | translate }} } } @if (createClientForm.contains('lastname')) { {{ 'labels.inputs.Last Name' | translate }} @if (createClientForm.controls.lastname.hasError('required')) { {{ 'labels.inputs.Client last name' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } @if (createClientForm.controls.lastname.hasError('pattern')) { {{ 'labels.inputs.Client last name' | translate }} {{ 'labels.inputs.cannot' | translate }} {{ 'labels.commons.begin with a special character or number' | translate }} } }
} {{ 'labels.inputs.' + getDateLabel(createClientForm.value.legalFormId, ['Date of Birth', 'Incorporation Date']) | translate }} @if (createClientForm.get('clientNonPersonDetails')) {
{{ 'labels.inputs.Constitution' | translate }} @for (constitution of constitutionOptions; track constitution) { {{ constitution.name }} } {{ 'labels.inputs.Main Business Line' | translate }} @for (business of businessLineOptions; track business) { {{ business.name }} } {{ 'labels.inputs.Incorporation Validity Till Date' | translate }} {{ 'labels.inputs.Incorporation Number' | translate }} {{ 'labels.inputs.Remarks' | translate }}
} @if (createClientForm.value.legalFormId === LegalFormId.PERSON) { {{ 'labels.inputs.Gender' | translate }} @for (gender of genderOptions; track gender) { {{ gender.name }} } } {{ 'labels.inputs.Staff' | translate }} @for (staff of staffOptions; track staff) { {{ staff.displayName }} } @if (createClientForm.value.legalFormId === LegalFormId.PERSON) { {{ 'labels.inputs.Is staff' | translate }}? } {{ 'labels.inputs.Mobile No' | translate }} {{ 'labels.inputs.Email Address' | translate }} @if (createClientForm.controls.emailAddress.errors?.email) { {{ 'error.Email not valid' | translate }} } {{ 'labels.inputs.Client Type' | translate }} @for (clientType of clientTypeOptions; track clientType) { {{ clientType.name }} } {{ 'labels.inputs.Client Classification' | translate }} @for (clientClassification of clientClassificationTypeOptions; track clientClassification) { {{ clientClassification.name }} } {{ 'labels.inputs.Submitted On' | translate }}
{{ 'labels.inputs.Active' | translate }}? @if (createClientForm.contains('activationDate')) { {{ 'labels.inputs.Activation Date' | translate }} @if (createClientForm.controls.activationDate.hasError('required')) { {{ 'labels.inputs.Activation Date' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } } {{ 'labels.inputs.Open Savings Account' | translate }}? @if (createClientForm.contains('savingsProductId')) { {{ 'labels.inputs.Savings Product' | translate }} @for (product of savingProductOptions; track product) { {{ product.name }} } @if (createClientForm.controls.savingsProductId.hasError('required')) { {{ 'labels.inputs.Savings Product' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } }