Skip to content

Commit

Permalink
Fixed: PaymentGroup Cancell button is shown to viewer (OFBIZ-12820) (#…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
PierreSmits authored Mar 9, 2024
1 parent 14d9d58 commit 478b8ae
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions applications/accounting/widget/PaymentGroupForms.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 478b8ae

Please sign in to comment.