From d8f295f1baa49d5a759b0efb4b3fecf293026c82 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 15 Jan 2022 21:21:26 -0700 Subject: [PATCH] update tax year again --- .../contributor-all-reports.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Client/src/app/components/contributor-all-reports/contributor-all-reports.component.ts b/Client/src/app/components/contributor-all-reports/contributor-all-reports.component.ts index 6d1177f..b6c0ab9 100644 --- a/Client/src/app/components/contributor-all-reports/contributor-all-reports.component.ts +++ b/Client/src/app/components/contributor-all-reports/contributor-all-reports.component.ts @@ -16,7 +16,8 @@ export class ContributorAllReportsComponent implements OnInit { constructor(private printService: PrintService, private userService: UserService, private transactionService: TransactionService) { } ngOnInit() { - const query = forkJoin([this.userService.getAll(), this.transactionService.getByYear(2020), this.transactionService.getByYear(2019)]); + const taxYear = 2021; + const query = forkJoin([this.userService.getAll(), this.transactionService.getByYear(taxYear), this.transactionService.getByYear(taxYear - 1)]); query.subscribe(res => this.setup(res[0], res[1], res[2]));