mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 09:22:33 +00:00
Fix #4663
This commit is contained in:
@@ -527,6 +527,10 @@ class JournalUpdateService
|
|||||||
Log::debug('Will update budget.');
|
Log::debug('Will update budget.');
|
||||||
$this->storeBudget($this->transactionJournal, new NullArrayObject($this->data));
|
$this->storeBudget($this->transactionJournal, new NullArrayObject($this->data));
|
||||||
}
|
}
|
||||||
|
// is transfer? remove budget
|
||||||
|
if (TransactionType::TRANSFER === $this->transactionJournal->transactionType->type) {
|
||||||
|
$this->transactionJournal->budgets()->sync([]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user