Skip to content

Commit

Permalink
Fixed Deposit products with i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Alberto Hernandez authored and alberto-art3ch committed Apr 20, 2024
1 parent 6ef471d commit d846a80
Show file tree
Hide file tree
Showing 25 changed files with 578 additions and 573 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ <h3 class="mat-h3" fxFlexFill>{{"labels.heading.Charges" | translate }}</h3>
<fa-icon icon="arrow-left" class="m-r-10"></fa-icon>
{{"labels.buttons.Previous" | translate }}
</button>
<button mat-raised-button [routerLink]="['../']">
<button mat-raised-button [routerLink]="['../..']">
{{"labels.buttons.Cancel" | translate }}
</button>
<button mat-raised-button color="primary" (click)="submit.emit()">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ <h3 class="mat-h3" fxFlexFill>{{"labels.heading.Charges" | translate }}</h3>
<fa-icon icon="arrow-left" class="m-r-10"></fa-icon>
{{"labels.buttons.Previous" | translate }}
</button>
<button mat-raised-button [routerLink]="['../']">
<button mat-raised-button [routerLink]="['../..']">
{{"labels.buttons.Cancel" | translate }}
</button>
<button mat-raised-button color="primary" (click)="submit.emit()">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,6 @@ <h4 class="table-headers">{{"labels.inputs.Account Details" | translate }}</h4>
<h4 class="table-headers">{{"labels.heading.Performance History" | translate }}</h4>
<table>
<tbody>
<tr>
<td>{{"labels.inputs.External Id" | translate }}</td>
<td>
<span *ngIf="recurringDepositsAccountData.externalId">
<mifosx-external-identifier externalId="{{recurringDepositsAccountData.externalId}}" completed="true"></mifosx-external-identifier>
</span>
<span *ngIf="!recurringDepositsAccountData.externalId"> {{"labels.inputs.Not Available" | translate}} </span>
</td>
</tr>
<tr>
<td>{{"labels.inputs.Principal Amount" | translate }}</td>
<td class="r-amount">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ <h3 fxFlex="98%" class="mat-h3">{{"labels.heading.Overdue Charges" | translate}}
<fa-icon icon="arrow-left" class="m-r-10"></fa-icon>
{{"labels.buttons.Previous" | translate}}
</button>
<button mat-raised-button [routerLink]="['../']">
<button mat-raised-button [routerLink]="['../..']">
{{"labels.buttons.Cancel" | translate}}
</button>
<button mat-raised-button color="primary" (click)="submit.emit()">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,47 +24,47 @@

<mat-step [stepControl]="fixedDepositProductDetailsForm">

<ng-template matStepLabel>DETAILS</ng-template>
<ng-template matStepLabel>{{'labels.inputs.DETAILS' | translate}}</ng-template>

<mifosx-fixed-deposit-product-details-step></mifosx-fixed-deposit-product-details-step>

</mat-step>

<mat-step [stepControl]="fixedDepositProductCurrencyForm">

<ng-template matStepLabel>CURRENCY</ng-template>
<ng-template matStepLabel>{{'labels.inputs.CURRENCY' | translate}}</ng-template>

<mifosx-fixed-deposit-product-currency-step [fixedDepositProductsTemplate]="fixedDepositProductsTemplate"></mifosx-fixed-deposit-product-currency-step>

</mat-step>

<mat-step [stepControl]="fixedDepositProductTermsForm">

<ng-template matStepLabel>TERMS</ng-template>
<ng-template matStepLabel>{{'labels.inputs.TERMS' | translate}}</ng-template>

<mifosx-fixed-deposit-product-terms-step [fixedDepositProductsTemplate]="fixedDepositProductsTemplate"></mifosx-fixed-deposit-product-terms-step>

</mat-step>

<mat-step [stepControl]="fixedDepositProductSettingsForm">

<ng-template matStepLabel>SETTINGS</ng-template>
<ng-template matStepLabel>{{'labels.inputs.SETTINGS' | translate}}</ng-template>

<mifosx-fixed-deposit-product-settings-step [fixedDepositProductsTemplate]="fixedDepositProductsTemplate"></mifosx-fixed-deposit-product-settings-step>

</mat-step>

<mat-step [stepControl]="fixedDepositProductInterestRateChartForm">

<ng-template matStepLabel>INTEREST RATE CHART</ng-template>
<ng-template matStepLabel>{{'labels.inputs.INTEREST RATE CHART' | translate}}</ng-template>

<mifosx-fixed-deposit-product-interest-rate-chart-step [fixedDepositProductsTemplate]="fixedDepositProductsTemplate"></mifosx-fixed-deposit-product-interest-rate-chart-step>

