Fix issue with recurring transactions and piggy banks.

This commit is contained in:
James Cole
2019-01-03 18:57:34 +01:00
parent 16ba65c424
commit 1c2206cb9f
4 changed files with 20 additions and 8 deletions

View File

@@ -400,7 +400,7 @@ class SingleController extends Controller
session()->flash('info', $this->attachments->getMessages()->get('attachments'));
}
event(new StoredTransactionJournal($journal, $data['piggy_bank_id']));
event(new StoredTransactionJournal($journal));
session()->flash('success_uri', route('transactions.show', [$journal->id]));
session()->flash('success', (string)trans('firefly.stored_journal', ['description' => $journal->description]));