⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 editproductpromorules.ftl

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 FTL
📖 第 1 页 / 共 3 页
字号:
                            <#list actionProductPromoProducts as actionProductPromoProduct>                                <#assign actionProduct = actionProductPromoProduct.getRelatedOneCache("Product")?if_exists>                                <#assign actionApplEnumeration = actionProductPromoProduct.getRelatedOneCache("ApplEnumeration")>                                <div class="tabletext">                                    ${(actionProduct.internalName)?if_exists} [${actionProductPromoProduct.productId}]                                    - ${(actionApplEnumeration.description)?default(actionProductPromoProduct.productPromoApplEnumId)}                                    <a href="<@ofbizUrl>deleteProductPromoProduct?productPromoId=${(actionProductPromoProduct.productPromoId)?if_exists}&productPromoRuleId=${(actionProductPromoProduct.productPromoRuleId)?if_exists}&productPromoCondSeqId=${(actionProductPromoProduct.productPromoCondSeqId)?if_exists}&productPromoActionSeqId=${(actionProductPromoProduct.productPromoActionSeqId)?if_exists}&productId=${(actionProductPromoProduct.productId)?if_exists}</@ofbizUrl>" class="buttontext">                                    [${uiLabelMap.CommonDelete}]</a>                                </div>                            </#list>                            <div class="tabletext">                                <form method="post" action="<@ofbizUrl>createProductPromoProduct</@ofbizUrl>">                                    <input type="hidden" name="productPromoId" value="${productPromoId}">                                    <input type="hidden" name="productPromoRuleId" value="${productPromoAction.productPromoRuleId}">                                    <input type="hidden" name="productPromoActionSeqId" value="${productPromoAction.productPromoActionSeqId}">                                    <input type="hidden" name="productPromoCondSeqId" value="_NA_">                                    ${uiLabelMap.ProductProductId}: <input type="text" size="20" maxlength="20" name="productId" value="" class="inputBox"/>                                    <select name="productPromoApplEnumId" class="selectBox">                                        <#list productPromoApplEnums as productPromoApplEnum>                                            <option value="${productPromoApplEnum.enumId}">${productPromoApplEnum.description}</option>                                        </#list>                                    </select>                                    <input type="submit" value="${uiLabelMap.CommonAdd}" style="font-size: x-small;">                                </form>                            </div>                        </td>                        <td align="center">                        <a href="<@ofbizUrl>deleteProductPromoAction?productPromoId=${(productPromoAction.productPromoId)?if_exists}&productPromoRuleId=${(productPromoAction.productPromoRuleId)?if_exists}&productPromoActionSeqId=${(productPromoAction.productPromoActionSeqId)?if_exists}</@ofbizUrl>" class="buttontext">                        [${uiLabelMap.CommonDelete}]</a>                        </td>                    </tr>                </#list>                <tr>                    <td align="left" colspan="3">                        <div class="tabletext">                        <form method="post" action="<@ofbizUrl>createProductPromoAction</@ofbizUrl>">                            <input type="hidden" name="productPromoId" value="${(productPromoRule.productPromoId)?if_exists}">                            <input type="hidden" name="productPromoRuleId" value="${(productPromoRule.productPromoRuleId)?if_exists}">                            <span class="tabletext"><b>${uiLabelMap.CommonNew}:</b>&nbsp;</span>                            <#-- <input type="text" size="5" name="productPromoActionSeqId" value="${maxActionSeqId?if_exists}" class="inputBox"> -->                            <select name="productPromoActionEnumId" size="1" class="selectBox">                                <#list productPromoActionEnums as productPromoActionEnum>                                <option value="${(productPromoActionEnum.enumId)?if_exists}">${(productPromoActionEnum.description)?if_exists}</option>                                </#list>                            </select>                            <input type="hidden" name="orderAdjustmentTypeId" value="PROMOTION_ADJUSTMENT">                            <#-- <select name="orderAdjustmentTypeId" size="1" class="selectBox">                                <#list orderAdjustmentTypes as orderAdjustmentType>                                <option value="${(orderAdjustmentType.orderAdjustmentTypeId)?if_exists}">${(orderAdjustmentType.description)?if_exists}</option>                                </#list>                            </select> -->                                                                          ${uiLabelMap.ProductQuantity}:&nbsp;<input type="text" size="5" name="quantity" class="inputBox">                            ${uiLabelMap.ProductAmount}:&nbsp;<input type="text" size="5" name="amount" class="inputBox">                            ${uiLabelMap.ProductItem}:&nbsp;<input type="text" size="15" name="productId" class="inputBox">                            ${uiLabelMap.PartyParty}:&nbsp;<input type="text" size="10" name="partyId" class="inputBox">                            <input type="submit" value="${uiLabelMap.CommonCreate}" style="font-size: x-small;">                        </form>                        </div>                    </td>                </tr>                </table>            </td>        </tr>        </#list>        </table>        <div class="tabletext"><b>${uiLabelMap.ProductNoteOnItemId} :</b> ${uiLabelMap.ProductItemIdGiftPurchaseFreeShipping}</div>        <div class="tabletext"><b>${uiLabelMap.ProductNoteOnPartyId} :</b> ${uiLabelMap.ProductPartyFreeShipping}</div>        <br/>        <div class="head3">${uiLabelMap.ProductAddPromoRule}:</div>        <div class="tabletext">            <form method="post" action="<@ofbizUrl>createProductPromoRule</@ofbizUrl>" style="margin: 0;">                <input type="hidden" name="productPromoId" value="${productPromoId?if_exists}">                ${uiLabelMap.ProductName} : <input type="text" size="30" name="ruleName" class="inputBox">                <input type="submit" value="${uiLabelMap.CommonAdd}">            </form>        </div>        <br/>        <#-- ======================= Categories ======================== -->        <div class="head3">${uiLabelMap.ProductPromotion} ${uiLabelMap.ProductCategories}:</div>        <#list promoProductPromoCategories as promoProductPromoCategory>            <#assign promoProductCategory = promoProductPromoCategory.getRelatedOneCache("ProductCategory")>            <#assign promoApplEnumeration = promoProductPromoCategory.getRelatedOneCache("ApplEnumeration")>            <div class="tabletext">                ${(promoProductCategory.description)?if_exists} [${promoProductPromoCategory.productCategoryId}]                - ${(promoApplEnumeration.description)?default(promoProductPromoCategory.productPromoApplEnumId)}                - SubCats? ${promoProductPromoCategory.includeSubCategories?default("N")}                - ${uiLabelMap.CommonAnd} ${uiLabelMap.CommonGroup}: ${promoProductPromoCategory.andGroupId}                <a href="<@ofbizUrl>deleteProductPromoCategory?productPromoId=${(promoProductPromoCategory.productPromoId)?if_exists}&productPromoRuleId=${(promoProductPromoCategory.productPromoRuleId)?if_exists}&productPromoActionSeqId=${(promoProductPromoCategory.productPromoActionSeqId)?if_exists}&productPromoCondSeqId=${(promoProductPromoCategory.productPromoCondSeqId)?if_exists}&productCategoryId=${(promoProductPromoCategory.productCategoryId)?if_exists}&andGroupId=${(promoProductPromoCategory.andGroupId)?if_exists}</@ofbizUrl>" class="buttontext">                [${uiLabelMap.CommonDelete}]</a>            </div>        </#list>        <div class="tabletext">            <form method="post" action="<@ofbizUrl>createProductPromoCategory</@ofbizUrl>">                <input type="hidden" name="productPromoId" value="${productPromoId}">                <input type="hidden" name="productPromoRuleId" value="_NA_">                <input type="hidden" name="productPromoActionSeqId" value="_NA_">                <input type="hidden" name="productPromoCondSeqId" value="_NA_">                <select name="productCategoryId" class="selectBox">                    <#list productCategories as productCategory>                        <option value="${productCategory.productCategoryId}">${productCategory.description?if_exists}</option>                    </#list>                </select>                <select name="productPromoApplEnumId" class="selectBox">                    <#list productPromoApplEnums as productPromoApplEnum>                        <option value="${productPromoApplEnum.enumId}">${productPromoApplEnum.description}</option>                    </#list>                </select>                <select name="includeSubCategories" class="selectBox">                    <option value="N">N</option>                    <option value="Y">Y</option>                </select>                ${uiLabelMap.CommonAnd} ${uiLabelMap.CommonGroup}: <input type="text" size="10" maxlength="20" name="andGroupId" value="_NA_" class="inputBox"/>*                <input type="submit" value="${uiLabelMap.CommonAdd}" style="font-size: x-small;">            </form>        </div>        <br/>        <#-- ======================= Products ======================== -->        <div class="head3">${uiLabelMap.ProductPromotionProducts} :</div>        <#list promoProductPromoProducts as promoProductPromoProduct>            <#assign promoProduct = promoProductPromoProduct.getRelatedOneCache("Product")?if_exists>            <#assign promoApplEnumeration = promoProductPromoProduct.getRelatedOneCache("ApplEnumeration")>            <div class="tabletext">                ${(promoProduct.internalName)?if_exists} [${promoProductPromoProduct.productId}]                - ${(promoApplEnumeration.description)?default(promoProductPromoProduct.productPromoApplEnumId)}                <a href="<@ofbizUrl>deleteProductPromoProduct?productPromoId=${(promoProductPromoProduct.productPromoId)?if_exists}&productPromoRuleId=${(promoProductPromoProduct.productPromoRuleId)?if_exists}&productPromoActionSeqId=${(promoProductPromoProduct.productPromoActionSeqId)?if_exists}&productPromoCondSeqId=${(promoProductPromoProduct.productPromoCondSeqId)?if_exists}&productId=${(promoProductPromoProduct.productId)?if_exists}</@ofbizUrl>" class="buttontext">                [${uiLabelMap.CommonDelete}]</a>            </div>        </#list>        <div class="tabletext">            <form method="post" name="createpromoproductform" action="<@ofbizUrl>createProductPromoProduct</@ofbizUrl>">                <input type="hidden" name="productPromoId" value="${productPromoId}">                <input type="hidden" name="productPromoRuleId" value="_NA_">                <input type="hidden" name="productPromoActionSeqId" value="_NA_">                <input type="hidden" name="productPromoCondSeqId" value="_NA_">                ${uiLabelMap.ProductProductId}: <input type="text" size="20" maxlength="20" name="productId" value="" class="inputBox"/>*<a href="javascript:call_fieldlookup2(document.createpromoproductform.productId,'LookupProduct');"><img src='/images/fieldlookup.gif' width='15' height='14' border='0' alt='Click here For Field Lookup'/></a>                <select name="productPromoApplEnumId" class="selectBox">                    <#list productPromoApplEnums as productPromoApplEnum>                        <option value="${productPromoApplEnum.enumId}">${productPromoApplEnum.description}</option>                    </#list>                </select>                <input type="submit" value="${uiLabelMap.CommonAdd}" style="font-size: x-small;">            </form>        </div>    </#if>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -