Fix for currency format on exporting contribution detail report
authorWeb Access <rohan.katkar@webaccessglobal.com>
Wed, 1 Apr 2015 09:10:45 +0000 (14:40 +0530)
committerWeb Access <rohan.katkar@webaccessglobal.com>
Wed, 1 Apr 2015 09:10:45 +0000 (14:40 +0530)
CRM/Report/Utils/Report.php

index 4706809569ff68c23ce76041b896aad4d5a4b632..d9a86a2a7c45fc76c4ae95c200bf130be22eb0d3 100644 (file)
@@ -281,7 +281,7 @@ WHERE  inst.report_id = %1";
             }
           }
           elseif (CRM_Utils_Array::value('type', $form->_columnHeaders[$v]) == 1024) {
-            $value = CRM_Utils_Money::format($value);
+            $value = CRM_Utils_Money::format($value, $row['civicrm_contribution_currency']);
           }
           $displayRows[$v] = '"' . $value . '"';
         }