From a51644bf9fdea95039c835917b00b5ba791c8b69 Mon Sep 17 00:00:00 2001 From: dan Date: Tue, 29 Dec 2020 15:47:27 -0700 Subject: [PATCH] update tax year --- .../contributor-yearly-report.component.html | 2 +- .../contributor-yearly-report.component.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Client/src/app/components/contributor-yearly-report/contributor-yearly-report.component.html b/Client/src/app/components/contributor-yearly-report/contributor-yearly-report.component.html index ad258a0..bf55e30 100644 --- a/Client/src/app/components/contributor-yearly-report/contributor-yearly-report.component.html +++ b/Client/src/app/components/contributor-yearly-report/contributor-yearly-report.component.html @@ -110,7 +110,7 @@
-

Old Fashion Baptist Church Giving Statement 2019

+

Old Fashion Baptist Church Giving Statement {{taxYear}}

Page {{pages}} of {{pages}}

diff --git a/Client/src/app/components/contributor-yearly-report/contributor-yearly-report.component.ts b/Client/src/app/components/contributor-yearly-report/contributor-yearly-report.component.ts index 2915843..93dd686 100644 --- a/Client/src/app/components/contributor-yearly-report/contributor-yearly-report.component.ts +++ b/Client/src/app/components/contributor-yearly-report/contributor-yearly-report.component.ts @@ -35,7 +35,7 @@ export class ContributorYearlyReportComponent implements OnInit { public contributorState: string = 'MT'; public contributorZip: string = '59701'; public taxYear: number = 2020; - + public rowsFirstPage: number = 13; public rowsPerPage: number = 31; @@ -109,7 +109,7 @@ export class ContributorYearlyReportComponent implements OnInit { plugins: [ChartDataLabels], type: 'bar', data: { - labels: ['2018', '2019'], + labels: [(this.taxYear - 1).toString(), this.taxYear.toString()], datasets: [{ label: 'General', data: [this.priorGeneral(), this.totalGeneral()],