Can now create auto budget over API

This commit is contained in:
James Cole
2020-03-14 07:30:55 +01:00
parent 309633069c
commit d1d11ae717
15 changed files with 183 additions and 47 deletions

View File

@@ -98,11 +98,11 @@ class BudgetTransformer extends AbstractTransformer
'updated_at' => $budget->updated_at->toAtomString(),
'active' => $budget->active,
'name' => $budget->name,
'auto_budget_type' => $abType,
'auto_budget_period' => $abPeriod,
'auto_budget_currency_id' => $abCurrencyId,
'auto_budget_currency_code' => $abCurrencyCode,
'auto_budget_type' => $abType,
'auto_budget_amount' => $abAmount,
'auto_budget_period' => $abPeriod,
'spent' => $spent,
'links' => [
[