Fix #5371 in other places as well.

This commit is contained in:
James Cole
2021-12-07 06:15:27 +01:00
parent c8ffc81527
commit 79c70c59e3
3 changed files with 4 additions and 4 deletions

View File

@@ -87,7 +87,7 @@ class EditController extends Controller
$preFilled = ['name' => $piggyBank->name,
'account_id' => $piggyBank->account_id,
'targetamount' => number_format((float)$piggyBank->targetamount, $currency->decimal_places),
'targetamount' => number_format((float)$piggyBank->targetamount, $currency->decimal_places,'.',''),
'targetdate' => $targetDate,
'startdate' => $startDate,
'object_group' => $piggyBank->objectGroups->first() ? $piggyBank->objectGroups->first()->title : '',