This is an automated email from the ASF dual-hosted git repository.
pawan pushed a commit to branch release17.12
in repository
https://gitbox.apache.org/repos/asf/ofbiz-plugins.gitThe following commit(s) were added to refs/heads/release17.12 by this push:
new 369088d Fixed: Improve the buttons on edit credit card page (OFBIZ-10975)
369088d is described below
commit 369088d7320fa4b14e11d78d0ecfae0d16675246
Author: Pawan Verma <
[hidden email]>
AuthorDate: Sun May 10 14:11:38 2020 +0530
Fixed: Improve the buttons on edit credit card page
(OFBIZ-10975)
Thanks: Sourabh and Suraj for your contribution.
---
ecommerce/template/customer/EditCreditCard.ftl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ecommerce/template/customer/EditCreditCard.ftl b/ecommerce/template/customer/EditCreditCard.ftl
index e944f15..a59eea8 100644
--- a/ecommerce/template/customer/EditCreditCard.ftl
+++ b/ecommerce/template/customer/EditCreditCard.ftl
@@ -24,7 +24,6 @@ under the License.
<#if !creditCard??>
<h2>${uiLabelMap.AccountingAddNewCreditCard}</h2>
<form method="post" action="<@ofbizUrl>createCreditCard?DONE_PAGE=${donePage}</@ofbizUrl>" name="editcreditcardform">
- <div>
<#else>
<h2>${uiLabelMap.AccountingEditCreditCard}</h2>
<form method="post" action="<@ofbizUrl>updateCreditCard?DONE_PAGE=${donePage}</@ofbizUrl>" name="editcreditcardform">
@@ -32,6 +31,7 @@ under the License.
</#if>
<a href="<@ofbizUrl>${donePage}</@ofbizUrl>" class="btn btn-outline-secondary">${uiLabelMap.CommonGoBack}</a>
<a href="javascript:document.editcreditcardform.submit()" class="btn btn-outline-secondary">${uiLabelMap.CommonSave}</a>
+ <div>
${screens.render("component://ecommerce/widget/CustomerScreens.xml#creditCardFields")}
<label class="mb-2">${uiLabelMap.PartyBillingAddress}</label>
<#-- Removed because is confusing, can add but would have to come back here with all data populated as before...