| <#-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <#if security.hasEntityPermission("ORDERMGR", "_CREATE", session)> |
| <table border="0" width='100%' cellspacing='0' cellpadding='0' class='boxoutside'> |
| <tr> |
| <td width='100%'> |
| <table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxtop'> |
| <tr> |
| <td valign="middle" align="center"> |
| <div class="boxhead"> ${uiLabelMap.PartyParty}</div> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td width='100%'> |
| <table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxbottom'> |
| <tr> |
| <td align="center"> |
| <#if person?has_content> |
| <div><a href="${customerDetailLink}${partyId}" class="buttontext">${person.firstName!} ${person.lastName!}</a></div> |
| <#elseif partyGroup?has_content> |
| <div class='tabletext'><a href="${customerDetailLink}${partyId}" class="buttontext">${partyGroup.groupName!}</a></div> |
| </#if> |
| <form method="post" action="<@ofbizUrl>orderentry</@ofbizUrl>" name="setpartyform"> |
| <div><input type="text" name="partyId" size='10' value="${partyId!}" /></div> |
| <div> |
| <a href="javascript:document.setpartyform.submit();" class="buttontext">${uiLabelMap.CommonSet}</a> | <a href="/partymgr/control/findparty" class="buttontext">${uiLabelMap.CommonFind}</a><#if partyId?default("_NA_") != "_NA_" && partyId?default("_NA_") != ""> | <a href="${customerDetailLink}${partyId}" class="buttontext">${uiLabelMap.CommonView}</a></#if> |
| </div> |
| </form> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| </table> |
| <#else> |
| <h3>${uiLabelMap.OrderViewPermissionError}</h3> |
| </#if> |