Touch journals so issue #1036 is fixed.

This commit is contained in:
James Cole
2017-12-04 20:57:33 +01:00
parent 462439a5ab
commit 1b56765da3
11 changed files with 11 additions and 3 deletions

View File

@@ -104,6 +104,7 @@ class SetSourceAccount implements ActionInterface
$transaction = $journal->transactions()->where('amount', '<', 0)->first();
$transaction->account_id = $this->newSourceAccount->id;
$transaction->save();
$journal->touch();
Log::debug(sprintf('Updated transaction #%d and gave it new account ID.', $transaction->id));
return true;