From: Laryn Date: Fri, 18 Mar 2016 14:33:34 +0000 (-0500) Subject: Trying again on the indentation. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c893e27cd0e0a9c0d4c5131e9df8b41274b4aed7;p=civicrm-core.git Trying again on the indentation. --- diff --git a/CRM/Report/Form/Contribute/Bookkeeping.php b/CRM/Report/Form/Contribute/Bookkeeping.php index 83e245ad0f..fd4c64cea0 100644 --- a/CRM/Report/Form/Contribute/Bookkeeping.php +++ b/CRM/Report/Form/Contribute/Bookkeeping.php @@ -426,10 +426,10 @@ class CRM_Report_Form_Contribute_Bookkeeping extends CRM_Report_Form { LEFT JOIN civicrm_line_item {$this->_aliases['civicrm_line_item']} ON fitem.entity_id = {$this->_aliases['civicrm_line_item']}.id AND fitem.entity_table = 'civicrm_line_item' "; if ($this->isTableSelected('civicrm_batch')) { - $this->_from .= "LEFT JOIN civicrm_entity_batch ent_batch - ON {$this->_aliases['civicrm_financial_trxn']}.id = ent_batch.entity_id AND ent_batch.entity_table = 'civicrm_financial_trxn' - LEFT JOIN civicrm_batch batch - ON ent_batch.batch_id = batch.id"; + $this->_from .= "LEFT JOIN civicrm_entity_batch ent_batch + ON {$this->_aliases['civicrm_financial_trxn']}.id = ent_batch.entity_id AND ent_batch.entity_table = 'civicrm_financial_trxn' + LEFT JOIN civicrm_batch batch + ON ent_batch.batch_id = batch.id"; } }