Fixed Deposit account view update (#1881)
Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
d92f6c1c5e
commit
c7fe21e74a
+9
-9
@@ -1,44 +1,44 @@
|
||||
<h1 mat-dialog-title>{{"labels.heading.Add Loan Collateral" |translate}}</h1>
|
||||
<h1 mat-dialog-title>{{"labels.heading.Add Loan Collateral" | translate }}</h1>
|
||||
|
||||
<div mat-dialog-content [formGroup]="addCollateralForm" fxLayout="column">
|
||||
|
||||
<mat-form-field>
|
||||
<mat-label>{{"labels.inputs.Collateral" |translate}}</mat-label>
|
||||
<mat-label>{{"labels.inputs.Collateral" | translate }}</mat-label>
|
||||
<mat-select formControlName="collateral" required>
|
||||
<mat-option *ngFor="let collateralType of collateralTypeData" [value]="collateralType" >
|
||||
{{ collateralType.name }}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
<mat-error>
|
||||
{{"labels.inputs.Collateral" |translate}} {{ "labels.commons.is" |translate}} <strong>{{ "labels.commons.required" |translate}}</strong>
|
||||
{{"labels.inputs.Collateral" | translate }} {{ "labels.commons.is" | translate }} <strong>{{ "labels.commons.required" | translate }}</strong>
|
||||
</mat-error>
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field>
|
||||
<mat-label>{{"labels.inputs.Quantity" |translate}}</mat-label>
|
||||
<mat-label>{{"labels.inputs.Quantity" | translate }}</mat-label>
|
||||
<input type="number" [max]="maxQuantity" [min]="0" matInput formControlName="quantity" required>
|
||||
<mat-error *ngIf="addCollateralForm.controls.quantity.hasError('required')">
|
||||
{{"labels.inputs.Quantity" |translate}} {{ "labels.commons.is" |translate}} <strong>{{ "labels.commons.required" |translate}}</strong>
|
||||
{{"labels.inputs.Quantity" | translate }} {{ "labels.commons.is" | translate }} <strong>{{ "labels.commons.required" | translate }}</strong>
|
||||
</mat-error>
|
||||
<mat-error *ngIf="addCollateralForm.controls.quantity.hasError('max')">
|
||||
{{"labels.inputs.Quantity can not be more than" |translate}} <strong>{{ maxQuantity }}</strong>
|
||||
{{"labels.inputs.Quantity can not be more than" | translate }} <strong>{{ maxQuantity }}</strong>
|
||||
</mat-error>
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field>
|
||||
<mat-label>{{"labels.inputs.Total Value" |translate}}</mat-label>
|
||||
<mat-label>{{"labels.inputs.Total Value" | translate }}</mat-label>
|
||||
<input type="text" matInput formControlName="totalValue" [disabled]="true">
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field>
|
||||
<mat-label>{{"labels.inputs.Total Collateral Value" |translate}}</mat-label>
|
||||
<mat-label>{{"labels.inputs.Total Collateral Value" | translate }}</mat-label>
|
||||
<input type="text" matInput formControlName="totalCollateralValue" [disabled]="true">
|
||||
</mat-form-field>
|
||||
|
||||
</div>
|
||||
|
||||
<mat-dialog-actions fxLayout="row" fxLayout.xs="column" fxLayoutAlign="center" fxLayoutGap="2%">
|
||||
<button mat-raised-button mat-dialog-close> {{"labels.buttons.Cancel" |translate}} </button>
|
||||
<button mat-raised-button mat-dialog-close> {{"labels.buttons.Cancel" | translate }} </button>
|
||||
<button mat-raised-button color="primary" [mat-dialog-close]="{ data: addCollateralForm }"
|
||||
[disabled]="!addCollateralForm.valid || addCollateralForm.pristine">{{ layout.addButtonText }}</button>
|
||||
</mat-dialog-actions>
|
||||
|
||||
+9
-9
@@ -1,37 +1,37 @@
|
||||
<h1 mat-dialog-title>{{"labels.heading.Guarantor Detail" |translate}}</h1>
|
||||
<h1 mat-dialog-title>{{"labels.heading.Guarantor Detail" | translate }}</h1>
|
||||
|
||||
<div mat-dialog-content fxLayout="column">
|
||||
|
||||
<div fxLayout="row wrap" fxLayout.lt-md="column">
|
||||
|
||||
<div fxFlexFill>
|
||||
<span fxFlex="50%">{{"labels.inputs.First Name" |translate}}:</span>
|
||||
<span fxFlex="50%">{{"labels.inputs.First Name" | translate }}:</span>
|
||||
<span fxFlex="50%">{{ data.guarantorData.firstname }}</span>
|
||||
</div>
|
||||
|
||||
<div fxFlexFill>
|
||||
<span fxFlex="50%">{{"labels.inputs.Last Name" |translate}}:</span>
|
||||
<span fxFlex="50%">{{"labels.inputs.Last Name" | translate }}:</span>
|
||||
<span fxFlex="50%">{{ data.guarantorData.lastname }}</span>
|
||||
</div>
|
||||
|
||||
<div fxFlexFill>
|
||||
<span fxFlex="50%">{{"labels.inputs.Relationship" |translate}}:</span>
|
||||
<span fxFlex="50%">{{"labels.inputs.Relationship" | translate }}:</span>
|
||||
<span fxFlex="50%">{{ data.guarantorData.clientRelationshipType.name }}</span>
|
||||
</div>
|
||||
|
||||
<div fxFlexFill>
|
||||
<span fxFlex="50%">{{"labels.inputs.Guarantor Type" |translate}}:</span>
|
||||
<span fxFlex="50%">{{"labels.inputs.Guarantor Type" | translate }}:</span>
|
||||
<span fxFlex="50%">{{ data.guarantorData.guarantorType.value }}</span>
|
||||
</div>
|
||||
|
||||
<div fxFlexFill>
|
||||
<span fxFlex="50%">{{"labels.inputs.Status" |translate}}:</span>
|
||||
<span fxFlex="50%">{{"labels.inputs.Status" | translate }}:</span>
|
||||
<span fxFlex="50%">
|
||||
<span *ngIf="data.guarantorData.status">
|
||||
{{"labels.inputs.Active" |translate}}
|
||||
{{"labels.inputs.Active" | translate }}
|
||||
</span>
|
||||
<span *ngIf="!data.guarantorData.status">
|
||||
{{"labels.inputs.Deleted" |translate}}
|
||||
{{"labels.inputs.Deleted" | translate }}
|
||||
</span></span>
|
||||
</div>
|
||||
|
||||
@@ -40,5 +40,5 @@
|
||||
</div>
|
||||
|
||||
<mat-dialog-actions fxLayout="row" fxLayout.xs="column" fxLayoutAlign="center" fxLayoutGap="2%">
|
||||
<button mat-raised-button mat-dialog-close> {{"labels.buttons.Cancel" |translate}} </button>
|
||||
<button mat-raised-button mat-dialog-close> {{"labels.buttons.Cancel" | translate }} </button>
|
||||
</mat-dialog-actions>
|
||||
|
||||
Reference in New Issue
Block a user