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 '