mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Do not run auto budgets for inactive budgets #4582
This commit is contained in:
@@ -92,6 +92,11 @@ class CreateAutoBudgetLimits implements ShouldQueue
|
||||
|
||||
return;
|
||||
}
|
||||
if (false === $autoBudget->budget->active) {
|
||||
Log::info(sprintf('Auto budget #%d is associated with an inactive budget.', $autoBudget->id));
|
||||
|
||||
return;
|
||||
}
|
||||
if (!$this->isMagicDay($autoBudget)) {
|
||||
Log::info(
|
||||
sprintf(
|
||||
|
Reference in New Issue
Block a user