META-INF.resources.placed_commerce_orders.new_view.jsp Maven / Gradle / Ivy
Show all versions of com.liferay.commerce.order.content.web
<%--
/**
* 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" %>
<%
CommerceOrder commerceOrder = commerceOrderContentDisplayContext.getCommerceOrder();
%>
<%
String commerceOrderName = commerceOrder.getName();
%>
<%= HtmlUtil.escape(commerceOrderName) %>
<%
AccountEntry accountEntry = commerceOrder.getAccountEntry();
%>
<%= StringPool.BLANK %>
<%= accountEntry.getName() %>
#<%= accountEntry.getAccountEntryId() %>
<%
String purchaseOrderNumber = commerceOrder.getPurchaseOrderNumber();
%>
<%= HtmlUtil.escape(purchaseOrderNumber) %>
<%= HtmlUtil.escape(commerceOrderContentDisplayContext.fetchCommerceChannel().getName()) %>
<%
CommerceAddress billingCommerceAddress = commerceOrder.getBillingAddress();
%>
<%= billingCommerceAddress.getStreet1() %>
<%= billingCommerceAddress.getStreet2() %>
<%= billingCommerceAddress.getStreet3() %>
<%= commerceOrderContentDisplayContext.getDescriptiveAddress(billingCommerceAddress) %>
<%
CommerceAddress shippingCommerceAddress = commerceOrder.getShippingAddress();
%>
<%= shippingCommerceAddress.getStreet1() %>
<%= shippingCommerceAddress.getStreet2() %>
<%= shippingCommerceAddress.getStreet3() %>
<%= commerceOrderContentDisplayContext.getDescriptiveAddress(shippingCommerceAddress) %>
<%= commerceOrder.getPaymentCommerceTermEntryName() %>
<%= commerceOrder.getDeliveryCommerceTermEntryName() %>
<%= commerceOrderContentDisplayContext.formatCommerceOrderDate(commerceOrder.getOrderDate()) %>
<%
Date requestedDeliveryDate = commerceOrder.getRequestedDeliveryDate();
%>
<%= commerceOrderContentDisplayContext.formatCommerceOrderDate(requestedDeliveryDate) %>
<%= HtmlUtil.escape(commerceOrderContentDisplayContext.getCommerceOrderTypeName(LanguageUtil.getLanguageId(locale))) %>
<%
List commerceOrderNotes = commerceOrderContentDisplayContext.getCommerceOrderNotes(commerceOrder);
%>