Fix stampa preventivo senza prezzi

This commit is contained in:
Pek5892 2023-10-06 11:40:41 +02:00
parent d676fee946
commit 8fc61a8199
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ foreach ($righe as $key => $riga) {
$autofill->next(); $autofill->next();
$next = $righe->flatten()[$num]; $next = $righe->flatten()[$num];
if ($has_gruppo && ($next->is_titolo || $next == null)) { if ($has_gruppo && ($next->is_titolo || $next == null) && ($options['pricing'] || ($options['show-only-total']))) {
echo ' echo '
<tr> <tr>
<td colspan="'.($options['show-only-total'] ? 2 : 5).'" class="text-right"> <td colspan="'.($options['show-only-total'] ? 2 : 5).'" class="text-right">