Chore: Updated to Angular 16
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
>Closing Stock</mat-header-cell
|
||||
>
|
||||
<mat-cell *matCellDef="let row" class="right middle">{{
|
||||
row.quantity | number : '0.2-2'
|
||||
row.quantity | number: '0.2-2'
|
||||
}}</mat-cell>
|
||||
</ng-container>
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
<ng-container matColumnDef="variance" class="middle">
|
||||
<mat-header-cell *matHeaderCellDef class="right">Variance</mat-header-cell>
|
||||
<mat-cell *matCellDef="let row" class="right middle">{{
|
||||
row.quantity - row.physical | number : '0.2-2'
|
||||
row.quantity - row.physical | number: '0.2-2'
|
||||
}}</mat-cell>
|
||||
</ng-container>
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
>Amount</mat-header-cell
|
||||
>
|
||||
<mat-cell *matCellDef="let row" class="right">{{
|
||||
row.amount | currency : 'INR'
|
||||
row.amount | currency: 'INR'
|
||||
}}</mat-cell>
|
||||
</ng-container>
|
||||
|
||||
|
||||
@@ -14,7 +14,10 @@ const serviceName = 'ClosingStockService';
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class ClosingStockService {
|
||||
constructor(private http: HttpClient, private log: ErrorLoggerService) {}
|
||||
constructor(
|
||||
private http: HttpClient,
|
||||
private log: ErrorLoggerService,
|
||||
) {}
|
||||
|
||||
list(date: string | null, costCentre: string | null): Observable<ClosingStock> {
|
||||
const listUrl = date === null ? url : `${url}/${date}`;
|
||||
|
||||
Reference in New Issue
Block a user