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
@@ -96,7 +96,7 @@
<!-- Amount Column -->
<ng-container matColumnDef="amount">
<mat-header-cell *matHeaderCellDef class="right">Amount</mat-header-cell>
<mat-cell *matCellDef="let row" class="right">{{ row.amount | currency : 'INR' }}</mat-cell>
<mat-cell *matCellDef="let row" class="right">{{ row.amount | currency: 'INR' }}</mat-cell>
</ng-container>
<!-- User Column -->
@@ -38,7 +38,10 @@ export class EntriesComponent implements OnInit {
posted: boolean | null = null;
issue = false;
constructor(private route: ActivatedRoute, private router: Router) {
constructor(
private route: ActivatedRoute,
private router: Router,
) {
this.form = new FormGroup({
startDate: new FormControl(new Date(), { nonNullable: true }),
finishDate: new FormControl(new Date(), { nonNullable: true }),
+4 -1
View File
@@ -14,7 +14,10 @@ const serviceName = 'EntriesService';
providedIn: 'root',
})
export class EntriesService {
constructor(private http: HttpClient, private log: ErrorLoggerService) {}
constructor(
private http: HttpClient,
private log: ErrorLoggerService,
) {}
list(
start_date: string | null,