</mat-step>

<mat-step>

<ng-template matStepLabel>CHARGES</ng-template>
<ng-template matStepLabel>{{'labels.inputs.CHARGES' | translate}}</ng-template>

<mifosx-fixed-deposit-product-charges-step
[fixedDepositProductsTemplate]="fixedDepositProductsTemplate"
Expand All @@ -76,7 +76,7 @@

<mat-step [stepControl]="fixedDepositProductAccountingForm">

<ng-template matStepLabel>ACCOUNTING</ng-template>
<ng-template matStepLabel>{{'labels.inputs.ACCOUNTING' | translate}}</ng-template>

<mifosx-fixed-deposit-product-accounting-step
[fixedDepositProductsTemplate]="fixedDepositProductsTemplate"
Expand All @@ -89,7 +89,7 @@

<mat-step state="preview" *ngIf="fixedDepositProductFormValid" completed>

<ng-template matStepLabel>PREVIEW</ng-template>
<ng-template matStepLabel>{{'labels.inputs.PREVIEW' | translate}}</ng-template>

<mifosx-fixed-deposit-product-preview-step
[fixedDepositProductsTemplate]="fixedDepositProductsTemplate"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<mat-step [stepControl]="fixedDepositProductDetailsForm">

<ng-template matStepLabel>DETAILS</ng-template>
<ng-template matStepLabel>{{'labels.inputs.DETAILS' | translate}}</ng-template>

<mifosx-fixed-deposit-product-details-step
[fixedDepositProductsTemplate]="fixedDepositProductsTemplate">
Expand All @@ -34,7 +34,7 @@

<mat-step [stepControl]="fixedDepositProductCurrencyForm">

<ng-template matStepLabel>CURRENCY</ng-template>
<ng-template matStepLabel>{{'labels.inputs.CURRENCY' | translate}}</ng-template>

<mifosx-fixed-deposit-product-currency-step
[fixedDepositProductsTemplate]="fixedDepositProductsTemplate">
Expand All @@ -44,7 +44,7 @@

<mat-step [stepControl]="fixedDepositProductTermsForm">

<ng-template matStepLabel>TERMS</ng-template>
<ng-template matStepLabel>{{'labels.inputs.TERMS' | translate}}</ng-template>

<mifosx-fixed-deposit-product-terms-step
[fixedDepositProductsTemplate]="fixedDepositProductsTemplate">
Expand All @@ -54,7 +54,7 @@

<mat-step [stepControl]="fixedDepositProductSettingsForm">

<ng-template matStepLabel>SETTINGS</ng-template>
<ng-template matStepLabel>{{'labels.inputs.SETTINGS' | translate}}</ng-template>

<mifosx-fixed-deposit-product-settings-step
[fixedDepositProductsTemplate]="fixedDepositProductsTemplate">
Expand All @@ -64,7 +64,7 @@

<mat-step [stepControl]="fixedDepositProductInterestRateChartForm">

<ng-template matStepLabel>INTEREST RATE CHART</ng-template>
<ng-template matStepLabel>{{'labels.inputs.INTEREST RATE CHART' | translate}}</ng-template>

<mifosx-fixed-deposit-product-interest-rate-chart-step
[fixedDepositProductsTemplate]="fixedDepositProductsTemplate">
Expand All @@ -74,7 +74,7 @@

<mat-step>

<ng-template matStepLabel>CHARGES</ng-template>
<ng-template matStepLabel>{{'labels.inputs.CHARGES' | translate}}</ng-template>

<mifosx-fixed-deposit-product-charges-step
[fixedDepositProductsTemplate]="fixedDepositProductsTemplate"
Expand All @@ -85,7 +85,7 @@

<mat-step [stepControl]="fixedDepositProductAccountingForm">

<ng-template matStepLabel>ACCOUNTING</ng-template>
<ng-template matStepLabel>{{'labels.inputs.ACCOUNTING' | translate}}</ng-template>

<mifosx-fixed-deposit-product-accounting-step
[fixedDepositProductsTemplate]="fixedDepositProductsTemplate" [accountingRuleData]="accountingRuleData"
Expand All @@ -96,7 +96,7 @@

<mat-step state="preview" *ngIf="fixedDepositProductFormValidAndNotPrinstine" completed>

<ng-template matStepLabel>PREVIEW</ng-template>
<ng-template matStepLabel>{{'labels.inputs.PREVIEW' | translate}}</ng-template>

<mifosx-fixed-deposit-product-preview-step
[fixedDepositProductsTemplate]="fixedDepositProductsTemplate"
Expand Down
Loading

0 comments on commit d846a80

Please sign in to comment.