svn commit: r739562 - /ofbiz/trunk/applications/order/webapp/ordermgr/order/ordercontactinfo.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r739562 - /ofbiz/trunk/applications/order/webapp/ordermgr/order/ordercontactinfo.ftl

jleroux@apache.org
Author: jleroux
Date: Sat Jan 31 14:27:56 2009
New Revision: 739562

URL: http://svn.apache.org/viewvc?rev=739562&view=rev
Log:
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>
                 &nbsp;(<a href="${customerDetailLink}${partyId}" target="partymgr" class="buttontext">${partyId}</a>)
                 </br>
+                <#if orderHeader.salesChannelEnumId != "POS_SALES_CHANNEL">                
                 <div>
                    <a href="<@ofbizUrl>/orderentry?partyId=${partyId}&amp;orderTypeId=${orderHeader.orderTypeId}</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderNewOrder}</a>
                    <a href="<@ofbizUrl>/searchorders?lookupFlag=Y&amp;hideFields=Y&amp;partyId=${partyId}&amp;viewIndex=1&amp;viewSize=20</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderOtherOrders}</a>
                 </div>
+                </#if>
               </#if>
             </div>
           </td>