You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by si...@apache.org on 2007/02/01 20:41:47 UTC
svn commit: r502329 -
/ofbiz/trunk/applications/order/webapp/ordermgr/entry/orderShortcuts.ftl
Author: sichen
Date: Thu Feb 1 11:41:47 2007
New Revision: 502329
URL: http://svn.apache.org/viewvc?view=rev&rev=502329
Log:
Hide the create customer link in the order shortcuts if there are no items in the cart
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/entry/orderShortcuts.ftl
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/entry/orderShortcuts.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/entry/orderShortcuts.ftl?view=diff&rev=502329&r1=502328&r2=502329
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/entry/orderShortcuts.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/entry/orderShortcuts.ftl Thu Feb 1 11:41:47 2007
@@ -66,7 +66,7 @@
<a href="/partymgr/control/findparty?${externalKeyParam?if_exists}" class="buttontext">${uiLabelMap.PartyFindParty}</a>
</td>
</tr>
- <#if shoppingCart.getOrderType() == "SALES_ORDER">
+ <#if shoppingCart.getOrderType() == "SALES_ORDER" && shoppingCart.items()?has_content>
<tr>
<td>
<a href="<@o...@ofbizUrl>" class="buttontext">${uiLabelMap.PartyCreateNewCustomer}</a>