mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Bugfix: Foreign Amount rounded on some pages
This commit is contained in:
parent
4d8d9cb87d
commit
797064a119
@ -351,7 +351,7 @@ class TransactionGroupTransformer extends AbstractTransformer
|
||||
$bill = $this->getBill($journal->bill);
|
||||
|
||||
if (null !== $foreignAmount && null !== $foreignCurrency) {
|
||||
$foreignAmount = number_format((float)$foreignAmount, $foreignCurrency->decimal_places ?? 0, '.', '');
|
||||
$foreignAmount = number_format((float)$foreignAmount, $foreignCurrency['decimal_places'] ?? 0, '.', '');
|
||||
}
|
||||
|
||||
$longitude = null;
|
||||
|
Loading…
Reference in New Issue
Block a user