Author: jleroux
Date: Sat Jan 31 14:27:56 2009
New Revision: 739562
URL:
http://svn.apache.org/viewvc?rev=739562&view=revLog:
Safer for POS orders
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/order/ordercontactinfo.ftl
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/order/ordercontactinfo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/order/ordercontactinfo.ftl?rev=739562&r1=739561&r2=739562&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/order/ordercontactinfo.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/order/ordercontactinfo.ftl Sat Jan 31 14:27:56 2009
@@ -53,10 +53,12 @@
<#if partyId?exists>
(<a href="${customerDetailLink}${partyId}" target="partymgr" class="buttontext">${partyId}</a>)
</br>
+ <#if orderHeader.salesChannelEnumId != "POS_SALES_CHANNEL">
<div>
<a href="<@ofbizUrl>/orderentry?partyId=${partyId}&orderTypeId=${orderHeader.orderTypeId}</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderNewOrder}</a>
<a href="<@ofbizUrl>/searchorders?lookupFlag=Y&hideFields=Y&partyId=${partyId}&viewIndex=1&viewSize=20</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderOtherOrders}</a>
</div>
+ </#if>
</#if>
</div>
</td>