📄 setadditionalparty.ftl
字号:
<#-- * Copyright (c) 2004-2005 The Open For Business Project - www.ofbiz.org * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT * OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * *@author Peter Goron (peter.goron@nereide.biz) *@author Jean-Luc.Malet@nereide.biz (migration to uiLabelMap) *@version $Rev: 5877 $ *@since 2.2--><#-- ==================== Party Selection dialog box ========================= --><div class="screenlet"> <div class="screenlet-body"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <form method="post" action="<@ofbizUrl>finalizeOrder</@ofbizUrl>" name="checkoutsetupform"> <input type="hidden" name="finalizeReqAdditionalParty" value="false"/> <input type="hidden" name="finalizeMode" value="addpty"/> </form> <form method="post" action="<@ofbizUrl>setAdditionalParty</@ofbizUrl>" name="quickAddPartyForm"> <tr> <td><div class="tableheadtext">1) ${uiLabelMap.OrderSelectPartyToOrder} :</div></td> </tr> <tr> <td width="100%"> <table border="0" cellspacing="0" cellpadding="0" class="boxbottom"> <tr> <td align="right"> <input type="radio" name="additionalPartyType" value="Person" onclick="<#if additionalPartyType?exists>javascript:document.quickAddPartyForm.additionalPartyId.value='';</#if>document.quickAddPartyForm.submit()"<#if (additionalPartyType?exists && additionalPartyType == "Person")> checked="checked"</#if>> </td> <td> <div class="tabletext">${uiLabelMap.CommonPerson}</div> </td> </tr> <tr> <td align="right"> <input type="radio" name="additionalPartyType" value="Group" onclick="<#if additionalPartyType?exists>javascript:document.quickAddPartyForm.additionalPartyId.value='';</#if>document.quickAddPartyForm.submit()"<#if additionalPartyType?exists && additionalPartyType == "Group"> checked="checked"</#if>> </td> <td> <div class="tabletext">${uiLabelMap.CommonGroup}</div> </td> </tr> <tr> <td align="right"> <input type="radio" name="additionalPartyType" value="None" onclick="<#if additionalPartyType?exists>javascript:document.quickAddPartyForm.additionalPartyId.value='';</#if>document.quickAddPartyForm.submit()"<#if !additionalPartyType?exists> checked="checked"</#if>> </td> <td> <div class="tabletext">I do not wish to add additional parties.</div> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> <#if additionalPartyType?exists && additionalPartyType != "" && additionalPartyType != "None"> <#if additionalPartyType == "Person"> <#assign lookupPartyView="LookupPerson"> <#else> <#assign lookupPartyView="LookupPartyGroup"> </#if> <tr> <td><div class="tableheadtext">2) ${uiLabelMap.PartyFindParty} :</div></td> </tr> <tr> <td width="100%"> <table border="0" cellspacing="0" cellpadding="0" class="boxbottom"> <tr> <td> <div class="tableheadtext">${uiLabelMap.CommonIdentifier} :</div> </td> <td> <input type="text" class="inputBox" name="additionalPartyId" value="${additionalPartyId?if_exists}" onchange="javascript:document.quickAddPartyForm.submit()"> </td> <td> <a href="javascript:document.quickAddPartyForm.additionalPartyId.focus();call_fieldlookup2(document.quickAddPartyForm.additionalPartyId, '${lookupPartyView}');"><img src="/content/images/fieldlookup.gif" width="16" height="16" border="0" alt="Lookup"></a> </td> <td> <a href="javascript:document.quickAddPartyForm.submit()" class="buttontext">${uiLabelMap.CommonApply}</a> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> </form> <#if roles?has_content> <tr> <td><div class="tableheadtext">3) ${uiLabelMap.PartySelectRoleForParty} :</div></td> </tr> <tr> <td width="100%"> <table border="0" cellspacing="0" cellpadding="0" class="boxbottom"> <form method="post" action="<@ofbizUrl>addAdditionalParty</@ofbizUrl>"> <tr> <td> </td> <td> <select name="additionalRoleTypeId" size="5" multiple> <#list roles as role> <option value="${role.roleTypeId}" class="tabletext">${role.description}</option> </#list> </select> </td> <td> </td> <td align="left"> <input type="hidden" name="additionalPartyId" value="${additionalPartyId}"> <input type="submit" class="smallSubmit" value="Add"> </td> </tr> </form> </table> </td> </tr> </#if> <#-- roles?has_content --> <#else> </form> </#if> <#-- additionalPartyType?has_content --></table> </div></div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -