Closed michaelhettwer closed 6 years ago
Thanks for your PR! May you please add a PDF/Screenshot or steps how to reproduce the problem? I don't understand what you want to fix :-)
Hey Fabian
after selecting more than one invoices and select print invoices the generated pdf files includes duplicate header lines.
Invoice-Nr, Customer Nr and Vat ID are included in the first pdf: 1 time in the second: 2 times in the third: 3 times
after empty the array the issue is fixed :-)
best
michael
Thanks.
_headerLines
is an array. You set it to an empty string. It should probably be set to array()
.
Of course, it should be. Thanks ;-)
Thanks, I'll fix that. But I prefer to reset the headerLines on loop start :-)
Yeah, of course. Array() and on Loop start. Sorry for quick dirt fixing ;-)
Thanks for bringing it up! <3
Fix problem with duplicate header lines -> Mass Printing PDF SolutioN: Empty array after generating each header