📄 shipsettings.ftl
字号:
<#-- * Copyright (c) 2003-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 Andy Zeneski (jaz@ofbiz.org) *@author Jean-Luc.Malet@nereide.biz (migration to uiLabelMap) *@version $Rev: 7174 $ *@since 2.2--><#if security.hasEntityPermission("ORDERMGR", "_CREATE", session) || security.hasEntityPermission("ORDERMGR", "_PURCHASE_CREATE", session)><table border="0" width='100%' cellspacing='0' cellpadding='0' class='boxoutside'> <tr> <td width='100%'> <#-- header table for company shipping addresses --> <br/> <table width="100%" border='0' cellspacing='0' cellpadding='0' class='boxtop'> <tr> <td><div class="boxhead">${uiLabelMap.OrderSelectAShippingAddress}</div></td> <td valign="middle" align="right"> <a href="javascript:document.checkoutsetupform.submit();" class="submenutextright">${uiLabelMap.CommonContinue}</a> </td> </tr> </table> <table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxbottom'> <tr> <td> <#if facility?exists> <table width="100%" border="0" cellpadding="1" cellspacing="0"> <form method="post" action="<@ofbizUrl>finalizeOrder</@ofbizUrl>" name="checkoutsetupform"> <input type="hidden" name="finalizeMode" value="ship"> <tr> <td colspan="4"> <div class="tableheadtext">${uiLabelMap.FacilityFacility}: ${facility.facilityName?if_exists} [${facility.facilityId}]</div> </td> </tr> <tr><td colspan="4"><hr class='sepbar'></td></tr> <#-- company postal addresses --> <#assign i = 0> <#if facilityContactMechList?has_content> <#list facilityContactMechList as shippingContactMech> <#if shippingContactMech.postalAddress?exists> <#assign shippingAddress = shippingContactMech.postalAddress> <tr> <td valign="top" nowrap> <input type="radio" name="shipping_contact_mech_id" value="${shippingAddress.contactMechId}" <#if i == 0>checked</#if>> </td> <td nowrap> </td> <td align="left" valign="top" width="100%" nowrap> <div class="tabletext"> <#if shippingAddress.toName?has_content><b>To:</b> ${shippingAddress.toName}<br/></#if> <#if shippingAddress.attnName?has_content><b>Attn:</b> ${shippingAddress.attnName}<br/></#if> <#if shippingAddress.address1?has_content>${shippingAddress.address1}<br/></#if> <#if shippingAddress.address2?has_content>${shippingAddress.address2}<br/></#if> <#if shippingAddress.city?has_content>${shippingAddress.city}</#if> <#if shippingAddress.stateProvinceGeoId?has_content><br/>${shippingAddress.stateProvinceGeoId}</#if> <#if shippingAddress.postalCode?has_content><br/>${shippingAddress.postalCode}</#if> <#if shippingAddress.countryGeoId?has_content><br/>${shippingAddress.countryGeoId}</#if> </div> </td> <td> <div class="tabletext"><a href="/facility/control/EditContactMech?facilityId=${facility.facilityId}&contactMechId=${shippingAddress.contactMechId}" target="_blank" class="buttontext">${uiLabelMap.CommonUpdate}</a></div> </td> </tr> <#if shippingContactMech_has_next> <tr><td colspan="4"><hr class='sepbar'></td></tr> </#if> </#if> <#assign i = i + 1> </#list> <#else> <tr> <td colspan="4"> <div class="tabletext"> ${uiLabelMap.CommonNoContactInformationOnFile}: <a href="/facility/control/EditContactMech?facilityId=${facility.facilityId}&preContactMechTypeId=POSTAL_ADDRESS" target="_blank" class="buttontext">${uiLabelMap.CommonNew}</a> </div> </td> </#if> </form> </table> <#else> <#if shippingContactMechList?has_content && !requestParameters.createNew?exists> <table width="100%" border="0" cellpadding="1" cellspacing="0"> <tr> <td colspan="3"> <a href="<@ofbizUrl>setShipping?createNew=Y</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonCreateNew}</a> </td> </tr> <form method="post" action="<@ofbizUrl>finalizeOrder</@ofbizUrl>" name="checkoutsetupform"> <input type="hidden" name="finalizeMode" value="ship"> <tr><td colspan="3"><hr class='sepbar'></td></tr> <#assign i = 0> <#list shippingContactMechList as shippingContactMech> <#assign shippingAddress = shippingContactMech.getRelatedOne("PostalAddress")> <tr> <td align="left" valign="top" width="1%" nowrap> <input type="radio" name="shipping_contact_mech_id" value="${shippingAddress.contactMechId}" <#if i == 0>checked</#if>> </td> <td align="left" valign="top" width="99%" nowrap> <div class="tabletext"> <#if shippingAddress.toName?has_content><b>${uiLabelMap.CommonTo}:</b> ${shippingAddress.toName}<br/></#if> <#if shippingAddress.attnName?has_content><b>${uiLabelMap.CommonAttn}:</b> ${shippingAddress.attnName}<br/></#if> <#if shippingAddress.address1?has_content>${shippingAddress.address1}<br/></#if> <#if shippingAddress.address2?has_content>${shippingAddress.address2}<br/></#if> <#if shippingAddress.city?has_content>${shippingAddress.city}</#if> <#if shippingAddress.stateProvinceGeoId?has_content><br/>${shippingAddress.stateProvinceGeoId}</#if> <#if shippingAddress.postalCode?has_content><br/>${shippingAddress.postalCode}</#if> <#if shippingAddress.countryGeoId?has_content><br/>${shippingAddress.countryGeoId}</#if> </div> </td> <td> <div class="tabletext"><a href="/partymgr/control/editcontactmech?partyId=${orderParty.partyId}&contactMechId=${shippingContactMech.contactMechId}" target="_blank" class="buttontext">${uiLabelMap.CommonUpdate}</a></div> </td> </tr> <#if shippingContactMech_has_next> <tr><td colspan="3"><hr class='sepbar'></td></tr> </#if> <#assign i = i + 1> </#list> </form> </table> <#else> <#if postalAddress?has_content> <form method="post" action="<@ofbizUrl>updatePostalAddressOrderEntry</@ofbizUrl>" name="checkoutsetupform"> <input type="hidden" name="contactMechId" value="${shipContactMechId?if_exists}"> <#else>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -