Allow edit from budget overview, and allow changing of active setting.

This commit is contained in:
James Cole
2015-03-29 21:27:13 +02:00
parent d4c642741f
commit 210f84b6ea
5 changed files with 20 additions and 1 deletions

View File

@@ -104,6 +104,7 @@ class BudgetRepository implements BudgetRepositoryInterface
{
// update the account:
$budget->name = $data['name'];
$budget->active = $data['active'];
$budget->save();
return $budget;