mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-14 16:13:54 +00:00
Some last-minute fixes.
This commit is contained in:
@@ -101,6 +101,11 @@ class JournalRepository implements JournalRepositoryInterface
|
||||
$transaction->budgets()->detach();
|
||||
}
|
||||
}
|
||||
// if journal is not a withdrawal, remove the bill ID.
|
||||
if (TransactionType::WITHDRAWAL !== $type->type) {
|
||||
$journal->bill_id = null;
|
||||
$journal->save();
|
||||
}
|
||||
|
||||
Preferences::mark();
|
||||
|
||||
|
Reference in New Issue
Block a user