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 c29750c commit f5f5b97Copy full SHA for f5f5b97
1 file changed
templates/ddt/body.php
@@ -24,7 +24,15 @@
24
25
// Creazione righe fantasma ottimizzata
26
$autofill = new Util\Autofill($options['pricing'] ? 7 : 4, 70);
27
-$rows_per_page = ($documento['note'] || $options['pricing'] ? ($tipo_doc == 'Ddt in uscita' ? 21 : 24) : 27);
+
28
+if ($options['pricing']) {
29
+ $rows_per_page = 23;
30
+} elseif ($documento['note']) {
31
+ $rows_per_page = 20;
32
+} else {
33
+ $rows_per_page = 26;
34
+}
35
36
$autofill->setRows($rows_per_page, 0, $options['last-page-footer'] ? 34 : $rows_per_page);
37
38
// Calcolo ottimizzato delle righe occupate dall'intestazione
0 commit comments