META-INF.resources.commerce_price_lists.commerce_price_entry.details.jspf Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.commerce.pricing.web
Show all versions of com.liferay.commerce.pricing.web
Liferay Commerce Pricing Web
The newest version!
<%--
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
--%>
<%
boolean priceOnApplication = BeanParamUtil.getBoolean(commercePriceEntry, request, "priceOnApplication", false);
%>
<%
String unitOfMeasureKey = commercePriceEntry.getUnitOfMeasureKey();
for (CPInstanceUnitOfMeasure cpInstanceUnitOfMeasure : commercePriceEntryDisplayContext.getCPInstanceUnitOfMeasures()) {
%>
<%
}
%>
<%
boolean discountDiscovery = BeanParamUtil.getBoolean(commercePriceEntry, request, "discountDiscovery", true);
%>
" id=" discountLevels">
<%= CommercePriceConstants.PRICE_VALUE_MIN %>
<%= CommercePriceConstants.PRICE_VALUE_MAX %>
<%= CommercePriceConstants.PRICE_VALUE_MIN %>
<%= CommercePriceConstants.PRICE_VALUE_MAX %>
<%= CommercePriceConstants.PRICE_VALUE_MIN %>
<%= CommercePriceConstants.PRICE_VALUE_MAX %>
<%= CommercePriceConstants.PRICE_VALUE_MIN %>
<%= CommercePriceConstants.PRICE_VALUE_MAX %>
<%
CommercePriceList commercePriceList = commercePriceEntry.getCommercePriceList();
CommerceCurrency commerceCurrency = commercePriceList.getCommerceCurrency();
String priceInputLabel = "price-list-price";
if (CommercePriceListConstants.TYPE_PROMOTION.equals(commercePriceEntryDisplayContext.getCommercePriceListType(portletName))) {
priceInputLabel = "promotion-price";
}
%>
<%= CommercePriceConstants.PRICE_VALUE_MIN %>
<%= CommercePriceConstants.PRICE_VALUE_MAX %>
<%
boolean neverExpire = ParamUtil.getBoolean(request, "neverExpire", true);
if ((commercePriceEntry != null) && (commercePriceEntry.getExpirationDate() != null)) {
neverExpire = false;
}
%>
<%@ include file="/commerce_price_lists/commerce_price_entry/tier_price_entries.jspf" %>