From: Pradeep Nayak Date: Tue, 5 Mar 2013 18:47:36 +0000 (+0530) Subject: --fixed for CRM-11467 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=81e472f49bf6a9532ebd3b5393a630c049f7f4ae;p=civicrm-core.git --fixed for CRM-11467 --- diff --git a/CRM/Financial/BAO/ExportFormat/CSV.php b/CRM/Financial/BAO/ExportFormat/CSV.php index e1e0a5fa7b..4962615464 100644 --- a/CRM/Financial/BAO/ExportFormat/CSV.php +++ b/CRM/Financial/BAO/ExportFormat/CSV.php @@ -85,7 +85,11 @@ class CRM_Financial_BAO_ExportFormat_CSV extends CRM_Financial_BAO_ExportFormat c.source AS source, ft.currency AS currency, cov_status.label AS status, - eftc.amount AS amount, + CASE + WHEN efti.entity_id IS NOT NULL + THEN efti.amount + ELSE eftc.amount + END AS amount, fa_from.account_type_code AS credit_account_type_code, fa_from.accounting_code AS credit_account, fa_from.name AS credit_account_name,