Added the input when creating new transactions.

This commit is contained in:
James Cole 2014-11-13 21:27:50 +01:00
parent 58d8b6f95b
commit f511a25c94
3 changed files with 6 additions and 2 deletions

View File

@ -294,7 +294,7 @@ class TransactionController extends BaseController
Session::flash('success', 'New transaction stored!');
if ($data['post_submit_action'] == 'create_another') {
return Redirect::route('transactions.create', $what);
return Redirect::route('transactions.create', $what)->withInput();
} else {
return Redirect::route('transactions.index', $what);
}

View File

@ -68,7 +68,7 @@ class EloquentAccountRepository implements AccountRepositoryInterface
/**
*
* TODO
*
* Also delete: initial balance, initial balance account, and transactions
*/

View File

@ -20,6 +20,10 @@
require __DIR__.'/../bootstrap/autoload.php';
/*
* TODO: add "Create new X" button to any list there is: categories, accounts, piggies, etc.
*/
/*
|--------------------------------------------------------------------------
| Turn On The Lights