mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-20 16:40:10 +00:00
Touch journals so issue #1036 is fixed.
This commit is contained in:
@@ -103,6 +103,7 @@ class SetDestinationAccount implements ActionInterface
|
||||
$transaction = $journal->transactions()->where('amount', '>', 0)->first();
|
||||
$transaction->account_id = $this->newDestinationAccount->id;
|
||||
$transaction->save();
|
||||
$journal->touch();
|
||||
Log::debug(sprintf('Updated transaction #%d and gave it new account ID.', $transaction->id));
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user