From: eileen Date: Mon, 5 Aug 2013 02:25:31 +0000 (+1200) Subject: CRM-13155 move recur contribution search pane into subsidiary tpl X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8af85b9a87d4e671f815cd693a5018d88df52b59;p=civicrm-core.git CRM-13155 move recur contribution search pane into subsidiary tpl this appears to all work. To get recurring contributions with no contributions you have to manually clear 'test' - but as this is a bit of an edge case it can stay that way for now. I expect that this will become more important with the circle extension - but not today --- diff --git a/templates/CRM/Contribute/Form/Search/Common.tpl b/templates/CRM/Contribute/Form/Search/Common.tpl index 1cda924062..5f6efab361 100644 --- a/templates/CRM/Contribute/Form/Search/Common.tpl +++ b/templates/CRM/Contribute/Form/Search/Common.tpl @@ -111,41 +111,6 @@ - {ts}Recurring Payments Start Date{/ts} - - {include file="CRM/Core/DateRange.tpl" fieldName="contribution_recur_start_date" from='_low' to='_high'} - - - - {ts}Recurring Contribution End Date{/ts} - - {include file="CRM/Core/DateRange.tpl" fieldName="contribution_recur_end_date" from='_low' to='_high'} - - - - {ts}Recurring Contribution Modified Date{/ts} - - {include file="CRM/Core/DateRange.tpl" fieldName="contribution_recur_modified_date" from='_low' to='_high'} - - - - {ts}Next Scheduled Recurring Contribution{/ts} - - {include file="CRM/Core/DateRange.tpl" fieldName="contribution_recur_next_sched_contribution_date" from='_low' to='_high'} - - - - {ts}Retry Failed Recurring Contribution On{/ts} - - {include file="CRM/Core/DateRange.tpl" fieldName="contribution_recur_failure_retry_date" from='_low' to='_high'} - - - - {ts}Recurring Contribution Cancel Date{/ts} - - {include file="CRM/Core/DateRange.tpl" fieldName="contribution_recur_cancel_date" from='_low' to='_high'} - - @@ -201,6 +166,11 @@ {include file="CRM/Campaign/Form/addCampaignToComponent.tpl" campaignContext="componentSearch" campaignTrClass='' campaignTdClass=''} + + +{include file="CRM/Contribute/Form/Search/ContributionRecur.tpl"} + + {if $contributeGroupTree} diff --git a/templates/CRM/Contribute/Form/Search/ContributionRecur.tpl b/templates/CRM/Contribute/Form/Search/ContributionRecur.tpl new file mode 100644 index 0000000000..c9fb1f08cd --- /dev/null +++ b/templates/CRM/Contribute/Form/Search/ContributionRecur.tpl @@ -0,0 +1,72 @@ +{* + +--------------------------------------------------------------------+ + | CiviCRM version 4.3 | + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC (c) 2004-2013 | + +--------------------------------------------------------------------+ + | This file is a part of CiviCRM. | + | | + | CiviCRM is free software; you can copy, modify, and distribute it | + | under the terms of the GNU Affero General Public License | + | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | + | | + | CiviCRM is distributed in the hope that it will be useful, but | + | WITHOUT ANY WARRANTY; without even the implied warranty of | + | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | + | See the GNU Affero General Public License for more details. | + | | + | You should have received a copy of the GNU Affero General Public | + | License and the CiviCRM Licensing Exception along | + | with this program; if not, contact CiviCRM LLC | + | at info[AT]civicrm[DOT]org. If you have questions about the | + | GNU Affero General Public License or the licensing of CiviCRM, | + | see the CiviCRM license FAQ at http://civicrm.org/licensing | + +--------------------------------------------------------------------+ +*} + +
+
+ {ts}Recurring Contributions{/ts} +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
{ts}Recurring Payments Start Date{/ts} + {include file="CRM/Core/DateRange.tpl" fieldName="contribution_recur_start_date" from='_low' to='_high'} +
{ts}Recurring Contribution End Date{/ts} + {include file="CRM/Core/DateRange.tpl" fieldName="contribution_recur_end_date" from='_low' to='_high'} +
{ts}Recurring Contribution Modified Date{/ts} + {include file="CRM/Core/DateRange.tpl" fieldName="contribution_recur_modified_date" from='_low' to='_high'} +
{ts}Next Scheduled Recurring Contribution{/ts} + {include file="CRM/Core/DateRange.tpl" fieldName="contribution_recur_next_sched_contribution_date" from='_low' to='_high'} +
{ts}Retry Failed Recurring Contribution On{/ts} + {include file="CRM/Core/DateRange.tpl" fieldName="contribution_recur_failure_retry_date" from='_low' to='_high'} +
{ts}Recurring Contribution Cancel Date{/ts} + {include file="CRM/Core/DateRange.tpl" fieldName="contribution_recur_cancel_date" from='_low' to='_high'} +
+
+
+ +