1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-26 16:27:47 +01:00
This commit is contained in:
valentina 2024-10-07 16:36:32 +02:00
parent ccaf74c512
commit 9b3e6e5a6b

View File

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