The formatAmount shows no longer an absolute ammount when in text mode.

This commit is contained in:
Lukas Halbritter
2018-10-05 19:39:35 +02:00
parent 8ed668cacc
commit 108fc07cdb
+1 -1
View File
@@ -49,7 +49,7 @@ function formatAmount(float $amount, $cash = true, $text = false,
number_format(abs($amount), $decimals, ',', '.') . $euro . $span;
}
return number_format(abs($amount), $decimals, ',', '.') . $euro;
return number_format($amount, $decimals, ',', '.') . $euro;
}
/**