From 30902fc0946f5015c647815c202d2d302b17ed5d Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Wed, 5 Feb 2025 13:48:37 +0100 Subject: [PATCH] everyone can create/delete workorders now in Preorder --- Layout/default/Preorder/Index.php | 4 +--- Layout/default/Preorder/include/preorder-detail.php | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Layout/default/Preorder/Index.php b/Layout/default/Preorder/Index.php index ab4232cf0..511fb5f54 100644 --- a/Layout/default/Preorder/Index.php +++ b/Layout/default/Preorder/Index.php @@ -479,9 +479,7 @@ $pagination_entity_name = "Vorbestellungen"; edit)?> - is(["Admin", "netowner"])): ?> - adb_wohneinheit_id && is_array($preorder->adb_wohneinheit->rimo_workorders) && count($preorder->adb_wohneinheit->rimo_workorders)):?> - + adb_wohneinheit_id && is_array($preorder->adb_wohneinheit->rimo_workorders) && count($preorder->adb_wohneinheit->rimo_workorders)):?>
is(["preorderfront"]) && !$me->is("preorderreadonly")): ?> diff --git a/Layout/default/Preorder/include/preorder-detail.php b/Layout/default/Preorder/include/preorder-detail.php index c444060d7..7ef1633aa 100644 --- a/Layout/default/Preorder/include/preorder-detail.php +++ b/Layout/default/Preorder/include/preorder-detail.php @@ -428,8 +428,8 @@ - adb_wohneinheit_id && $me->is("Admin")): ?> - + +