1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-11 15:14:01 +01:00

Risolto problema calcolo utile/perdita su piano dei conti

This commit is contained in:
Fabio Lovato 2018-09-07 17:22:12 +02:00
parent 0bb64a00f2
commit 93a1053340

View File

@ -265,6 +265,6 @@ for ($x = 0; $x < $n1; ++$x) {
} else {
echo "<p align='right'><big><b>RICAVI:</b> ".Translator::numberToLocale(sum($totale_ricavi))." &euro;</big></p>\n";
echo "<p align='right'><big><b>COSTI:</b> ".Translator::numberToLocale(abs(sum($totale_costi)))." &euro;</big></p>\n";
echo "<p align='right'><big><b>UTILE/PERDITA:</b> ".Translator::numberToLocale(sum($totale_ricavi) - sum(abs($totale_costi)))." &euro;</big></p>\n";
echo "<p align='right'><big><b>UTILE/PERDITA:</b> ".Translator::numberToLocale(sum($totale_ricavi) - abs(sum($totale_costi)))." &euro;</big></p>\n";
}
}