This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new 478b8ae710 Fixed: PaymentGroup Cancell button is shown to viewer
(OFBIZ-12820) (#698)
478b8ae710 is described below
commit 478b8ae7105021b4c6283812d45c0b5da1fce1c2
Author: Pierre Smits <[email protected]>
AuthorDate: Sat Mar 9 16:38:51 2024 +0100
Fixed: PaymentGroup Cancell button is shown to viewer (OFBIZ-12820) (#698)
Currently when a user with only view permissions accesses the PaymentGroup
overview, as demonstrated in demo-trunk with userid=auditor, the action trigger
to cancel a PaymentGroup is shown. See attached image.
modified: PaymentGroupForms.xml
- removed action trigger field regarding cancelCheckRunPayments
---
applications/accounting/widget/PaymentGroupForms.xml | 5 -----
1 file changed, 5 deletions(-)
diff --git a/applications/accounting/widget/PaymentGroupForms.xml
b/applications/accounting/widget/PaymentGroupForms.xml
index 421057a0fc..496c7b0cf7 100644
--- a/applications/accounting/widget/PaymentGroupForms.xml
+++ b/applications/accounting/widget/PaymentGroupForms.xml
@@ -61,11 +61,6 @@ under the License.
<parameter param-name="paymentGroupId"/>
</hyperlink>
</field>
- <field name="deleteLink" title=" " widget-style="buttontext"
use-when="${paymentGroupTypeId == 'CHECK_RUN'} @and
${paymentGroupMemberAndTransList[0].finAccountTransStatusId !=
'FINACT_TRNS_APPROVED'} @and
${groovy:org.apache.ofbiz.base.util.UtilValidate.isNotEmpty(paymentGroupMembers)}">
- <hyperlink description="${uiLabelMap.CommonCancel}"
target="cancelCheckRunPayments" also-hidden="false">
- <parameter param-name="paymentGroupId"/>
- </hyperlink>
- </field>
</form>
<form name="EditPaymentGroup" type="single" target="updatePaymentGroup"
title="" default-map-name="paymentGroup">