mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 22:21:42 +00:00
Double check on integers for https://github.com/firefly-iii/firefly-iii/issues/3554
This commit is contained in:
@@ -112,13 +112,13 @@ class PiggyBankTransformer extends AbstractTransformer
|
||||
'id' => (int) $piggyBank->id,
|
||||
'created_at' => $piggyBank->created_at->toAtomString(),
|
||||
'updated_at' => $piggyBank->updated_at->toAtomString(),
|
||||
'account_id' => $piggyBank->account_id,
|
||||
'account_id' => (int) $piggyBank->account_id,
|
||||
'account_name' => $piggyBank->account->name,
|
||||
'name' => $piggyBank->name,
|
||||
'currency_id' => $currency->id,
|
||||
'currency_id' => (int) $currency->id,
|
||||
'currency_code' => $currency->code,
|
||||
'currency_symbol' => $currency->symbol,
|
||||
'currency_decimal_places' => $currency->decimal_places,
|
||||
'currency_decimal_places' => (int) $currency->decimal_places,
|
||||
'target_amount' => number_format((float) $targetAmount, $currency->decimal_places, '.', ''),
|
||||
'percentage' => $percentage,
|
||||
'current_amount' => $currentAmount,
|
||||
|
||||
Reference in New Issue
Block a user