diff --git a/Layout/default/menu.php b/Layout/default/menu.php index 1cf0cdae4..65c2fc041 100644 --- a/Layout/default/menu.php +++ b/Layout/default/menu.php @@ -11,7 +11,7 @@
@@ -92,7 +92,7 @@ - is(["Admin", "netowner", "salespartner"]) && ($me->is("employee") || $me->can(["Fibu", "Billing", "Preorderpricing", "Preorderbilling"])) || in_array($me->address_id, [1,209,5908,2187])): ?> + is(["Admin", "netowner", "salespartner"]) && ($me->is("employee") || $me->can(["Fibu", "Billing", "Preorderpricing", "Preorderbilling"])) || !empty(json_decode((new WorkerFlag($me->id, "constructionConsent_projects"))->value() ?? '[]'))): ?>