Author: apatel
Date: Wed Feb 22 00:11:56 2012
New Revision: 1292089
URL:
http://svn.apache.org/viewvc?rev=1292089&view=revLog:
firstNameOnCard can be empty as well. Set some default value like we got for last name.
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl?rev=1292089&r1=1292088&r2=1292089&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl Wed Feb 22 00:11:56 2012
@@ -336,7 +336,7 @@ under the License.
<#if creditCard?has_content>
<#if creditCard.companyNameOnCard?exists>${creditCard.companyNameOnCard}<br /></#if>
<#if creditCard.titleOnCard?has_content>${creditCard.titleOnCard} </#if>
- ${creditCard.firstNameOnCard}
+ ${creditCard.firstNameOnCard?default("N/A")}
<#if creditCard.middleNameOnCard?has_content>${creditCard.middleNameOnCard} </#if>
${creditCard.lastNameOnCard?default("N/A")}
<#if creditCard.suffixOnCard?has_content> ${creditCard.suffixOnCard}</#if>