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()],