mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-02 17:07:01 +01:00
Ritenuta acconto sempre positiva
This commit is contained in:
parent
ca9a480f92
commit
b568df28fa
@ -388,7 +388,7 @@ if (!empty($fattura->ritenuta_acconto)) {
|
||||
<b>'.tr("Ritenuta d'acconto", [], ['upper' => true]).':</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
'.moneyFormat($fattura->ritenuta_acconto, 2).'
|
||||
'.moneyFormat(abs($fattura->ritenuta_acconto), 2).'
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>';
|
||||
|
@ -242,13 +242,13 @@ if (!empty($record['ritenutaacconto']) || !empty($fattura->totale_ritenuta_contr
|
||||
|
||||
<tr>
|
||||
<td class="cell-padded text-center" colspan="'.$first_colspan.'">
|
||||
'.moneyFormat($record['ritenutaacconto'] + $fattura->totale_ritenuta_contributi, 2).'
|
||||
'.moneyFormat(abs($fattura->ritenuta_acconto) + $fattura->totale_ritenuta_contributi, 2).'
|
||||
</td>';
|
||||
|
||||
echo '
|
||||
|
||||
<td class="cell-padded text-center" colspan="'.$second_colspan.'">
|
||||
'.moneyFormat($totale - $record['ritenutaacconto'] - $fattura->totale_ritenuta_contributi, 2).'
|
||||
'.moneyFormat($totale - abs($fattura->ritenuta_acconto) - $fattura->totale_ritenuta_contributi, 2).'
|
||||
</td>
|
||||
</tr>';
|
||||
}
|
||||
@ -276,7 +276,7 @@ if (!empty($record['split_payment'])) {
|
||||
</td>
|
||||
|
||||
<td class="cell-padded text-center" colspan="'.$second_colspan.'">
|
||||
'.moneyFormat($totale - $totale_iva - $record['ritenutaacconto'] - $fattura->totale_ritenuta_contributi, 2).'
|
||||
'.moneyFormat($totale - $totale_iva - abs($fattura->ritenuta_acconto) - $fattura->totale_ritenuta_contributi, 2).'
|
||||
</td>
|
||||
</tr>';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user