![]() |
#6 |
Участник
|
Для первой страницы выполняется этот код:
X++: printFooter = this.totalsPage(FirstLast::First, true); printFooterPayment = this.totalsPage(FirstLast::First, true); printFooterEuro = this.totalsPage(FirstLast::First, this.printEuroTotals()); printFooterPrepaid = this.totalsPage(FirstLast::First, showFooterPrepaid); printFooterPrepaidEuro = this.totalsPage(FirstLast::First, showFooterPrepaidEuro); printDocuHeader = false; printGiro = this.totalsPageGiro(FirstLast::First, showFooterGiro); X++: if (element.page() != 1) { printFooter = this.totalsPage(FirstLast::Last, true); printFooterPayment = this.totalsPage(FirstLast::Last, true); printFooterEuro = this.totalsPage(FirstLast::Last, (ProjFormletterParameters::find().PrintEuroAmount && CompanyInfo::find().EuroCurrencyCode)); printGiro = this.totalsPageGiro(FirstLast::Last, showFooterGiro); } else { printFooter = true; printFooterPayment = true; printFooterEuro = ProjFormletterParameters::find().PrintEuroAmount && CompanyInfo::find().EuroCurrencyCode; printGiro = showFooterGiro; } |
|