We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e532c63 commit fdd18d2Copy full SHA for fdd18d2
1 file changed
templates/fatture/body.php
@@ -27,7 +27,7 @@
27
28
// Creazione righe fantasma ottimizzata
29
$autofill = new Util\Autofill(6, 70);
30
-$rows_per_page = 25;
+$rows_per_page = $fattura_accompagnatoria ? 20 : 25;
31
32
// Calcolo ottimizzato delle righe da sottrarre
33
$c = 0;
@@ -49,11 +49,8 @@
49
}
50
51
// Diminuisco le righe disponibili per pagina
52
-if ($fattura_accompagnatoria) {
53
- $autofill->setRows(20 - $c, 0, 35);
54
-} else {
55
- $autofill->setRows($rows_per_page - $c, 0, 30);
56
-}
+$autofill->setRows($rows_per_page - $c, 0, 35 - $c);
+
57
58
// Intestazione tabella per righe
59
echo "
0 commit comments