You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ap...@apache.org on 2014/09/20 11:35:18 UTC
svn commit: r1626406 -
/ofbiz/trunk/applications/order/webapp/ordermgr/entry/billsettings.ftl
Author: apatel
Date: Sat Sep 20 09:35:17 2014
New Revision: 1626406
URL: http://svn.apache.org/r1626406
Log:
[OFBIZ-5775] Patch resolves the issue.
Now reading createNew flag from request parameters, if not found then initialize it locally.
Thanks Deepak Dixit for the patch.
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/entry/billsettings.ftl
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/entry/billsettings.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/entry/billsettings.ftl?rev=1626406&r1=1626405&r2=1626406&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/entry/billsettings.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/entry/billsettings.ftl Sat Sep 20 09:35:17 2014
@@ -489,9 +489,9 @@ function makeExpDate() {
<form method="post" action="<@o...@ofbizUrl>" name="checkoutsetupform" id="checkoutsetupform">
<input type="hidden" name="finalizeMode" value="payment"/>
- <input type="hidden" name="createNew" value="Y"/>
+ <input type="hidden" name="createNew" value="${(requestParameters.createNew)!}"/>
<table width="100%" border="0" cellpadding="1" cellspacing="0">
- <#if !requestParameters.createNew??>
+ <#if "Y" != requestParameters.createNew?default("")>
<tr>
<td width='1%' nowrap="nowrap"><input type="radio" name="paymentMethodTypeAndId" value="EXT_OFFLINE" <#if checkOutPaymentId?? && checkOutPaymentId == "EXT_OFFLINE">checked="checked"</#if> onchange="setCheckoutPaymentId(this.value)" onclick="setCheckoutPaymentId(this.value)"/></td>
<td width='50%' nowrap="nowrap"><div>${uiLabelMap.OrderPaymentOfflineCheckMoney}</div></td>