New stuff!

This commit is contained in:
James Cole
2014-12-07 15:37:53 +01:00
parent 742479bb01
commit 6aecd77b77
31 changed files with 678 additions and 477 deletions

View File

@@ -33,13 +33,13 @@ class ReminderController extends BaseController
break;
case 'Piggybank':
$amount = Reminders::amountForReminder($reminder);
$prefilled = [
$preFilled = [
'amount' => round($amount, 2),
'description' => 'Money for ' . $reminder->remindersable->name,
'piggybank_id' => $reminder->remindersable_id,
'account_to_id' => $reminder->remindersable->account_id
];
Session::flash('prefilled', $prefilled);
Session::flash('preFilled', $preFilled);
return Redirect::route('transactions.create', 'transfer');
break;