feat:Unificaction of radhathakare's PR (#1879)

* feat:Clients Translate Module

* feat: Collections Translate Module

* feat:Loan Translate Module

* feat:Search Translate Module

* feat English Json File

---------

Co-authored-by: radhathakare <radhathakare322@gmail.com>
This commit is contained in:
Francisco Cuandon
2023-10-18 10:50:03 -06:00
committed by GitHub
co-authored by radhathakare
parent 3e1067bfc6
commit d92f6c1c5e
111 changed files with 1502 additions and 1427 deletions
@@ -9,52 +9,52 @@
<div fxLayout="column">
<mat-form-field (click)="transactionsDatePicker.open()">
<mat-label>Transaction Date</mat-label>
<mat-label>{{"labels.inputs.Transaction Date" |translate}}</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="transactionsDatePicker" required
formControlName="transactionDate">
<mat-datepicker-toggle matSuffix [for]="transactionsDatePicker"></mat-datepicker-toggle>
<mat-datepicker #transactionsDatePicker></mat-datepicker>
<mat-error *ngIf="foreclosureForm.controls.transactionDate.hasError('required')">
Transaction Date <strong>is required</strong>
{{"labels.inputs.Transaction Date" |translate}} {{ "labels.commons.is" |translate}} <strong>{{ "labels.commons.required" |translate}}</strong>
</mat-error>
</mat-form-field>
<mat-form-field>
<mat-label>Principal</mat-label>
<mat-label>{{"labels.inputs.Principal" |translate}}</mat-label>
<input matInput formControlName="outstandingPrincipalPortion">
</mat-form-field>
<mat-form-field>
<mat-label>Interest</mat-label>
<mat-label>{{"labels.inputs.Interest" |translate}}</mat-label>
<input matInput formControlName="outstandingInterestPortion">
</mat-form-field>
<mat-form-field>
<mat-label>Fee Amount</mat-label>
<mat-label>{{"labels.inputs.Fee Amount" |translate}}</mat-label>
<input matInput formControlName="outstandingFeeChargesPortion">
</mat-form-field>
<mat-form-field>
<mat-label>Penalty Amount</mat-label>
<mat-label>{{"labels.inputs.Penalty Amount" |translate}}</mat-label>
<input matInput required formControlName="outstandingPenaltyChargesPortion">
</mat-form-field>
<mat-form-field>
<mat-label>Transaction Amount</mat-label>
<mat-label>{{"labels.inputs.Transaction Amount" |translate}}</mat-label>
<input matInput required formControlName="transactionAmount">
</mat-form-field>
<mat-form-field>
<mat-label>Note</mat-label>
<mat-label>{{"labels.inputs.Note" |translate}}</mat-label>
<textarea matInput formControlName="note" cdkTextareaAutosize cdkAutosizeMinRows="2"></textarea>
</mat-form-field>
</div>
<mat-card-actions fxLayout="row" fxLayout.xs="column" fxLayoutAlign="center" fxLayoutGap="5px">
<button type="button" mat-raised-button [routerLink]="['../../general']">Cancel</button>
<button type="button" mat-raised-button [routerLink]="['../../general']">{{"labels.buttons.Cancel" |translate}}</button>
<button mat-raised-button color="primary" [disabled]="!foreclosureForm.valid"
*mifosxHasPermission="'FORECLOSURE_LOAN'">Foreclosure</button>
*mifosxHasPermission="'FORECLOSURE_LOAN'">{{"labels.buttons.Foreclosure" |translate}}</button>
</mat-card-actions>
</mat-card-content>