mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-11 16:41:59 -06:00
make sure amount is a string.
This commit is contained in:
parent
3782388e45
commit
22cb9dfbe0
@ -107,7 +107,7 @@ class AccountTransformer extends AbstractTransformer
|
||||
'currency_code' => $currencyCode,
|
||||
'currency_symbol' => $currencySymbol,
|
||||
'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'),
|
||||
'notes' => $this->repository->getNoteText($account),
|
||||
'monthly_payment_date' => $monthlyPaymentDate,
|
||||
|
Loading…
Reference in New Issue
Block a user