case 'civicrm_contribution_recur':
if ($mode == 1) {
// 'Made payment for the recurring contributions?' is ticked yes
- $from = " $side JOIN civicrm_contribution_recur ON contact_a.id = civicrm_contribution_recur.contact_id ";
+ $from = " $side JOIN civicrm_contribution_recur ON contact_a.id = civicrm_contribution_recur.contact_id ";
if (self::$_contribRecurPayment == TRUE) {
$from .= " AND civicrm_contribution.contribution_recur_id = civicrm_contribution_recur.id ";
}
parent::__construct();
}
- /**
+ /**
* @param bool $freeze
*
* @return array
}
// Add total line only if results are available
if (count($rows) > 0) {
- $lastRow = array('civicrm_contribution_recur_payment_instrument_id' => '',
- 'civicrm_contribution_recur_start_date' => $started,
- 'civicrm_contribution_recur_cancel_date' => $cancelled,
- 'civicrm_contribution_recur_contribution_status_id' => $active,
- 'civicrm_contribution_recur_amount' => CRM_Utils_Money::format($total),
+ $lastRow = array(
+ 'civicrm_contribution_recur_payment_instrument_id' => '',
+ 'civicrm_contribution_recur_start_date' => $started,
+ 'civicrm_contribution_recur_cancel_date' => $cancelled,
+ 'civicrm_contribution_recur_contribution_status_id' => $active,
+ 'civicrm_contribution_recur_amount' => CRM_Utils_Money::format($total),
);
$rows[] = $lastRow;
}
{include file="CRM/Campaign/Form/addCampaignToComponent.tpl" campaignContext="componentSearch"
campaignTrClass='' campaignTdClass=''}
+{* contribution recurring search *}
<tr>
<td colspan="2">
{include file="CRM/Contribute/Form/Search/ContributionRecur.tpl"}