<#if productPriceRule??>
<#assign productPriceConds = productPriceRule.getRelated("ProductPriceCond", null, null, false)>
<#assign productPriceActions = productPriceRule.getRelated("ProductPriceAction", null, null, false)>
${productPriceRule.productPriceRuleId} |
|
<#if !productPriceConds?has_content && !productPriceActions?has_content>
#if>
|
${uiLabelMap.ProductConditions} |
<#assign maxCondSeqId = 1>
<#assign rowClass = "2">
<#list productPriceConds as productPriceCond>
class="alternate-row"#if>>
<#-- if cur seq id is a number and is greater than max, set new max for input box prefill below -->
<#assign curCondSeqId = productPriceCond.productPriceCondSeqId?number>
<#if (curCondSeqId >= maxCondSeqId)><#assign maxCondSeqId = curCondSeqId + 1>#if>
${productPriceCond.productPriceCondSeqId} |
|
|
<#-- toggle the row color -->
<#if "2" == rowClass>
<#assign rowClass = "1">
<#else>
<#assign rowClass = "2">
#if>
#list>
|
|
${uiLabelMap.ProductActions} |
<#assign rowClass = "2">
<#list productPriceActions as productPriceAction>
class="alternate-row"#if>>
${productPriceAction.productPriceActionSeqId} |
|
|
<#-- toggle the row color -->
<#if "2" == rowClass>
<#assign rowClass = "1">
<#else>
<#assign rowClass = "2">
#if>
#list>
|
|
#if>