@@ -130,8 +130,8 @@ |
||
130 | 130 | /** @var GroupCollectorInterface $collector */ |
131 | 131 | $collector = app(GroupCollectorInterface::class); |
132 | 132 | $collector->setAccounts(new Collection([$account])) |
133 | - ->withAccountInformation() |
|
134 | - ->setRange($start, $end)->setLimit(10)->setPage(1); |
|
133 | + ->withAccountInformation() |
|
134 | + ->setRange($start, $end)->setLimit(10)->setPage(1); |
|
135 | 135 | $set = $collector->getGroups(); |
136 | 136 | $transactions[] = [$set, $account]; |
137 | 137 | } |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | /** @var GroupCollectorInterface $collector */ |
99 | 99 | $collector = app(GroupCollectorInterface::class); |
100 | 100 | $collector->setRange($start, $end)->setTypes([TransactionType::WITHDRAWAL])->setLimit($pageSize)->setPage($page) |
101 | - ->withoutBudget()->withAccountInformation()->withCategoryInformation(); |
|
101 | + ->withoutBudget()->withAccountInformation()->withCategoryInformation(); |
|
102 | 102 | $groups = $collector->getPaginatedGroups(); |
103 | 103 | $groups->setPath(route('budgets.no-budget')); |
104 | 104 | |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | /** @var GroupCollectorInterface $collector */ |
126 | 126 | $collector = app(GroupCollectorInterface::class); |
127 | 127 | $collector->setRange($start, $end)->setTypes([TransactionType::WITHDRAWAL])->setLimit($pageSize)->setPage($page) |
128 | - ->withoutBudget()->withAccountInformation()->withCategoryInformation(); |
|
128 | + ->withoutBudget()->withAccountInformation()->withCategoryInformation(); |
|
129 | 129 | $groups = $collector->getPaginatedGroups(); |
130 | 130 | $groups->setPath(route('budgets.no-budget')); |
131 | 131 | |
@@ -155,8 +155,8 @@ discard block |
||
155 | 155 | /** @var GroupCollectorInterface $collector */ |
156 | 156 | $collector = app(GroupCollectorInterface::class); |
157 | 157 | $collector->setRange($start, $end)->setBudget($budget) |
158 | - ->withAccountInformation() |
|
159 | - ->setLimit($pageSize)->setPage($page)->withBudgetInformation()->withCategoryInformation(); |
|
158 | + ->withAccountInformation() |
|
159 | + ->setLimit($pageSize)->setPage($page)->withBudgetInformation()->withCategoryInformation(); |
|
160 | 160 | $groups = $collector->getPaginatedGroups(); |
161 | 161 | $groups->setPath(route('budgets.show', [$budget->id])); |
162 | 162 | |
@@ -198,7 +198,7 @@ discard block |
||
198 | 198 | $collector = app(GroupCollectorInterface::class); |
199 | 199 | |
200 | 200 | $collector->setRange($budgetLimit->start_date, $budgetLimit->end_date) |
201 | - ->setBudget($budget)->setLimit($pageSize)->setPage($page)->withBudgetInformation()->withCategoryInformation(); |
|
201 | + ->setBudget($budget)->setLimit($pageSize)->setPage($page)->withBudgetInformation()->withCategoryInformation(); |
|
202 | 202 | $groups = $collector->getPaginatedGroups(); |
203 | 203 | $groups->setPath(route('budgets.show', [$budget->id, $budgetLimit->id])); |
204 | 204 | /** @var Carbon $start */ |