civicrm/civicrm-core — pull request #41 by pradpnayak (2013-03-05 18:56:39+00:00)
Title: --fixed for CRM-11467

used case clause if entity_id pointing to financial_item is present then use entity_financial_trxn.amount pointing to financial_item else financial_trxn.