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]));