Login form with Tenant dropdown menu

This commit is contained in:
Jose Alberto Hernandez
2022-11-29 22:18:54 -06:00
parent 8f1c17acdf
commit 7275ba8dda
25 changed files with 189 additions and 20 deletions
@@ -100,12 +100,12 @@ export class CreateClientComponent {
setDatatables(): void {
this.datatables = [];
let legalFormTypeVal = 'Person';
let legalFormTypeVal = 'person';
if (this.legalFormType === 2) {
legalFormTypeVal = 'Entity';
legalFormTypeVal = 'entity';
}
this.clientTemplate.datatables.forEach((datatable: any) => {
if (datatable.entitySubType === legalFormTypeVal) {
if (datatable.entitySubType.toLowerCase() === legalFormTypeVal) {
this.datatables.push(datatable);
}
});