Author: mor
Date: Wed Jul 29 06:42:59 2009
New Revision: 798793

URL: http://svn.apache.org/viewvc?rev=798793&view=rev
Log:
Minor changes to Shortcuts block on Order Entry Cart page to always show the 
Create Customer link. Earlier this link was displayed only if there were 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?rev=798793&r1=798792&r2=798793&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/entry/orderShortcuts.ftl 
(original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/entry/orderShortcuts.ftl Wed 
Jul 29 06:42:59 2009
@@ -34,7 +34,7 @@
             <li><a 
href="<@ofbizUrl>createCustRequestFromCart?destroyCart=Y</@ofbizUrl>" 
class="buttontext">${uiLabelMap.OrderCreateCustRequestFromCart}</a></li>
             </#if>
             <li><a 
href="/partymgr/control/findparty?${externalKeyParam?if_exists}" 
class="buttontext">${uiLabelMap.PartyFindParty}</a></li>
-            <#if shoppingCart.getOrderType() == "SALES_ORDER" && 
shoppingCart.items()?has_content>
+            <#if shoppingCart.getOrderType() == "SALES_ORDER">
             <li><a href="<@ofbizUrl>setCustomer</@ofbizUrl>" 
class="buttontext">${uiLabelMap.PartyCreateNewCustomer}</a></li>
             </#if>
             <li><a href="<@ofbizUrl>checkinits</@ofbizUrl>" 
class="buttontext">${uiLabelMap.PartyChangeParty}</a></li>


Reply via email to