Fairoj : Coapplicants fetch on trigger screen from excel done
This commit is contained in:
parent
666e57d272
commit
a14b9f8c9f
@ -71,7 +71,7 @@
|
||||
<mat-option *ngFor="let person of sales_and_credit_person.sales_person" [value]="person.userid">{{person.user_name}}</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
<mat-form-field *ngIf="lenderShortName == 'MWISE'">
|
||||
<mat-form-field fxFlex="28%" fxFlex.xs="100%" *ngIf="lenderShortName == 'MWISE'">
|
||||
<mat-label>Lender Sales Person</mat-label>
|
||||
<input matInput type="text" formControlName="mwise_sales_person"/>
|
||||
<mat-error *ngIf="_PDtriggerForm.controls['mwise_sales_person'].hasError('required')">Required</mat-error>
|
||||
|
||||
@ -1147,6 +1147,14 @@ searchFun(control:any,i:number,option){
|
||||
records[key_name] = temp[0].customer_segment_id
|
||||
}
|
||||
}
|
||||
if(key_name == 'co_applicants') {
|
||||
records['coapplicants'] = records[key_name]
|
||||
delete records[key_name]
|
||||
for(let item of records.coapplicants) {
|
||||
item.coapplicant_name = item.applicant_name
|
||||
this.addCoApplicant()
|
||||
}
|
||||
}
|
||||
// formValues[val.key_name] = val.value
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user