In tutto il testo ho modificato solo il rigo 29, portando il "7" a "1" e funziona.
25 // Creazione righe fantasma
26 $autofill = new \Util\Autofill(6, 40);
27 $rows_per_page = $fattura_accompagnatoria ? 13 : 18;
28 if (!empty($options['last-page-footer'])) {
29 $rows_per_page += 7;
30 }
31 $autofill->setRows($rows_per_page);
GRAZIE.