option added in banking details

This commit is contained in:
venbatechnologies@gmail.com 2021-11-13 12:42:18 +05:30
parent bf75dfac9c
commit e1ecf9cec1
2 changed files with 3 additions and 3 deletions

View File

@ -338,7 +338,7 @@
formControlName="limit_business" OnlyNumber type="text">
<mat-hint align="start" style="font-size:90%" *ngIf="itemrow1.get('limit_business').value != ''">{{"&#8377;"}} {{itemrow1.get('limit_business').value | numberToWords}} Only</mat-hint>
</mat-form-field>
<mat-form-field>
<mat-form-field *ngIf="pd_cus_segment!='SAL'">
<mat-select placeholder="Is this the main business account"
formControlName="is_main">
<mat-option value="Yes">Yes</mat-option>

View File

@ -72,7 +72,7 @@ export class BankingDetailsComponent implements OnInit {
this.pd_cus_segment = this.pd_cus_segment.substring(0, 3);
this.applicants = this.pd_all_details.pdapplicants_detials;
this.applicants = this.applicants.filter(val => val.applicant_type == 0 || val.applicant_type == 1)
// this.applicants.push({ 'pd_co_applicant_id': '0', 'applicant_name': 'Others' });
this.applicants.push({ 'pd_co_applicant_id': '0', 'applicant_name': 'Others' });
this.companies = this.pd_all_details.pdapplicants_detials.filter(val => val.applicant_type == 2)
this.notifier = notifier;
this.main_applicant = this.pd_all_details.pdmaster_details.main_applicant;
@ -310,7 +310,7 @@ export class BankingDetailsComponent implements OnInit {
//is_main: [''],
//is_main: [this.pd_cus_segment == 'SAL' ? '' : ''],
//is_main:[''],
is_main: [''],
is_main: this.pd_cus_segment == 'SAL' ? [''] : [''],
vintage_year_business: [''],
vintage_month_business: [''],
});