Make sure that overlapping available budgets are also recalculated, this fixes #11685

This commit is contained in:
James Cole
2026-02-20 11:23:36 +01:00
parent 0e321ad82a
commit f6cd45a44c
5 changed files with 128 additions and 106 deletions

View File

@@ -60,6 +60,11 @@ interface AvailableBudgetRepositoryInterface
*/
public function find(TransactionCurrency $currency, Carbon $start, Carbon $end): ?AvailableBudget;
/**
* Find existing ABs in this exact time range.
*/
public function findInRange(TransactionCurrency $currency, Carbon $start, Carbon $end): Collection;
public function findById(int $id): ?AvailableBudget;
/**