You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/11/12 16:53:49 UTC

svn commit: r835421 - /ofbiz/trunk/applications/order/webapp/ordermgr/entry/order/orderheaderinfo.ftl

Author: jleroux
Date: Thu Nov 12 15:53:49 2009
New Revision: 835421

URL: http://svn.apache.org/viewvc?rev=835421&view=rev
Log:
Avoid a bug in a peculiar case :

Create an order from order manager with a GZ-BASKET only
Print the PDF picksheet from the order, use Ctrl+clic (in FF) to return to the order on a new tab : bingo

With this change you don't get an error but an error message, far better for users

Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/entry/order/orderheaderinfo.ftl

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/entry/order/orderheaderinfo.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/entry/order/orderheaderinfo.ftl?rev=835421&r1=835420&r2=835421&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/entry/order/orderheaderinfo.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/entry/order/orderheaderinfo.ftl Thu Nov 12 15:53:49 2009
@@ -132,7 +132,7 @@
             </tr>
         </#if>
             <tr><td colspan="7"><hr/></td></tr>
-        <#if orderType != "PURCHASE_ORDER" && productStore.showCheckoutGiftOptions?if_exists != "N">
+        <#if orderType != "PURCHASE_ORDER" && (productStore.showCheckoutGiftOptions)?if_exists != "N">
         <#-- gift settings -->
             <tr>
                 <td align="right" valign="top" width="15%">