+ <#else>
+
+
+ | -- |
+ -- |
+
+
+ | -- |
+
+ #if>
${cartLine.getQuantity()?string.number} |
<#else><#-- fixedAssetExist -->
${cartLine.getQuantity()?string.number}
diff --git a/ecommerce/webapp/ecommerce/catalog/productdetail.ftl b/ecommerce/webapp/ecommerce/catalog/productdetail.ftl
index 774e29a18..74449662f 100644
--- a/ecommerce/webapp/ecommerce/catalog/productdetail.ftl
+++ b/ecommerce/webapp/ecommerce/catalog/productdetail.ftl
@@ -219,7 +219,7 @@ ${virtualVariantJavaScript?if_exists}
}
function additemSubmit(){
- <#if product.productTypeId?if_exists == "ASSET_USAGE">
+ <#if product.productTypeId?if_exists == "ASSET_USAGE" || product.productTypeId?if_exists == "ASSET_USAGE_OUT_IN">
newdatevalue = validate(document.addform.reservStart.value);
if (newdatevalue == false) {
document.addform.reservStart.focus();
@@ -233,7 +233,7 @@ ${virtualVariantJavaScript?if_exists}
}
function addShoplistSubmit(){
- <#if product.productTypeId?if_exists == "ASSET_USAGE">
+ <#if product.productTypeId?if_exists == "ASSET_USAGE" || product.productTypeId?if_exists == "ASSET_USAGE_OUT_IN">
if (document.addToShoppingList.reservStartStr.value == "") {
document.addToShoppingList.submit();
} else {
@@ -456,7 +456,7 @@ ${virtualVariantJavaScript?if_exists}
<#assign priceStyle = "regularPrice" />
#if>
${uiLabelMap.OrderYourPrice}: <#if "Y" = product.isVirtual?if_exists> ${uiLabelMap.CommonFrom} #if><@ofbizCurrency amount=price.price isoCode=price.currencyUsed />
- <#if product.productTypeId?if_exists == "ASSET_USAGE">
+ <#if product.productTypeId?if_exists == "ASSET_USAGE" || product.productTypeId?if_exists == "ASSET_USAGE_OUT_IN">
<#if product.reserv2ndPPPerc?exists && product.reserv2ndPPPerc != 0> ${uiLabelMap.ProductReserv2ndPPPerc}<#if !product.reservNthPPPerc?exists || product.reservNthPPPerc == 0>${uiLabelMap.CommonUntil} ${product.reservMaxPersons?if_exists}#if> <@ofbizCurrency amount=product.reserv2ndPPPerc*price.price/100 isoCode=price.currencyUsed />#if>
<#if product.reservNthPPPerc?exists &&product.reservNthPPPerc != 0> ${uiLabelMap.ProductReservNthPPPerc} <#if !product.reserv2ndPPPerc?exists || product.reserv2ndPPPerc == 0>${uiLabelMap.ProductReservSecond} <#else> ${uiLabelMap.ProductReservThird} #if> ${uiLabelMap.CommonUntil} ${product.reservMaxPersons?if_exists}, ${uiLabelMap.ProductEach}: <@ofbizCurrency amount=product.reservNthPPPerc*price.price/100 isoCode=price.currencyUsed />#if>
<#if (!product.reserv2ndPPPerc?exists || product.reserv2ndPPPerc == 0) && (!product.reservNthPPPerc?exists || product.reservNthPPPerc == 0)> ${uiLabelMap.ProductMaximum} ${product.reservMaxPersons?if_exists} ${uiLabelMap.ProductPersons}.#if>
@@ -629,7 +629,7 @@ ${virtualVariantJavaScript?if_exists}
${uiLabelMap.CommonAmount}:
- <#if product.productTypeId?if_exists == "ASSET_USAGE">
+ <#if product.productTypeId?if_exists == "ASSET_USAGE" || product.productTypeId?if_exists == "ASSET_USAGE_OUT_IN">
|