mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-28 14:20:47 +00:00
make sure amount is a string.
This commit is contained in:
@@ -107,7 +107,7 @@ class AccountTransformer extends AbstractTransformer
|
|||||||
'currency_code' => $currencyCode,
|
'currency_code' => $currencyCode,
|
||||||
'currency_symbol' => $currencySymbol,
|
'currency_symbol' => $currencySymbol,
|
||||||
'currency_decimal_places' => $decimalPlaces,
|
'currency_decimal_places' => $decimalPlaces,
|
||||||
'current_balance' => round(app('steam')->balance($account, $date), $decimalPlaces),
|
'current_balance' => (string) round(app('steam')->balance($account, $date), $decimalPlaces),
|
||||||
'current_balance_date' => $date->format('Y-m-d'),
|
'current_balance_date' => $date->format('Y-m-d'),
|
||||||
'notes' => $this->repository->getNoteText($account),
|
'notes' => $this->repository->getNoteText($account),
|
||||||
'monthly_payment_date' => $monthlyPaymentDate,
|
'monthly_payment_date' => $monthlyPaymentDate,
|
||||||
|
|||||||
Reference in New Issue
Block a user