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
This commit is contained in:
Si Chen
2007-02-01 19:41:47 +00:00
parent 1c5a0eb89b
commit 8a2c2eeaa9
@@ -66,7 +66,7 @@ under the License.
<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="<@ofbizUrl>setCustomer</@ofbizUrl>" class="buttontext">${uiLabelMap.PartyCreateNewCustomer}</a>