Move method to correct repository.

This commit is contained in:
James Cole
2019-08-30 08:03:13 +02:00
parent 9fad13c788
commit 4a3e1a9604
5 changed files with 47 additions and 47 deletions

View File

@@ -110,7 +110,7 @@ class AvailableBudgetController extends Controller
$end = $this->parameters->get('end');
// get list of available budgets. Count it and split it.
$collection = $this->repository->getAvailableBudgetsByDate($start, $end);
$collection = $this->abRepository->getAvailableBudgetsByDate($start, $end);
$count = $collection->count();
$availableBudgets = $collection->slice(($this->parameters->get('page') - 1) * $pageSize, $pageSize);