Fix in products view routes (#1643)
Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
f330e91aa4
commit
a56347d400
+8
-8
@@ -15,7 +15,7 @@
|
||||
Provisioning Criteria is <strong>required</strong>
|
||||
</mat-error>
|
||||
</mat-form-field>
|
||||
|
||||
|
||||
<mat-form-field fxFlex>
|
||||
<mat-label>Selected Products</mat-label>
|
||||
<mat-select formControlName="loanProducts" [compareWith]="compareOptions" multiple>
|
||||
@@ -41,7 +41,7 @@
|
||||
<th mat-header-cell *matHeaderCellDef> Category </th>
|
||||
<td mat-cell *matCellDef="let definition"> {{ definition.categoryName }} </td>
|
||||
</ng-container>
|
||||
|
||||
|
||||
<ng-container matColumnDef="minAge">
|
||||
<th mat-header-cell *matHeaderCellDef> Min Age </th>
|
||||
<td mat-cell *matCellDef="let definition"> {{ definition.minAge || '0' }} </td>
|
||||
@@ -51,7 +51,7 @@
|
||||
<th mat-header-cell *matHeaderCellDef> Max Age </th>
|
||||
<td mat-cell *matCellDef="let definition"> {{ definition.maxAge || '0' }} </td>
|
||||
</ng-container>
|
||||
|
||||
|
||||
<ng-container matColumnDef="percentage">
|
||||
<th mat-header-cell *matHeaderCellDef> Percentage (%)</th>
|
||||
<td mat-cell *matCellDef="let definition"> {{ definition.provisioningPercentage || '0' }} </td>
|
||||
@@ -61,7 +61,7 @@
|
||||
<th mat-header-cell *matHeaderCellDef> Liability Account </th>
|
||||
<td mat-cell *matCellDef="let definition"> {{ (definition.liabilityAccount | find:loanProvisioningCriteriaAndTemplate.glAccounts:'id':'name') || '-' }} </td>
|
||||
</ng-container>
|
||||
|
||||
|
||||
<ng-container matColumnDef="expenseAccount">
|
||||
<th mat-header-cell *matHeaderCellDef> Expense Account </th>
|
||||
<td mat-cell *matCellDef="let definition"> {{ (definition.expenseAccount | find:loanProvisioningCriteriaAndTemplate.glAccounts:'id':'name') || '-' }} </td>
|
||||
@@ -71,18 +71,18 @@
|
||||
<th mat-header-cell *matHeaderCellDef> Actions </th>
|
||||
<td mat-cell *matCellDef="let definition">
|
||||
<button mat-button color="primary" (click)="editDefinition(definition)">
|
||||
<fa-icon icon="edit"></fa-icon>
|
||||
<fa-icon icon="edit" class="m-r-10"></fa-icon>
|
||||
Edit
|
||||
</button>
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
|
||||
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
||||
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="m-t-20" fxLayout="row" fxLayoutAlign="center" fxLayoutGap="20px">
|
||||
<button type="button" mat-raised-button [routerLink]="['../']">Cancel</button>
|
||||
|
||||
Reference in New Issue
Block a user