update tax year

test
dan 2020-12-29 15:47:27 -07:00
parent e4f976ea2a
commit a51644bf9f
2 changed files with 3 additions and 3 deletions

View File

@ -110,7 +110,7 @@
<tr *ngIf="i === fillerRows.length-1" class="footer">
<td colspan="6">
<div class="flex flex-justify-space-between">
<p>Old Fashion Baptist Church Giving Statement 2019</p>
<p>Old Fashion Baptist Church Giving Statement {{taxYear}}</p>
<p>Page {{pages}} of {{pages}}</p>
</div>
</td>

View File

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