From 5b62d70409b9b6705f256a8ef46e9979154764cd Mon Sep 17 00:00:00 2001 From: valentina Date: Thu, 19 Dec 2024 10:03:50 +0100 Subject: [PATCH] fix: #1563 stampa preventivo con subtotale --- templates/preventivi/body.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/templates/preventivi/body.php b/templates/preventivi/body.php index cc2026649..1d00b2339 100755 --- a/templates/preventivi/body.php +++ b/templates/preventivi/body.php @@ -235,6 +235,10 @@ foreach ($righe as $key => $riga) { echo ' '; + $autofill->next(); + + $next = $righe->flatten()[$num]; + if ($has_gruppo && ($next->is_titolo || $next == null) && ($options['pricing'] || $options['show-only-total'])) { echo ' @@ -264,9 +268,10 @@ foreach ($righe as $key => $riga) { '; } + $autofill->next(); + $autofill->next(); + $autofill->next(); } - - $autofill->next(); } echo '