Fairoj : salaried check function implemented in person add

This commit is contained in:
venbatechnologies@gmail.com 2019-12-30 13:47:22 +05:30
parent 382a00a571
commit 05ac5ae6a8

View File

@ -572,7 +572,9 @@ export class GeneralInfoComponent implements OnInit {
let applicant_details: any = { 'pd_co_applicant_id': element.pd_co_applicant_id, 'applicant_name': this.titleCase.transform(element.applicant_name), 'relationship': '', 'relation_to': '', 'individuals_order_id': element.individuals_order_id, 'is_active': element.is_active };
relationControl.push(this.createPersonsWithRelationships(applicant_details, individualsControl.controls.length - 1));
});
if(this.split_customer_abbr == 'SAL'){
this.salariedcheck()
}
}
});
@ -595,6 +597,9 @@ export class GeneralInfoComponent implements OnInit {
individualsControl.controls[index].patchValue(dataRes.data[0])
let relationControl = <FormArray>this._generalForm.controls['persons_with_relationships'];
relationControl.controls[index].patchValue(dataRes.data[0])
if(this.split_customer_abbr == 'SAL'){
this.salariedcheck()
}
}
})