mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Add account info for #3513
This commit is contained in:
@@ -84,8 +84,6 @@ class ShowController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function noBudget(Request $request, Carbon $start = null, Carbon $end = null)
|
public function noBudget(Request $request, Carbon $start = null, Carbon $end = null)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
/** @var Carbon $start */
|
/** @var Carbon $start */
|
||||||
$start = $start ?? session('start');
|
$start = $start ?? session('start');
|
||||||
/** @var Carbon $end */
|
/** @var Carbon $end */
|
||||||
@@ -211,7 +209,7 @@ class ShowController extends Controller
|
|||||||
/** @var GroupCollectorInterface $collector */
|
/** @var GroupCollectorInterface $collector */
|
||||||
$collector = app(GroupCollectorInterface::class);
|
$collector = app(GroupCollectorInterface::class);
|
||||||
|
|
||||||
$collector->setRange($budgetLimit->start_date, $budgetLimit->end_date)
|
$collector->setRange($budgetLimit->start_date, $budgetLimit->end_date)->withAccountInformation()
|
||||||
->setBudget($budget)->setLimit($pageSize)->setPage($page)->withBudgetInformation()->withCategoryInformation();
|
->setBudget($budget)->setLimit($pageSize)->setPage($page)->withBudgetInformation()->withCategoryInformation();
|
||||||
$groups = $collector->getPaginatedGroups();
|
$groups = $collector->getPaginatedGroups();
|
||||||
$groups->setPath(route('budgets.show', [$budget->id, $budgetLimit->id]));
|
$groups->setPath(route('budgets.show', [$budget->id, $budgetLimit->id]));
|
||||||
|
Reference in New Issue
Block a user