Pretty much finished the default piggy banks, now for the repeating ones (issue #6). [skip ci]

This commit is contained in:
James Cole
2014-08-14 18:02:31 +02:00
parent 5f710f4c23
commit e063e5686f
4 changed files with 29 additions and 45 deletions

View File

@@ -35,9 +35,10 @@ class PiggybankController extends BaseController
public function createRepeated()
{
$periods = Config::get('firefly.piggybank_periods');
$accounts = $this->_accounts->getActiveDefaultAsSelectList();
return View::make('piggybanks.create')->with('accounts', $accounts);
return View::make('piggybanks.create-repeated')->with('accounts', $accounts)->with('periods',$periods);
}