You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2009/06/20 12:00:03 UTC

svn commit: r786782 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java

Author: ashish
Date: Sat Jun 20 10:00:03 2009
New Revision: 786782

URL: http://svn.apache.org/viewvc?rev=786782&view=rev
Log:
Applied patch from jira issue OFBIZ-2641 (Support to send pdf attachement with email on accepting return)
In custom application user can insert the location of pdf screen in ProductStoreEmailSettings entity.

Thanks Pranay for your contribution.

Modified:
    ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java

Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java?rev=786782&r1=786781&r2=786782&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java Sat Jun 20 10:00:03 2009
@@ -252,6 +252,8 @@
                     bodyScreenLocation = ProductStoreWorker.getDefaultProductStoreEmailScreenLocation(emailType);
                 }
                 sendMap.put("bodyScreenUri", bodyScreenLocation);
+                String xslfoAttachScreenLocation = productStoreEmail.getString("xslfoAttachScreenLocation");
+                sendMap.put("xslfoAttachScreenLocation", xslfoAttachScreenLocation);
 
                 ResourceBundleMapWrapper uiLabelMap = (ResourceBundleMapWrapper) UtilProperties.getResourceBundleMap("EcommerceUiLabels", locale);
                 uiLabelMap.addBottomResourceBundle("OrderUiLabels");