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 e3b125e  Improved: visibility of expire button (OFBIZ-12362) (#331)
e3b125e is described below

commit e3b125ef4cb4247233097f3e00f28b10773d708c
Author: Pierre Smits <pierre.sm...@orrtiz.com>
AuthorDate: Wed Nov 3 10:17:15 2021 +0100

    Improved: visibility of expire button (OFBIZ-12362) (#331)
    
    applied 'use-when' on field 'expire'
---
 applications/party/widget/partymgr/PartyForms.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applications/party/widget/partymgr/PartyForms.xml 
b/applications/party/widget/partymgr/PartyForms.xml
index 84ac2c1..b994917 100644
--- a/applications/party/widget/partymgr/PartyForms.xml
+++ b/applications/party/widget/partymgr/PartyForms.xml
@@ -1198,7 +1198,7 @@ under the License.
         <field name="parentTypeId"><display-entity entity-name="RoleType" 
key-field-name="roleTypeId"/></field>
         <field name="fromDate" title ="${uiLabelMap.CommonFrom}"><display 
type="date-time"/></field>
         <field name="thruDate" title ="${uiLabelMap.CommonThru}"><display 
type="date-time"/></field>
-        <field name="expire" 
title="${uiLabelMap.CommonExpire}"><submit/></field>
+        <field name="expire" title="${uiLabelMap.CommonExpire}" 
use-when="thruDate == Null"><submit/></field>
     </grid>
     
     <form name="AddPartyRole" type="single" title="Add a role to party" 
target="addrole">

Reply via email to