Corretti calcoli marca da bollo a video e in stampa

This commit is contained in:
Fabio Lovato 2017-12-15 20:46:41 +01:00
parent 6004ec19a2
commit 757d53e844
4 changed files with 5 additions and 3 deletions

2
modules/fatture/row-list.php Normal file → Executable file
View File

@ -363,6 +363,8 @@ if (abs($records[0]['ritenutaacconto']) > 0) {
</td>
<td></td>
</tr>';
//$netto_a_pagare -= $records[0]['ritenutaacconto'];
}
// NETTO A PAGARE

View File

@ -207,7 +207,7 @@ if (abs($records[0]['bollo']) > 0) {
// Info per il footer
$imponibile = sum($imponibile);
$iva = sum($iva);
$iva = sum($iva) + $records[0]['iva_rivalsainps'];
$sconto = sum($sconto);
$totale = $imponibile + $iva - $sconto;
$totale = $imponibile + $iva - $sconto + $records[0]['rivalsainps'];

View File

@ -213,7 +213,7 @@ if (!empty($records[0]['rivalsainps'])) {
echo '
<td class="cell-padded text-center" colspan="'.$second_colspan.'">
'.Translator::numberToLocale($totale + $records[0]['rivalsainps']).' &euro;
'.Translator::numberToLocale($totale).' &euro;
</td>
</tr>';
}

0
templates/fatture/header.php Normal file → Executable file
View File