This commit is contained in:
Thomas Zilio 2018-01-04 17:03:20 +01:00
parent 189dcc7c3a
commit a39b44899a
1 changed files with 2 additions and 2 deletions

View File

@ -132,11 +132,11 @@ foreach ($righe as $r) {
// Imponibile
echo "
<td class='text-right'>
".(empty($r['subtotale']) ? '' : Translator::numberToLocale($r['subtotale'])).' &euro;';
".(empty($r['subtotale']) ? '' : Translator::numberToLocale($r['subtotale'] - $r['sconto'])).' &euro;';
if ($r['sconto'] > 0) {
echo "
<br><small class='text-muted'>- ".tr('sconto _TOT_ _TYPE_', [
<br><small class='text-muted'>".tr('sconto di _TOT_ _TYPE_', [
'_TOT_' => Translator::numberToLocale($r['sconto']),
'_TYPE_' => '&euro;',
]).'</small>';