From ef7c78effa320bf5c294bb00c2b2a3f036272ca6 Mon Sep 17 00:00:00 2001 From: Klaus Richarz Date: Mon, 16 May 2022 14:06:55 +0200 Subject: [PATCH] #102 fix checking of access rights to suborders --- src/main/webapp/order/showSuborder.jsp | 31 +++++++++++++------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/src/main/webapp/order/showSuborder.jsp b/src/main/webapp/order/showSuborder.jsp index 979d0b4f5..4a100314b 100644 --- a/src/main/webapp/order/showSuborder.jsp +++ b/src/main/webapp/order/showSuborder.jsp @@ -201,7 +201,7 @@ + test="${(authorizedUser.manager || suborder.customerorder.responsible_hbt.id == loginEmployee.id)}"> @@ -234,7 +234,7 @@ + test="${(authorizedUser.manager || currentOrder.responsible_hbt.id == loginEmployee.id)}"> - +   Info @@ -331,12 +330,16 @@ - - - + + + + + +   + + + @@ -673,8 +676,7 @@ - + Edit Suborder - + @@ -739,7 +740,7 @@ + test="${(authorizedUser.manager || suborder.customerorder.responsible_hbt.id == loginEmployee.id)}">