Fairoj : salaried check function implemented in person add
This commit is contained in:
parent
382a00a571
commit
05ac5ae6a8
@ -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()
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user