add form control in banking form

This commit is contained in:
venbatechnologies@gmail.com 2021-11-12 22:00:58 +05:30
parent b66eaee026
commit bf75dfac9c
2 changed files with 10 additions and 9 deletions

View File

@ -316,13 +316,7 @@
</mat-select>
</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>
<mat-option value="No">No</mat-option>
</mat-select>
</mat-form-field>-->
<div fxLayout="row" fxLayoutAlign="start none">
<mat-form-field style="width: 35%;" *ngIf="salaryField">
@ -340,10 +334,17 @@
formControlName="limit" OnlyNumber type="text" (keyup)="inWords($event,i,1)">
<mat-hint align="start" style="font-size:90%" *ngIf="itemrow.get('limit').value != ''">{{"&#8377;"}}
{{amtInwords[i]}} Only</mat-hint>-->
<input matInput autocomplete="off" placeholder="Limit in case of OD / CC account"
<input style="padding-bottom:8px;" matInput autocomplete="off" placeholder="Limit in case of OD / CC account"
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-select placeholder="Is this the main business account"
formControlName="is_main">
<mat-option value="Yes">Yes</mat-option>
<mat-option value="No">No</mat-option>
</mat-select>
</mat-form-field>
</div>
<div>
<label>Number of Years / Months since account was started</label>

View File

@ -310,7 +310,7 @@ export class BankingDetailsComponent implements OnInit {
//is_main: [''],
//is_main: [this.pd_cus_segment == 'SAL' ? '' : ''],
//is_main:[''],
// is_main: this.pd_cus_segment == 'SAL' ? [''] : [''],
is_main: [''],
vintage_year_business: [''],
vintage_month_business: [''],
});