📄 editproductstoretaxsetup.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 Catherine.Heintz@nereide.biz (migration to UiLabel) *@version $Rev: 5877 $ *@since 2.2--><table border="1" cellpadding="2" cellspacing="0"> <tr> <td nowrap><div class="tableheadtext">${uiLabelMap.ProductCountry}</td> <td nowrap><div class="tableheadtext">${uiLabelMap.ProductState}</div></td> <td nowrap><div class="tableheadtext">${uiLabelMap.ProductTaxCategory}</div></td> <td nowrap><div class="tableheadtext">${uiLabelMap.ProductMinItemPrice}</div></td> <td nowrap><div class="tableheadtext">${uiLabelMap.ProductMinPurchase}</div></td> <td nowrap><div class="tableheadtext">${uiLabelMap.ProductTaxRate}</div></td> <td nowrap><div class="tableheadtext">${uiLabelMap.CommonFromDate}</div></td> <td nowrap><div class="tabletext"> </div></td> </tr> <#list taxItems as taxItem> <tr> <td><div class="tabletext">${taxItem.countryGeoId}</div></td> <td><div class="tabletext">${taxItem.stateProvinceGeoId}</div></td> <td><div class="tabletext">${taxItem.taxCategory}</div></td> <td><div class="tabletext">${taxItem.minItemPrice?string("##0.00")}</div></td> <td><div class="tabletext">${taxItem.minPurchase?string("##0.00")}</div></td> <td><div class="tabletext">${taxItem.salesTaxPercentage?if_exists}</div></td> <td><div class="tabletext">${taxItem.fromDate?string}</div></td> <#if security.hasEntityPermission("TAXRATE", "_DELETE", session)> <td align="center"><div class="tabletext"><a href="<@ofbizUrl>storeRemoveTaxRate?productStoreId=${productStoreId}&countryGeoId=${taxItem.countryGeoId}&stateProvinceGeoId=${taxItem.stateProvinceGeoId}&taxCategory=${taxItem.taxCategory}&minItemPrice=${taxItem.minItemPrice?string.number}&minPurchase=${taxItem.minPurchase?string.number}&fromDate=${taxItem.fromDate}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonDelete}]</a></div></td> <#else> <td> </td> </#if> </tr> </#list></table> <br/><table> <#if security.hasEntityPermission("TAXRATE", "_CREATE", session)> <form name="addrate" action="<@ofbizUrl>storeCreateTaxRate</@ofbizUrl>"> <input type="hidden" name="productStoreId" value="${productStoreId}"> <tr> <td><span class="tableheadtext">${uiLabelMap.ProductCountry}</span></td> <td> <select name="countryGeoId" class="selectBox"> <option value="_NA_">${uiLabelMap.CommonAll}</option> ${screens.render("component://common/widget/CommonScreens.xml#countries")} </select> </td> </tr> <tr> <td><span class="tableheadtext">State/Province</span></td> <td> <select name="stateProvinceGeoId" class="selectBox"> <option value="_NA_">${uiLabelMap.CommonAll}</option> ${screens.render("component://common/widget/CommonScreens.xml#states")} </select> </td> </tr> <tr> <td><span class="tableheadtext">${uiLabelMap.ProductTaxCategory}</span></td> <td><input type="text" size="20" name="taxCategory" class="inputBox"></td> </tr> <tr> <td><span class="tableheadtext">${uiLabelMap.ProductMinimumItemPrice}</span></td> <td><input type="text" size="10" name="minItemPrice" class="inputBox" value="0.00"></td> </tr> <tr> <td><span class="tableheadtext">${uiLabelMap.ProductMinimumPurchase}</span></td> <td><input type="text" size="10" name="minPurchase" class="inputBox" value="0.00"></td> </tr> <tr> <td><span class="tableheadtext">${uiLabelMap.ProductTaxShipping}?</span></td> <td> <select name="taxShipping" class="selectBox"> <option value="N">${uiLabelMap.CommonNo}</option> <option value="Y">${uiLabelMap.CommonYes}</option> </select> </td> </tr> <tr> <td><span class="tableheadtext">${uiLabelMap.CommonDescription}</span></td> <td><input type="text" size="20" name="description" class="inputBox"></td> </tr> <tr> <td><span class="tableheadtext">${uiLabelMap.ProductTaxRate}</span></td> <td><input type="text" size="10" name="salesTaxPercentage" class="inputBox"></td> </tr> <tr> <td><span class="tableheadtext">${uiLabelMap.CommonFromDate}</span></td> <td><input type="text" name="fromDate" class="inputBox"><a href="javascript:call_cal(document.addrate.fromDate, null);"><img src='/images/cal.gif' width='16' height='16' border='0' alt='Calendar'></a></td> </tr> <tr> <td><span class="tableheadtext">${uiLabelMap.CommonThruDate}</span></td> <td><input type="text" name="thruDate" class="inputBox"><a href="javascript:call_cal(document.addrate.thruDate, null);"><img src='/images/cal.gif' width='16' height='16' border='0' alt='Calendar'></a></td> </tr> <tr> <td><input type="submit" class="smallSubmit" value="${uiLabelMap.CommonAdd}"/></td> </tr> </form> </#if></table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -