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

META-INF.resources.edit_commerce_payment_entry.jsp Maven / Gradle / Ivy

There is a newer version: 4.0.60
Show newest version
<%--
/**
 * SPDX-FileCopyrightText: (c) 2023 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" %>

<%
String backURL = ParamUtil.getString(request, "backURL", String.valueOf(renderResponse.createRenderURL()));

CommercePaymentEntryDisplayContext commercePaymentEntryDisplayContext = (CommercePaymentEntryDisplayContext)request.getAttribute(WebKeys.PORTLET_DISPLAY_CONTEXT);

CommercePaymentEntry commercePaymentEntry = commercePaymentEntryDisplayContext.getCommercePaymentEntry();

String note = (commercePaymentEntry == null) ? StringPool.BLANK : commercePaymentEntry.getNote();
int paymentStatus = (commercePaymentEntry == null) ? CommercePaymentEntryConstants.STATUS_PENDING : commercePaymentEntry.getPaymentStatus();

portletDisplay.setShowBackIcon(true);
portletDisplay.setURLBack(backURL);
%>


	
	




#<%= String.valueOf(commercePaymentEntryDisplayContext.getClassPK()) %>

<%= commercePaymentEntryDisplayContext.getRelatedToClassName() %>

#<%= commercePaymentEntryDisplayContext.getRelatedToClassPK() %>

#<%= commercePaymentEntryDisplayContext.getRelatedToClassPK() %>

<%= commercePaymentEntryDisplayContext.getPaymentMethod() %>

<%= commercePaymentEntryDisplayContext.getPaymentDate() %>

<%= commercePaymentEntryDisplayContext.getTotalAmountFormatted() %>

<%= commercePaymentEntryDisplayContext.getDeliveryFormatted() %>

<%= commercePaymentEntryDisplayContext.getRefundAlreadyCompleted() %>

<%= HtmlUtil.escape(note) %>
<% for (CommercePaymentEntryRefundType commercePaymentEntryRefundType : commercePaymentEntryDisplayContext.getCommercePaymentEntryRefundTypes()) { String key = commercePaymentEntryRefundType.getKey(); %> <% } %>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy