Author: ashish
Date: Fri Jun 19 10:54:02 2009
New Revision: 786448
URL:
http://svn.apache.org/viewvc?rev=786448&view=revLog:
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/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditBillingAddress.groovy
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy
Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditBillingAddress.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditBillingAddress.groovy?rev=786448&r1=786447&r2=786448&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditBillingAddress.groovy (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditBillingAddress.groovy Fri Jun 19 10:54:02 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/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy?rev=786448&r1=786447&r2=786448&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy Fri Jun 19 10:54:02 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;