mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Initial effort to make code 8.0 compatible.
This commit is contained in:
parent
07fa1b301f
commit
013ebbf039
@ -202,7 +202,7 @@ class Amount
|
|||||||
$fmt->setSymbol(NumberFormatter::CURRENCY_SYMBOL, $symbol);
|
$fmt->setSymbol(NumberFormatter::CURRENCY_SYMBOL, $symbol);
|
||||||
$fmt->setAttribute(NumberFormatter::MIN_FRACTION_DIGITS, $decimalPlaces);
|
$fmt->setAttribute(NumberFormatter::MIN_FRACTION_DIGITS, $decimalPlaces);
|
||||||
$fmt->setAttribute(NumberFormatter::MAX_FRACTION_DIGITS, $decimalPlaces);
|
$fmt->setAttribute(NumberFormatter::MAX_FRACTION_DIGITS, $decimalPlaces);
|
||||||
$result = $fmt->format($amount);
|
$result = $fmt->format((float) $amount);
|
||||||
|
|
||||||
if (true === $coloured) {
|
if (true === $coloured) {
|
||||||
if ($amount > 0) {
|
if ($amount > 0) {
|
||||||
|
@ -98,7 +98,7 @@
|
|||||||
"league/csv": "^9.6",
|
"league/csv": "^9.6",
|
||||||
"league/fractal": "0.*",
|
"league/fractal": "0.*",
|
||||||
"pragmarx/google2fa": "^8.0",
|
"pragmarx/google2fa": "^8.0",
|
||||||
"pragmarx/recovery": "^0.1.0",
|
"jc5/recovery": "^2",
|
||||||
"predis/predis": "^1.1",
|
"predis/predis": "^1.1",
|
||||||
"ramsey/uuid": "^4.1",
|
"ramsey/uuid": "^4.1",
|
||||||
"rcrowe/twigbridge": "^0.12.1"
|
"rcrowe/twigbridge": "^0.12.1"
|
||||||
|
Loading…
Reference in New Issue
Block a user