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

META-INF.resources.commerce_channel.general.jsp Maven / Gradle / Ivy

There is a newer version: 4.0.84
Show 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" %>

<%
CommerceChannelDisplayContext commerceChannelDisplayContext = (CommerceChannelDisplayContext)request.getAttribute(WebKeys.PORTLET_DISPLAY_CONTEXT);

CommerceChannel commerceChannel = commerceChannelDisplayContext.getCommerceChannel();
long commerceChannelId = commerceChannelDisplayContext.getCommerceChannelId();
List commerceCurrencies = commerceChannelDisplayContext.getCommerceCurrencies();

String commerceCurrencyCode = commerceChannel.getCommerceCurrencyCode();

Map contextParams = HashMapBuilder.put(
	"commerceChannelId", String.valueOf(commerceChannel.getCommerceChannelId())
).build();
%>










	
	
	

	

	
<% for (CommerceCurrency commerceCurrency : commerceCurrencies) { %> <% } %> <% for (int commerceSiteType : CommerceChannelConstants.SITE_TYPES) { %> <% } %> <% for (AccountEntry accountEntry : commerceChannelDisplayContext.getSupplierAccountEntries()) { %> <% } %>
<% String priceDisplayType = commerceChannel.getPriceDisplayType(); %>
<% List workflowDefinitions = commerceChannelDisplayContext.getActiveWorkflowDefinitions(); long typePK = CommerceOrderConstants.TYPE_PK_APPROVAL; String typePrefix = "buyer-order-approval"; %> <%@ include file="/commerce_channel/workflow_definition.jspf" %>
<% typePK = CommerceOrderConstants.TYPE_PK_FULFILLMENT; typePrefix = "seller-order-acceptance"; %> <%@ include file="/commerce_channel/workflow_definition.jspf" %>
0
<% FileEntry fileEntry = commerceChannelDisplayContext.fetchFileEntry(); %>

<%= (fileEntry != null) ? fileEntry.getFileName() : "" %> " id="fileEntryRemoveIcon" role="button">

<% String shippingTaxCategoryId = StringPool.BLANK; String shippingTaxCategoryLabel = LanguageUtil.get(request, "no-tax-category"); CPTaxCategory shippingTaxCategory = commerceChannelDisplayContext.getActiveShippingTaxCategory(); if (shippingTaxCategory != null) { shippingTaxCategoryId = String.valueOf(shippingTaxCategory.getCPTaxCategoryId()); shippingTaxCategoryLabel = shippingTaxCategory.getName(locale); } %>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy