Update available budgets code.

This commit is contained in:
James Cole
2024-12-30 10:51:34 +01:00
parent 760da08ab7
commit 62f4da6063
28 changed files with 65 additions and 61 deletions

View File

@@ -143,6 +143,7 @@ class BudgetLimitHandler
);
$availableBudget->save();
Log::debug(sprintf('ID of new AB is #%d', $availableBudget->id));
$this->calculateAmount($availableBudget);
}
}

View File

@@ -33,7 +33,7 @@ class AvailableBudgetObserver
{
public function created(AvailableBudget $availableBudget): void
{
Log::debug('Observe "created" of an available budget.');
// Log::debug('Observe "created" of an available budget.');
$this->updateNativeAmount($availableBudget);
}