📄 optionsettings.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: 7091 $ *@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%'> <table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxbottom'> <tr> <td> <form method="post" action="<@ofbizUrl>finalizeOrder</@ofbizUrl>" name="checkoutsetupform"> <input type="hidden" name="finalizeMode" value="options"> <table width="100%" cellpadding="1" border="0" cellpadding="0" cellspacing="0"> <#if cart.getOrderType() != "PURCHASE_ORDER"> <#assign shipEstimateWrapper = Static["org.ofbiz.order.shoppingcart.shipping.ShippingEstimateWrapper"].getWrapper(dispatcher, cart, 0)> <#assign carrierShipmentMethods = shipEstimateWrapper.getShippingMethods()> <#list carrierShipmentMethods as carrierShipmentMethod> <tr> <td width='1%' valign="top" > <#assign shippingMethod = carrierShipmentMethod.shipmentMethodTypeId + "@" + carrierShipmentMethod.partyId> <input type='radio' name='shipping_method' value='${shippingMethod}' <#if shippingMethod == chosenShippingMethod?default("N@A")>checked</#if>> </td> <td valign="top"> <div class='tabletext'> <#if carrierShipmentMethod.partyId != "_NA_">${carrierShipmentMethod.partyId?if_exists} </#if>${carrierShipmentMethod.description?if_exists} <#if cart.getShippingContactMechId()?exists> <#assign shippingEst = shipEstimateWrapper.getShippingEstimate(carrierShipmentMethod)?default(-1)> <#if shippingEst?has_content> - <#if (shippingEst > -1)?exists> <@ofbizCurrency amount=shippingEst isoCode=cart.getCurrency()/> <#else> Calculated Offline </#if> </#if> </#if> </div> </td> </tr> </#list> <#if !carrierShipmentMethodList?exists || carrierShipmentMethodList?size == 0> <tr> <td width='1%' valign="top"> <input type='radio' name='shipping_method' value="Default" checked> </td> <td valign="top"> <div class='tabletext'>${uiLabelMap.FacilityNoOtherShippingMethods}</div> </td> </tr> </#if> <tr><td colspan='2'><hr class='sepbar'></td></tr> <#else> <input type='hidden' name='shipping_method' value="NO_SHIPPING@_NA_"> </#if> <tr> <td colspan='2'> <div class="head2"><b>${uiLabelMap.FacilityShipOnceOrAvailable}</b></div> </td> </tr> <tr> <td valign="top"> <input type='radio' <#if cart.getMaySplit()?default("N") == "N">checked</#if> name='may_split' value='false'> </td> <td valign="top"> <div class="tabletext">${uiLabelMap.FacilityWaitEntireOrderReady}</div> </td> </tr> <tr> <td valign="top"> <input <#if cart.getMaySplit()?default("N") == "Y">checked</#if> type='radio' name='may_split' value='true'> </td> <td valign="top"> <div class="tabletext">${uiLabelMap.FacilityShipAvailable}</div> </td> </tr> <tr><td colspan="2"><hr class='sepbar'></td></tr> <tr> <td colspan="2"> <div class="head2"><b>${uiLabelMap.FacilitySpecialInstructions}</b></div> </td> </tr> <tr> <td colspan="2"> <textarea class='textAreaBox' cols="30" rows="3" name="shipping_instructions">${cart.getShippingInstructions()?if_exists}</textarea> </td> </tr> <#if cart.getOrderType() != "PURCHASE_ORDER"> <tr><td colspan="2"><hr class='sepbar'></td></tr> <tr> <td colspan="2"> <span class="head2"><b>${uiLabelMap.OrderPONumber}</b></span> <input type="text" class='inputBox' name="corresponding_po_id" size="15" value='${cart.getPoNumber()?if_exists}'> </td> </tr> <tr><td colspan="2"><hr class='sepbar'></td></tr> </#if> <tr> <td colspan="2"> <#if cart.getOrderType() = "PURCHASE_ORDER"> <input type='hidden' name='is_gift' value='false'> <#else> <div> <span class="head2"><b>${uiLabelMap.OrderIsThisGift}</b></span> <input type='radio' <#if cart.getIsGift()?default("Y") == "Y">checked</#if> name='is_gift' value='true'><span class='tabletext'>${uiLabelMap.CommonYes}</span> <input type='radio' <#if cart.getIsGift()?default("N") == "N">checked</#if> name='is_gift' value='false'><span class='tabletext'>${uiLabelMap.CommonNo}</span> </div> </#if> </td> </tr> <#if cart.getOrderType() != "PURCHASE_ORDER"> <tr><td colspan="2"><hr class='sepbar'></td></tr> <tr> <td colspan="2"> <div class="head2"><b>${uiLabelMap.OrderGiftMessage}</b></div> </td> </tr> <tr> <td colspan="2"> <textarea class='textAreaBox' cols="30" rows="3" name="gift_message">${cart.getGiftMessage()?if_exists}</textarea> </td> </tr> </#if> <tr> <td colspan="2"></td> </tr> </table> </form> </td> </tr> </table> </td> </tr></table><br/><#else> <h3>${uiLabelMap.OrderViewPermissionError}</h3></#if>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -