last requirement done

This commit is contained in:
gayathri1990 2021-03-13 21:56:26 +05:30
parent 44717000c8
commit ab39da14d0

View File

@ -323,8 +323,8 @@
</mat-card-header>
<mat-card-content class="matcard">
<mat-form-field style="width: 64%">
<input matInput placeholder="Facility Amount Applied For? " formControlName="facility_amount"
OnlyNumber type="text" (change)="loanCalc()"
<input matInput placeholder="Facility Amount Applied For?" formControlName="facility_amount"
OnlyNumber type="text"
autocomplete="off">
<mat-hint align="start" style="font-size:90%" *ngIf="loanDetailsForm.controls['facility_amount'].value != ''">{{"&#8377;"}} {{ loanDetailsForm.controls['facility_amount'].value | numberToWords }} Only</mat-hint>
@ -335,7 +335,7 @@
<input matInput placeholder="Name of the Anchor"
type="text" formControlName="anchor_name"
autocomplete="off">
<mat-hint align="start" style="font-size:90%" *ngIf="loanDetailsForm.controls['anchor_name'].value != ''">{{"&#8377;"}} {{ loanDetailsForm.controls['anchor_name'].value }}</mat-hint>
<mat-hint align="start" style="font-size:90%" *ngIf="loanDetailsForm.controls['anchor_name'].value != ''"></mat-hint>
</mat-form-field>
<h6>Applicant's association vintage with the Anchor</h6>
@ -351,7 +351,7 @@
<mat-form-field style="width: 28%">
<input matInput placeholder="Monthly business (sale/purchase) with the Anchor" formControlName="monthly_business_anchor"
OnlyNumber type="text" (change)="loanCalc()"
OnlyNumber type="text"
autocomplete="off">
<mat-hint align="start" style="font-size:90%" *ngIf="loanDetailsForm.controls['monthly_business_anchor'].value != ''">{{"&#8377;"}} {{ loanDetailsForm.controls['monthly_business_anchor'].value | numberToWords }} Only</mat-hint>
@ -360,10 +360,10 @@
</mat-form-field>
<mat-form-field style="width: 28%">
<input matInput placeholder="Business concentration with Anchor" formControlName="business_concentration"
OnlyNumber type="text" (change)="loanCalc()"
OnlyNumber type="text"
autocomplete="off">
<mat-hint align="start" style="font-size:90%" *ngIf="loanDetailsForm.controls['business_concentration'].value != ''">{{"&#8377;"}} {{ loanDetailsForm.controls['business_concentration'].value | numberToWords }} Only</mat-hint>
<mat-hint align="start" style="font-size:90%" *ngIf="loanDetailsForm.controls['business_concentration'].value != ''"> {{ loanDetailsForm.controls['business_concentration'].value }} %</mat-hint>
<!-- <mat-hint align="start" style="font-size:90%" *ngIf="loanDetailsForm.controls['loan_amount'].value != ''">{{"&#8377;"}}
{{loanAmtInWords}} Only</mat-hint> -->
</mat-form-field>
@ -394,9 +394,9 @@
<span>
<div fxLayout="row wrap">
<mat-form-field style="width: 28%">
<mat-form-field style="width: 64%">
<!-- <input matInput placeholder="Seasonality" formControlName="seasonality" required> -->
<mat-select placeholder="Is The Business Seasonal" (selectionChange)="peakseasonsChanges($event.value)"
<mat-select placeholder="Are there peak seasons for the business with Anchor" (selectionChange)="peakseasonsChanges($event.value)"
formControlName="peakseasons_anchor"
required>
<mat-option value="yes">Yes</mat-option>
@ -426,7 +426,7 @@
</mat-form-field>
</div>
<div fxLayout="row nowrap" *ngIf="peakseasons == 'yes'">
<mat-form-field style="width: 60%">
<mat-form-field style="width: 38%">
<textarea matInput placeholder="Comments" formControlName="peak_season_comment"
required></textarea>
<mat-error *ngIf="loanDetailsForm.controls['peak_season_comment'].hasError('required')">Comments Required</mat-error>
@ -451,7 +451,7 @@
<input matInput placeholder="Reason for such debit/credit notes"
type="text" formControlName="debitcredit_notes"
autocomplete="off">
<mat-hint align="start" style="font-size:90%" *ngIf="loanDetailsForm.controls['balance_transfer_amount'].value != ''">{{"&#8377;"}} {{ loanDetailsForm.controls['balance_transfer_amount'].value | numberToWords }}</mat-hint>
<mat-hint align="start" style="font-size:90%" *ngIf="loanDetailsForm.controls['debitcredit_notes'].value != ''"></mat-hint>
</mat-form-field>
@ -465,7 +465,7 @@
style="width: 28%">
<input matInput placeholder="Observations on Sample Invoices"
formControlName="sample_invoices" autocomplete="off">
<mat-error *ngIf="loanDetailsForm.controls['sample_invoices'].hasError('required')">End Use of Top Up Required</mat-error>
<mat-error *ngIf="loanDetailsForm.controls['sample_invoices'].hasError('required')">Observations on Sample Invoices Required</mat-error>
</mat-form-field>
</span>