Controller can let you edit new dates #122

This commit is contained in:
James Cole 2016-03-12 07:37:00 +01:00
parent 499b92cdd1
commit c26bf557d0

View File

@ -158,6 +158,9 @@ class TransactionController extends Controller
$subTitle = trans('breadcrumbs.edit_journal', ['description' => $journal->description]);
$preFilled = [
'date' => $journal->date->format('Y-m-d'),
'interest_date' => $journal->interest_date ? $journal->interest_date->format('Y-m-d') : '',
'book_date' => $journal->book_date ? $journal->book_date->format('Y-m-d') : '',
'process_date' => $journal->process_date ? $journal->process_date->format('Y-m-d') : '',
'category' => '',
'budget_id' => 0,
'piggy_bank_id' => 0,