Client and External Id

This commit is contained in:
Jose Alberto Hernandez
2022-12-03 15:21:09 -06:00
parent de24c49633
commit 60a4511c42
18 changed files with 159 additions and 46 deletions
@@ -104,11 +104,13 @@ export class CreateClientComponent {
if (this.legalFormType === 2) {
legalFormTypeVal = 'entity';
}
this.clientTemplate.datatables.forEach((datatable: any) => {
if (datatable.entitySubType.toLowerCase() === legalFormTypeVal) {
this.datatables.push(datatable);
}
});
if (this.clientTemplate.datatables) {
this.clientTemplate.datatables.forEach((datatable: any) => {
if (datatable.entitySubType.toLowerCase() === legalFormTypeVal) {
this.datatables.push(datatable);
}
});
}
}
legalFormChange(eventData: { legalForm: number }) {