mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Move method to correct repository.
This commit is contained in:
@@ -207,17 +207,7 @@ class BudgetRepository implements BudgetRepositoryInterface
|
||||
return $set;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns all available budget objects.
|
||||
*
|
||||
* @param TransactionCurrency $currency
|
||||
*
|
||||
* @return Collection
|
||||
*/
|
||||
public function getAvailableBudgetsByCurrency(TransactionCurrency $currency): Collection
|
||||
{
|
||||
return $this->user->availableBudgets()->where('transaction_currency_id', $currency->id)->get();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns all available budget objects.
|
||||
|
Reference in New Issue
Block a user