clix lender - issue fixed
This commit is contained in:
parent
92ba3e837c
commit
f2333705f7
@ -209,19 +209,23 @@ export class AddPdComponent implements OnInit, OnDestroy {
|
|||||||
this._PDtriggerForm.controls.pd_branch_id.setValue(null);
|
this._PDtriggerForm.controls.pd_branch_id.setValue(null);
|
||||||
|
|
||||||
this.productList = this.productAllList;
|
this.productList = this.productAllList;
|
||||||
// if(this.lenderShortName == 'CLIX')
|
|
||||||
// {
|
|
||||||
|
|
||||||
// this._PDtriggerForm.controls['loan_amount'].setValue(null)
|
|
||||||
// this._PDtriggerForm.controls['loan_amount'].clearValidators()
|
|
||||||
// this._PDtriggerForm.controls['loan_amount'].updateValueAndValidity()
|
|
||||||
|
|
||||||
// }
|
|
||||||
if(this.lenderShortName == 'CLIX')
|
if(this.lenderShortName == 'CLIX')
|
||||||
{
|
{
|
||||||
|
|
||||||
this._PDtriggerForm.controls['lender_applicant_id'].setValidators([Validators.required])
|
this._PDtriggerForm.controls['loan_amount'].setValue(null)
|
||||||
|
this._PDtriggerForm.controls['loan_amount'].clearValidators()
|
||||||
|
this._PDtriggerForm.controls['loan_amount'].updateValueAndValidity()
|
||||||
|
this._PDtriggerForm.controls['lender_applicant_id'].setValue(null)
|
||||||
|
this._PDtriggerForm.controls['lender_applicant_id'].clearValidators()
|
||||||
|
this._PDtriggerForm.controls['lender_applicant_id'].updateValueAndValidity()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
//09-04-2022
|
||||||
|
// if(this.lenderShortName == 'CLIX')
|
||||||
|
// {
|
||||||
|
|
||||||
|
// this._PDtriggerForm.controls['lender_applicant_id'].setValidators([Validators.required])
|
||||||
|
// }
|
||||||
// if(this.lenderShortName == 'CLIX'){
|
// if(this.lenderShortName == 'CLIX'){
|
||||||
|
|
||||||
// let getProductAbbr = this.productAllList.map(dval => dval.product_abbr);
|
// let getProductAbbr = this.productAllList.map(dval => dval.product_abbr);
|
||||||
@ -252,8 +256,9 @@ export class AddPdComponent implements OnInit, OnDestroy {
|
|||||||
this.billingtolist = this.lenderList
|
this.billingtolist = this.lenderList
|
||||||
if(lender.short_name != 'CHFPL'){
|
if(lender.short_name != 'CHFPL'){
|
||||||
this._PDtriggerForm.controls['sub_entity_id'].disable()
|
this._PDtriggerForm.controls['sub_entity_id'].disable()
|
||||||
} else{
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
this.billingtolist = this.lenderList.filter(item=> item.short_name == 'CHFPL' || item.short_name == 'CLIX');
|
this.billingtolist = this.lenderList.filter(item=> item.short_name == 'CHFPL' || item.short_name == 'CLIX');
|
||||||
console.log('filter lender',this.billingtolist);
|
console.log('filter lender',this.billingtolist);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user