feat:Shares Translate Module (#1815)

This commit is contained in:
RADHA THAKARE
2023-09-15 14:18:01 -06:00
committed by GitHub
parent cdb3fbcea4
commit c483e015f4
21 changed files with 163 additions and 163 deletions
@@ -3,69 +3,69 @@
<div fxLayout="row wrap" fxLayoutGap="2%" fxLayout.lt-md="column" fxLayoutAlign.gt-sm="start center">
<mat-form-field fxFlex="48%">
<mat-label>Currency</mat-label>
<mat-label>{{ 'labels.inputs.Currency' |translate}}</mat-label>
<input matInput formControlName="currencyCode">
</mat-form-field>
<mat-form-field fxFlex="48%">
<mat-label>Decimal Places</mat-label>
<mat-label>{{ 'labels.inputs.Decimal Places' |translate}}</mat-label>
<input type="number" matInput formControlName="decimal">
</mat-form-field>
<mat-form-field fxFlex="48%">
<mat-label>Total Number of Shares</mat-label>
<mat-label>{{ 'labels.inputs.Total Number of Shares' |translate}}</mat-label>
<input type="number" matInput formControlName="requestedShares" required>
<mat-error>
Total Number of Shares is <strong>required</strong>
{{ 'labels.inputs.Total Number of Shares' |translate}} {{ "labels.commons.is" |translate}} <strong>{{ "labels.commons.required" | translate}}</strong>
</mat-error>
</mat-form-field>
<mat-form-field fxFlex="48%">
<mat-label>Today's Price</mat-label>
<mat-label>{{ 'labels.inputs.Today's Price' |translate}}</mat-label>
<input type="number" matInput formControlName="unitPrice">
</mat-form-field>
<mat-form-field fxFlex="48%">
<mat-label>Currency in multiples of</mat-label>
<mat-label>{{ 'labels.inputs.Currency in multiples of' |translate}}</mat-label>
<input type="number" matInput formControlName="currencyMultiple" >
</mat-form-field>
<mat-form-field fxFlex="48%">
<mat-label>Default Savings Account</mat-label>
<mat-label>{{ 'labels.inputs.Default Savings Account' |translate}}</mat-label>
<mat-select formControlName="savingsAccountId" required>
<mat-option *ngFor="let account of savingsAccountsData" [value]="account.id">
{{ account.accountNo }}
</mat-option>
</mat-select>
<mat-error>
Default Savings Account is <strong>required</strong>
{{ 'labels.inputs.Default Savings Account' |translate}} {{ "labels.commons.is" |translate}} <strong>{{ "labels.commons.required" | translate}}</strong>
</mat-error>
</mat-form-field>
<mat-form-field fxFlex="48%" (click)="applicationDatePicker.open()">
<mat-label>Application Date</mat-label>
<mat-label>{{ 'labels.inputs.Application Date' |translate}}</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="applicationDatePicker"
formControlName="applicationDate" required>
<mat-datepicker-toggle matSuffix [for]="applicationDatePicker"></mat-datepicker-toggle>
<mat-datepicker #applicationDatePicker></mat-datepicker>
<mat-error>
Application Date is <strong>required</strong>
{{ 'labels.inputs.Application Date' |translate}} {{ "labels.commons.is" |translate}} <strong>{{ "labels.commons.required" | translate}}</strong>
</mat-error>
</mat-form-field>
<mat-checkbox labelPosition="before" formControlName="allowDividendCalculationForInactiveClients" fxFlex="48%">
Allow dividends for inactive clients
{{ 'labels.inputs.Allow dividends for inactive clients' |translate}}
</mat-checkbox>
<h4 fxFlex="98%" class="mat-h4">Minimum Active Period</h4>
<h4 fxFlex="98%" class="mat-h4">{{ 'labels.heading.Minimum Active Period' |translate}}</h4>
<mat-form-field fxFlex="48%">
<mat-label>Frequency</mat-label>
<mat-label>{{ 'labels.inputs.Frequency' |translate}}</mat-label>
<input type="number" matInput formControlName="minimumActivePeriod">
</mat-form-field>
<mat-form-field fxFlex="48%">
<mat-label>Type</mat-label>
<mat-label>{{ 'labels.inputs.Type' |translate}}</mat-label>
<mat-select formControlName="minimumActivePeriodFrequencyType">
<mat-option *ngFor="let minimumActivePeriodFrequencyType of minimumActivePeriodFrequencyTypeData" [value]="minimumActivePeriodFrequencyType.id">
{{ minimumActivePeriodFrequencyType.value }}
@@ -73,15 +73,15 @@
</mat-select>
</mat-form-field>
<h4 fxFlex="98%" class="mat-h4">Lock-in Period</h4>
<h4 fxFlex="98%" class="mat-h4">{{ 'labels.heading.Lock-in Period' |translate}}</h4>
<mat-form-field fxFlex="48%">
<mat-label>Frequency</mat-label>
<mat-label>{{ 'labels.inputs.Frequency' |translate}}</mat-label>
<input type="number" matInput formControlName="lockinPeriodFrequency">
</mat-form-field>
<mat-form-field fxFlex="48%">
<mat-label>Type</mat-label>
<mat-label>{{ 'labels.inputs.Type' |translate}}</mat-label>
<mat-select formControlName="lockinPeriodFrequencyType">
<mat-option *ngFor="let lockinPeriodFrequencyType of lockinPeriodFrequencyTypeData" [value]="lockinPeriodFrequencyType.id">
{{ lockinPeriodFrequencyType.value }}
@@ -94,10 +94,10 @@
<div fxLayout="row" class="margin-t" fxLayout.xs="column" fxLayoutAlign="center" fxLayoutGap="2%">
<button mat-raised-button matStepperPrevious disabled>
<fa-icon icon="arrow-left" class="m-r-10"></fa-icon>
Previous
{{'labels.buttons.Previous' |translate}}
</button>
<button mat-raised-button matStepperNext>
Next
{{'labels.buttons.Next' |translate}}
<fa-icon icon="arrow-right" class="m-l-10"></fa-icon>
</button>
</div>