Form for issue #6 is complete, final checks about to be written. Mebbe tomorrow. [skip ci]

This commit is contained in:
James Cole
2014-08-13 21:35:05 +02:00
parent aa55827bfc
commit 2b42cb8ef3
5 changed files with 34 additions and 3 deletions

View File

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