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

📄 showpromotiondetails.ftl

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 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     David E. Jones (jonesde@ofbiz.org) *@version    $Rev: 7168 $ *@since      3.0--><#if productPromo?has_content><div class="screenlet">    <div class="screenlet-header">        <div class="boxhead">&nbsp;${uiLabelMap.EcommercePromotionDetails}:</div>    </div>    <div class="screenlet-body">        <div class="tabletext">${productPromo.promoText?if_exists}</div>        <div class="tabletext">Generated Description: ${promoAutoDescription?if_exists}</div>    </div></div><#if productPromoCategoryIncludeList?has_content || productPromoCategoryExcludeList?has_content || productPromoCategoryAlwaysList?has_content><div class="screenlet">    <div class="screenlet-header">        <div class="boxhead">&nbsp;${uiLabelMap.EcommercePromotionCategories}:</div>    </div>    <div class="screenlet-body">        <#if productPromoCategoryIncludeList?has_content>          <div class="tabletext">${uiLabelMap.EcommercePromotionProductsInCategories}:</div>          <#list productPromoCategoryIncludeList as productPromoCategory>            <#assign productCategory = productPromoCategory.getRelatedOneCache("ProductCategory")>            <div class="tabletext">                -&nbsp;<a href="<@ofbizUrl>category/~category_id=${productPromoCategory.productCategoryId}</@ofbizUrl>" class="buttontext">${(productCategory.description)?default(productPromoCategory.productCategoryId)}</a>                <#if productPromoCategory.includeSubCategories?if_exists = "Y">(or any sub-category)</#if>            </div>          </#list>        </#if>        <#if productPromoCategoryExcludeList?has_content>          <div class="tabletext">unless they are in these categories:</div>          <#list productPromoCategoryExcludeList as productPromoCategory>            <#assign productCategory = productPromoCategory.getRelatedOneCache("ProductCategory")>            <div class="tabletext">                -&nbsp;<a href="<@ofbizUrl>category/~category_id=${productPromoCategory.productCategoryId}</@ofbizUrl>" class="buttontext">${(productCategory.description)?default(productPromoCategory.productCategoryId)}</a>                <#if productPromoCategory.includeSubCategories?if_exists = "Y">(or any sub-category)</#if>            </div>          </#list>        </#if>        <#if productPromoCategoryAlwaysList?has_content>          <div class="tabletext">but will stll be included if they are in these categories:</div>          <#list productPromoCategoryAlwaysList as productPromoCategory>            <#assign productCategory = productPromoCategory.getRelatedOneCache("ProductCategory")>            <div class="tabletext">                -&nbsp;<a href="<@ofbizUrl>category/~category_id=${productPromoCategory.productCategoryId}</@ofbizUrl>" class="buttontext">${(productCategory.description)?default(productPromoCategory.productCategoryId)}</a>                <#if productPromoCategory.includeSubCategories?if_exists = "Y">(or any sub-category)</#if>            </div>          </#list>        </#if>    </div></div></#if><#if productIds?has_content><div class="screenlet">    <div class="screenlet-header">        <div class="boxhead">&nbsp;${uiLabelMap.EcommerceProductsForPromotion}:</div>    </div>    <div class="screenlet-body">        <#if (listSize > 0)>            <table border="0" width="100%" cellpadding="2">                <tr>                <td align="right">                    <span class="tabletext">                    <b>                    <#if (viewIndex > 0)>                    <a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromoId?if_exists}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex-1}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonPrevious}</a> |                    </#if>                    ${lowIndex+1} - ${highIndex} ${uiLabelMap.CommonOf} ${listSize}                    <#if (listSize > highIndex)>                    | <a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromoId?if_exists}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex+1}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonNext}</a>                    </#if>                    </b>                    </span>                </td>                </tr>            </table>        </#if>        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="boxbottom">          <tr>            <td><div class="tableheadtext">${uiLabelMap.CommonQualifier}</div></td>            <td><div class="tableheadtext">${uiLabelMap.CommonBenefit}</div></td>            <td><div class="tableheadtext">&nbsp;</div></td>          </tr>        <#if (listSize > 0)>          <#list productIds[lowIndex..highIndex-1] as productId>              <tr>                <td><div class="tabletext">[<#if productIdsCond.contains(productId)>x<#else>&nbsp;</#if>]</div></td>                <td><div class="tabletext">[<#if productIdsAction.contains(productId)>x<#else>&nbsp;</#if>]</div></td>                <td>                  ${setRequestAttribute("optProductId", productId)}                  ${setRequestAttribute("listIndex", productId_index)}                  ${screens.render(productsummaryScreen)}                </td>              </tr>          </#list>        </#if>        </table>    </div></div></#if><#else>    <div class="head2">${uiLabelMap.EcommerceErrorNoPromotionFoundWithID} [${productPromoId?if_exists}]</div></#if>

⌨️ 快捷键说明

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