svn commit: r1292089 - /ofbiz/trunk/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1292089 - /ofbiz/trunk/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl

apatel-2
Author: apatel
Date: Wed Feb 22 00:11:56 2012
New Revision: 1292089

URL: http://svn.apache.org/viewvc?rev=1292089&view=rev
Log:
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}&nbsp;</#if>
-                      ${creditCard.firstNameOnCard}&nbsp;
+                      ${creditCard.firstNameOnCard?default("N/A")}&nbsp;
                       <#if creditCard.middleNameOnCard?has_content>${creditCard.middleNameOnCard}&nbsp;</#if>
                       ${creditCard.lastNameOnCard?default("N/A")}
                       <#if creditCard.suffixOnCard?has_content>&nbsp;${creditCard.suffixOnCard}</#if>