Author: ashish
Date: Fri Jun 19 10:56:57 2009
New Revision: 786450
URL:
http://svn.apache.org/viewvc?rev=786450&view=revLog:
Applied fix from trunk revision: 786448.
Applied patch from jira issue OFBIZ-2633 (Adding more attributes to context so that they can be used as well if required.)
Thanks Rishi for the contribution.
Modified:
ofbiz/branches/release09.04/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditBillingAddress.groovy
ofbiz/branches/release09.04/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy
Modified: ofbiz/branches/release09.04/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditBillingAddress.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release09.04/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditBillingAddress.groovy?rev=786450&r1=786449&r2=786450&view=diff==============================================================================
--- ofbiz/branches/release09.04/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditBillingAddress.groovy (original)
+++ ofbiz/branches/release09.04/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditBillingAddress.groovy Fri Jun 19 10:56:57 2009
@@ -28,6 +28,8 @@
postalAddress = contactMech.getRelatedOne("PostalAddress");
billToContactMechId = postalAddress.contactMechId;
context.billToContactMechId = billToContactMechId;
+ context.billToName = postalAddress.toName;
+ context.billToAttnName = postalAddress.attnName;
context.billToAddress1 = postalAddress.address1;
context.billToAddress2 = postalAddress.address2;
context.billToCity = postalAddress.city;
Modified: ofbiz/branches/release09.04/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release09.04/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy?rev=786450&r1=786449&r2=786450&view=diff==============================================================================
--- ofbiz/branches/release09.04/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy (original)
+++ ofbiz/branches/release09.04/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy Fri Jun 19 10:56:57 2009
@@ -31,6 +31,8 @@
postalAddress = contactMech.getRelatedOne("PostalAddress");
context.shipToContactMechId = postalAddress.contactMechId;
+ context.shipToName = postalAddress.toName;
+ context.shipToAttnName = postalAddress.attnName;
context.shipToAddress1 = postalAddress.address1;
context.shipToAddress2 = postalAddress.address2;
context.shipToCity = postalAddress.city;