Chore: Updated to Angular 16

This commit is contained in:
2023-07-23 09:01:18 +05:30
parent 9589081046
commit 78d98f979d
99 changed files with 416 additions and 232 deletions
@@ -19,9 +19,9 @@
</mat-form-field>
</div>
<div class="flex flex-row justify-around content-start items-start">
Total Incentive: <strong>{{ voucher.incentive | number : '1.2-2' }}</strong> Total Points:
<strong>{{ totalPoints() | number : '1.2-2' }}</strong> Point Value:
<strong>{{ pointValue() | number : '1.2-2' }}</strong>
Total Incentive: <strong>{{ voucher.incentive | number: '1.2-2' }}</strong> Total Points:
<strong>{{ totalPoints() | number: '1.2-2' }}</strong> Point Value:
<strong>{{ pointValue() | number: '1.2-2' }}</strong>
</div>
<mat-table #table [dataSource]="dataSource" formArrayName="incentives">
<!-- Name Column -->
@@ -46,7 +46,7 @@
<ng-container matColumnDef="daysWorked">
<mat-header-cell *matHeaderCellDef class="right">DaysWorked</mat-header-cell>
<mat-cell *matCellDef="let row" class="right">{{
row.daysWorked | number : '1.2-2'
row.daysWorked | number: '1.2-2'
}}</mat-cell>
</ng-container>
@@ -76,7 +76,7 @@
<ng-container matColumnDef="amount">
<mat-header-cell *matHeaderCellDef class="right">Amount</mat-header-cell>
<mat-cell *matCellDef="let row" class="right">{{
amount(row) | currency : 'INR'
amount(row) | currency: 'INR'
}}</mat-cell>
</ng-container>