Skip to content

Commit

Permalink
dev/financial#6 do not include template contributions in reports
Browse files Browse the repository at this point in the history
  • Loading branch information
jaapjansma committed May 31, 2021
1 parent 35a454f commit 4990584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Report/Form/Contribute/Bookkeeping.php
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ public function from() {
$this->_from = "FROM civicrm_contact {$this->_aliases['civicrm_contact']} {$this->_aclFrom}
INNER JOIN civicrm_contribution {$this->_aliases['civicrm_contribution']}
ON {$this->_aliases['civicrm_contact']}.id = {$this->_aliases['civicrm_contribution']}.contact_id AND
{$this->_aliases['civicrm_contribution']}.is_test = 0
{$this->_aliases['civicrm_contribution']}.is_test = 0 AND
{$this->_aliases['civicrm_contribution']}.is_template = 0
LEFT JOIN civicrm_membership_payment payment
ON ( {$this->_aliases['civicrm_contribution']}.id = payment.contribution_id )
Expand Down

0 comments on commit 4990584

Please sign in to comment.