From 8a2c2eeaa9cd811b40d0aa1cbcfd50e93f754ec7 Mon Sep 17 00:00:00 2001 From: Si Chen Date: Thu, 1 Feb 2007 19:41:47 +0000 Subject: [PATCH] Hide the create customer link in the order shortcuts if there are no items in the cart git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@502329 13f79535-47bb-0310-9956-ffa450edef68 --- applications/order/webapp/ordermgr/entry/orderShortcuts.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/order/webapp/ordermgr/entry/orderShortcuts.ftl b/applications/order/webapp/ordermgr/entry/orderShortcuts.ftl index 5d36876cc3..5f9347a219 100644 --- a/applications/order/webapp/ordermgr/entry/orderShortcuts.ftl +++ b/applications/order/webapp/ordermgr/entry/orderShortcuts.ftl @@ -66,7 +66,7 @@ under the License. ${uiLabelMap.PartyFindParty} - <#if shoppingCart.getOrderType() == "SALES_ORDER"> + <#if shoppingCart.getOrderType() == "SALES_ORDER" && shoppingCart.items()?has_content> ${uiLabelMap.PartyCreateNewCustomer}