META-INF.resources.view_commerce_checkout_delivery_group.jsp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.commerce.checkout.web
Show all versions of com.liferay.commerce.checkout.web
Liferay Commerce Checkout Web
<%--
/**
* SPDX-FileCopyrightText: (c) 2024 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" %>
<%
DeliveryGroupDisplayContext deliveryGroupDisplayContext = (DeliveryGroupDisplayContext)request.getAttribute(WebKeys.PORTLET_DISPLAY_CONTEXT);
%>
<%
CommerceAddress commerceAddress = deliveryGroupDisplayContext.getCommerceAddress(request);
%>
<%= commerceAddress.getName() %>
<%= commerceAddress.getStreet1() %>
<%= commerceAddress.getStreet2() %>
<%= commerceAddress.getStreet3() %>
<%
Region region = commerceAddress.getRegion();
%>
<%= commerceAddress.getCity() %>
<%= StringPool.COMMA_AND_SPACE %>
<%= region.getName() %>
<%
Country country = commerceAddress.getCountry();
%>
<%= commerceAddress.getZip() %>
<%= StringPool.COMMA_AND_SPACE %>
<%= country.getName(locale) %>
<%
Format format = FastDateFormatFactoryUtil.getSimpleDateFormat("MMM d, yyyy", locale, timeZone);
%>
<%= format.format(deliveryGroupDisplayContext.getDeliveryGroupDate(request)) %>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy