1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-19 21:10:49 +01:00

Fix minore

This commit is contained in:
Pek5892 2024-05-29 12:50:27 +02:00
parent 8230d44ead
commit 28405b4492

View File

@ -320,7 +320,7 @@ foreach ($righe as $key => $riga) {
if ($has_gruppo && ($next->is_titolo || $next == null) && ($options['pricing'] || $options['show-only-total'])) { 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 : 4).'" class="text-right">
<b>'.tr('Subtotale', [], ['upper' => true]).':</b> <b>'.tr('Subtotale', [], ['upper' => true]).':</b>
</td> </td>
<td colspan="'.($options['show-only-total'] ? (($has_image) ? 2 : 1) : (($has_image) ? 3 : 2)).'" class="text-right"> <td colspan="'.($options['show-only-total'] ? (($has_image) ? 2 : 1) : (($has_image) ? 3 : 2)).'" class="text-right">
@ -330,7 +330,7 @@ foreach ($righe as $key => $riga) {
if (!$options['no-iva']) { if (!$options['no-iva']) {
echo ' echo '
<tr> <tr>
<td colspan="'.($options['show-only-total'] ? 2 : 5).'" class="text-right"> <td colspan="'.($options['show-only-total'] ? 2 : 4).'" class="text-right">
<b>'.tr('Iva', [], ['upper' => true]).':</b> <b>'.tr('Iva', [], ['upper' => true]).':</b>
</td> </td>
<td colspan="'.($options['show-only-total'] ? (($has_image) ? 2 : 1) : (($has_image) ? 3 : 2)).'" class="text-right"> <td colspan="'.($options['show-only-total'] ? (($has_image) ? 2 : 1) : (($has_image) ? 3 : 2)).'" class="text-right">