[ofbiz-framework] branch trunk updated: Improvement: View Request button should not display when there is no customer request data on Quote Items screen (OFBIZ-10629)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch trunk updated: Improvement: View Request button should not display when there is no customer request data on Quote Items screen (OFBIZ-10629)

akashjain
This is an automated email from the ASF dual-hosted git repository.

akashjain 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 de70b3c  Improvement: View Request button should not display when there is no customer request data on Quote Items screen (OFBIZ-10629)
de70b3c is described below

commit de70b3c9caf20d2c3295e102902ed08ae443978e
Author: akash <[hidden email]>
AuthorDate: Sat Feb 22 13:00:34 2020 +0530

    Improvement: View Request button should not display when there is no customer request data on Quote Items screen
    (OFBIZ-10629)
   
    Thanks, Kumar Rahul and Ritesh Kumar for your contribution.
---
 applications/order/widget/ordermgr/QuoteForms.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applications/order/widget/ordermgr/QuoteForms.xml b/applications/order/widget/ordermgr/QuoteForms.xml
index 1734b1c..00927d5 100644
--- a/applications/order/widget/ordermgr/QuoteForms.xml
+++ b/applications/order/widget/ordermgr/QuoteForms.xml
@@ -227,7 +227,7 @@ under the License.
         <field name="leadTimeDays"></field>
         <field name="uomId"><hidden/></field>
         <!--<field name="custRequestId"><display description="${custRequestId} - ${custRequestItemSeqId}"/></field>-->
-        <field name="custRequestId" title="${uiLabelMap.CommonViewRequest}" widget-style="buttontext">
+        <field name="custRequestId" use-when="custRequestId!=null" title="${uiLabelMap.CommonViewRequest}" widget-style="buttontext">
             <hyperlink description="${custRequestId}-${custRequestItemSeqId}" target="requestitem" also-hidden="false">
                 <parameter param-name="custRequestId"/>
                 <parameter param-name="custRequestItemSeqId"/>