Added budget link to household menu + created controller file

no content for controller yet
This commit is contained in:
2022-02-23 18:07:38 +01:00
parent fd16222c51
commit de0be15fff
4 changed files with 113 additions and 0 deletions

View File

@@ -66,6 +66,13 @@ class HouseholdMenuBuilder implements LocalMenuBuilderInterface
'household_id' => $household->getId(),
], ])
->setExtras(['order' => 30]);
$menu->addChild($this->translator->trans('household.Budget'), [
'route' => 'chill_person_household_budget_index',
'routeParameters' => [
'household_id' => $household->getId(),
], ])
->setExtras(['order' => 30]);
}
public static function getMenuIds(): array