2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.7 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
27 <tr><td><label>{ts}Date Received{/ts}</label></td></tr>
29 {include file="CRM/Core/DateRange.tpl" fieldName="contribution_date" from='_low' to='_high'}
32 <td><label>{ts}Contribution Amounts{/ts}</label> <br />
33 {$form.contribution_amount_low.label}
34 {$form.contribution_amount_low.html}
35 {$form.contribution_amount_high.label}
36 {$form.contribution_amount_high.html} </td>
37 <td><label>{$form.contribution_status_id.label}</label> <br />
38 {$form.contribution_status_id.html} </td>
42 <div class="float-left">
43 <label>{$form.payment_instrument_id.label}</label> <br />
44 {$form.payment_instrument_id.html|crmAddClass:twenty}
46 <div class="float-left" id="contribution_check_number_wrapper">
47 {$form.contribution_check_number.label} <br />
48 {$form.contribution_check_number.html}
52 {$form.contribution_trxn_id.label} <br />
53 {$form.contribution_trxn_id.html}
58 {$form.contribution_or_softcredits.label} <br />
59 {$form.contribution_or_softcredits.html}<br />
60 <div class="float-left" id="contribution_soft_credit_type_wrapper">
61 {$form.contribution_soft_credit_type_id.label} <br />
62 {$form.contribution_soft_credit_type_id.html|crmAddClass:twenty}
66 {$form.invoice_id.label} <br />
67 {$form.invoice_id.html}
72 <table style="width:auto">
75 <td>{$form.contribution_thankyou_date_is_not_null.label}</td>
77 {$form.contribution_thankyou_date_is_not_null.html}
81 <td>{$form.contribution_receipt_date_is_not_null.label}</td>
83 {$form.contribution_receipt_date_is_not_null.html}
87 <td>{$form.contribution_test.label} {help id="is-test" file="CRM/Contact/Form/Search/Advanced"}</td>
89 {$form.contribution_test.html}
96 <table style="width:auto">
99 <td>{$form.contribution_pay_later.label}</td>
101 {$form.contribution_pay_later.html}
105 <td>{$form.contribution_recurring.label}</td>
107 {$form.contribution_recurring.html}
116 <label>{ts}Financial Type{/ts}</label> <br />
117 {$form.financial_type_id.html|crmAddClass:twenty}
120 <label>{ts}Contribution Page{/ts}</label> <br />
121 {$form.contribution_page_id.html|crmAddClass:twenty}
126 {$form.contribution_source.label} <br />
127 {$form.contribution_source.html|crmAddClass:twenty}
130 {$form.contribution_product_id.label} <br />
131 {$form.contribution_product_id.html|crmAddClass:twenty}
136 {$form.contribution_pcp_made_through_id.label} <br />
137 {$form.contribution_pcp_made_through_id.html}
138 {include file="CRM/Contribute/Form/PCP.js.tpl"}
141 {$form.contribution_pcp_display_in_roll.label}
142 {$form.contribution_pcp_display_in_roll.html}
148 <label>{ts}Currency{/ts}</label> <br />
149 {$form.contribution_currency_type.html|crmAddClass:twenty}
151 {if $form.contribution_batch_id.html }
153 {$form.contribution_batch_id.label}<br />
154 {$form.contribution_batch_id.html}
159 {* campaign in contribution search *}
160 {include file="CRM/Campaign/Form/addCampaignToComponent.tpl" campaignContext="componentSearch"
161 campaignTrClass='' campaignTdClass=''}
163 {if $contributeGroupTree}
166 {include file="CRM/Custom/Form/Search.tpl" groupTree=$contributeGroupTree showHideLinks=false}</td>
170 <script type="text/javascript">
171 cj('#contribution_payment_instrument_id').change(function() {
172 if (cj(this).val() == '4') {
173 cj('#contribution_check_number_wrapper').show();
176 cj('#contribution_check_number_wrapper').hide();
177 cj('#contribution_check_number').val('');
180 cj('#contribution_or_softcredits').change(function() {
181 if (cj(this).val() == 'only_contribs') {
182 cj('#contribution_soft_credit_type_wrapper').hide();
183 cj('#contribution_soft_credit_type_id').val('');
186 cj('#contribution_soft_credit_type_wrapper').show();