Fixed Deposit account view update (#1881)

Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
José Alberto Hernández
2023-10-19 00:07:22 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent d92f6c1c5e
commit c7fe21e74a
217 changed files with 23945 additions and 1869 deletions
@@ -1,32 +1,32 @@
<div class="container">
<div fxFlexFill>
<span fxFlex="40%">{{"labels.inputs.Maximum allowed outstanding balance" |translate}}:</span>
<span fxFlex="40%">{{"labels.inputs.Maximum allowed outstanding balance" | translate }}:</span>
<span fxFlex="60%">{{ loanDetails.maxOutstandingLoanBalance | formatNumber }}</span>
</div>
<h3>{{"labels.heading.Loan Tranche Details" |translate}}</h3>
<h3>{{"labels.heading.Loan Tranche Details" | translate }}</h3>
<div fxLayout="row" class="margin-t" fxLayout.xs="column" fxLayoutAlign="flex-end" fxLayoutGap="2%">
<button mat-raised-button color="primary" *ngIf="showAddTrancheButtons()"
(click)="addDisbursementDataEntry()">
<fa-icon icon="plus" class="m-r-10"></fa-icon>{{"labels.buttons.Add" |translate}}
<fa-icon icon="plus" class="m-r-10"></fa-icon>{{"labels.buttons.Add" | translate }}
</button>
<button mat-raised-button color="primary" *ngIf="!pristine"
(click)="editDisbursementData()">
{{"labels.buttons.Apply Changes" |translate}}
{{"labels.buttons.Apply Changes" | translate }}
</button>
</div>
<table mat-table [dataSource]="disbursementDataSource" *ngIf="disbursementDataSource.length > 0">
<ng-container matColumnDef="expected disbursement on">
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.Expected Disbursement On" |translate}} </th>
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.Expected Disbursement On" | translate }} </th>
<td mat-cell *matCellDef="let ele"> {{ ele.expectedDisbursementDate | dateFormat}} </td>
</ng-container>
<ng-container matColumnDef="disbursed on">
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.Disbursed On" |translate}} </th>
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.Disbursed On" | translate }} </th>
<td mat-cell *matCellDef="let ele">
<span *ngIf="ele.actualDisbursementDate">
{{ ele.actualDisbursementDate | dateFormat }}
@@ -35,12 +35,12 @@
</ng-container>
<ng-container matColumnDef="principal">
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.Principal" |translate}} </th>
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.Principal" | translate }} </th>
<td mat-cell *matCellDef="let ele"> {{ ele.principal }} </td>
</ng-container>
<ng-container matColumnDef="action">
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.Actions" |translate}} </th>
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.Actions" | translate }} </th>
<td mat-cell *matCellDef="let ele; let rowIndex = index">
<span *ngIf="ele.actualDisbursementDate">
<i class="fa fa-check "></i>
@@ -64,17 +64,17 @@
<div *ngIf="loanDetails.emiAmountVariations.length > 0">
<h3>{{"labels.heading.Installment Amount Variations" |translate}}: </h3>
<h3>{{"labels.heading.Installment Amount Variations" | translate }}: </h3>
<table mat-table [dataSource]="loanDetails.emiAmountVariations">
<ng-container matColumnDef="emi amount variation from">
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.Applicable From Date" |translate}} </th>
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.Applicable From Date" | translate }} </th>
<td mat-cell *matCellDef="let ele"> {{ ele.termVariationApplicableFrom | dateFormat}} </td>
</ng-container>
<ng-container matColumnDef="fixed emi amount">
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.Installment Amount" |translate}} </th>
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.Installment Amount" | translate }} </th>
<td mat-cell *matCellDef="let ele"> {{ ele.termValue }} </td>
</ng-container>