This commit is contained in:
James Cole
2018-05-26 07:48:49 +02:00
parent 4031057bc0
commit 664451d0c6
12 changed files with 88 additions and 50 deletions

View File

@@ -166,6 +166,7 @@ class PiggyBankTransformer extends TransformerAbstract
'percentage' => $percentage,
'current_amount' => $currentAmount,
'left_to_save' => round($leftToSave, $decimalPlaces),
'save_per_month' => $piggyRepos->getSuggestedMonthlyAmount($piggyBank),
'startdate' => $startDate,
'targetdate' => $targetDate,
'order' => (int)$piggyBank->order,