Adjust rows per page
parent
cf0a57e8fd
commit
3858ef2299
|
|
@ -37,8 +37,8 @@ export class ContributorYearlyReportComponent implements OnInit {
|
||||||
public taxYear: number = 2022;
|
public taxYear: number = 2022;
|
||||||
|
|
||||||
|
|
||||||
public rowsFirstPage: number = 13;
|
public rowsFirstPage: number = 28;
|
||||||
public rowsPerPage: number = 31;
|
public rowsPerPage: number = 46;
|
||||||
public get fillerRows(): number[] {
|
public get fillerRows(): number[] {
|
||||||
const rowsToFillPage = this.rowsFirstPage + ((this.pages - 2) * this.rowsPerPage);
|
const rowsToFillPage = this.rowsFirstPage + ((this.pages - 2) * this.rowsPerPage);
|
||||||
const rowsNeeded = rowsToFillPage - this.transactions.length;
|
const rowsNeeded = rowsToFillPage - this.transactions.length;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue