All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.commerce_price_lists.commerce_price_list.details.jsp Maven / Gradle / Ivy

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
 */
--%>

<%@ include file="/init.jsp" %>

<%
CommercePriceListDisplayContext commercePriceListDisplayContext = (CommercePriceListDisplayContext)request.getAttribute(WebKeys.PORTLET_DISPLAY_CONTEXT);

CommercePriceList commercePriceList = commercePriceListDisplayContext.getCommercePriceList();
long commercePriceListId = commercePriceListDisplayContext.getCommercePriceListId();
List commerceCatalogs = commercePriceListDisplayContext.getCommerceCatalogs();

CommercePriceList parentCommercePriceList = commercePriceList.fetchParentCommercePriceList();

boolean neverExpire = ParamUtil.getBoolean(request, "neverExpire", true);

if ((commercePriceList != null) && (commercePriceList.getExpirationDate() != null)) {
	neverExpire = false;
}
%>


	
<% for (CommerceCatalog commerceCatalog : commerceCatalogs) { %> <% } %> <% for (CommerceCurrency commerceCurrency : commercePriceListDisplayContext.getCommerceCurrencies()) { %> <% } %>
<% boolean netPrice = true; if (commercePriceList != null) { netPrice = commercePriceList.isNetPrice(); } %>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy