1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-17 03:51:06 +01:00
This commit is contained in:
valentina 2024-10-07 16:36:32 +02:00
parent a4806500ac
commit 4df3779254

View File

@ -331,10 +331,16 @@ echo '
<tr>
<td class="cell-padded text-center" colspan="'.$first_colspan.'">
'.moneyFormat($totale_iva, $d_totali).'
</td>
<td class="cell-padded text-center" colspan="'.$second_colspan.'">
'.moneyFormat($totale, $d_totali).'
</td>';
if ($has_ritenuta || $show_sconto || $has_rivalsa) {
echo'<td class="cell-padded text-center" colspan="'.$second_colspan.'">
'.moneyFormat($totale, $d_total);
} else {
echo'
<td class="cell-padded text-center" colspan="'.$second_colspan.'" style="background-color:#77dd77;">
<b>'.moneyFormat($totale, $d_total).'</b>';
}
echo'
</td>
</tr>';
@ -415,8 +421,8 @@ if ($has_ritenuta) {
$totale = $totale - ($ritenuta_acconto_totale + $ritenuta_contributi_totale);
echo '
<td class="cell-padded text-center" colspan="'.$second_colspan.'">
'.moneyFormat($totale, 2).'
<td class="cell-padded text-center" colspan="'.$second_colspan.'" style="background-color:#77dd77;">
<b>'.moneyFormat($totale, 2).'</b>
</td>
</tr>';
}