Update version in comments
[civicrm-core.git] / templates / CRM / Contribute / Form / Search / Common.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
39de6fd5 3 | CiviCRM version 4.6 |
6a488035 4 +--------------------------------------------------------------------+
819d0d41 5 | Copyright CiviCRM LLC (c) 2004-2014 |
6a488035
TO
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
8 | |
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. |
12 | |
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. |
17 | |
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 +--------------------------------------------------------------------+
25*}
26
27<tr><td><label>{ts}Contribution Dates{/ts}</label></td></tr>
28<tr>
29{include file="CRM/Core/DateRange.tpl" fieldName="contribution_date" from='_low' to='_high'}
30</tr>
31<tr>
32 <td><label>{ts}Contribution Amounts{/ts}</label> <br />
33 {$form.contribution_amount_low.label}
34 {$form.contribution_amount_low.html} &nbsp;&nbsp;
35 {$form.contribution_amount_high.label}
36 {$form.contribution_amount_high.html} </td>
243a6bce 37 <td><label>{$form.contribution_status_id.label}</label> <br />
38 {$form.contribution_status_id.html} </td>
6a488035
TO
39</tr>
40<tr>
41 <td>
42 <div class="float-left">
3a6eb174 43 <label>{$form.payment_instrument_id.label}</label> <br />
44 {$form.payment_instrument_id.html|crmAddClass:twenty}
6a488035
TO
45 </div>
46 <div class="float-left" id="contribution_check_number_wrapper">
47 {$form.contribution_check_number.label} <br />
48 {$form.contribution_check_number.html}
49 </div>
50 </td>
51 <td>
3c151c70 52 {$form.contribution_trxn_id.label} <br />
53 {$form.contribution_trxn_id.html}
6a488035
TO
54 </td>
55</tr>
fd8969cc
DS
56<tr>
57 <td>
58 {$form.contribution_or_softcredits.label} <br />
59 {$form.contribution_or_softcredits.html}
60 </td>
61 <td>
62 <div class="float-left" id="contribution_soft_credit_type_wrapper">
63 {$form.contribution_soft_credit_type_id.label} <br />
64 {$form.contribution_soft_credit_type_id.html|crmAddClass:twenty}
48b420d7 65 </div>
fd8969cc
DS
66 </td>
67</tr>
6a488035
TO
68<tr>
69 <td>
70 <table style="width:auto">
71 <tbody>
72 <tr>
73 <td>{$form.contribution_thankyou_date_is_not_null.label}</td>
74 <td>
75 {$form.contribution_thankyou_date_is_not_null.html}
6a488035
TO
76 </td>
77 </tr>
78 <tr>
79 <td>{$form.contribution_receipt_date_is_not_null.label}</td>
80 <td>
81 {$form.contribution_receipt_date_is_not_null.html}
6a488035
TO
82 </td>
83 </tr>
84 <tr>
85 <td>{$form.contribution_test.label} {help id="is-test" file="CRM/Contact/Form/Search/Advanced"}</td>
86 <td>
87 {$form.contribution_test.html}
6a488035
TO
88 </td>
89 </tr>
90 </tbody>
91 </table>
92 </td>
93 <td>
94 <table style="width:auto">
95 <tbody>
96 <tr>
97 <td>{$form.contribution_pay_later.label}</td>
98 <td>
99 {$form.contribution_pay_later.html}
6a488035
TO
100 </td>
101 </tr>
102 <tr>
103 <td>{$form.contribution_recurring.label}</td>
104 <td>
105 {$form.contribution_recurring.html}
6a488035
TO
106 </td>
107 </tr>
108 </tbody>
109 </table>
110 </td>
111</tr>
112<tr>
113 <td>
114 <label>{ts}Financial Type{/ts}</label> <br />
115 {$form.financial_type_id.html|crmAddClass:twenty}
116 </td>
117 <td>
118 <label>{ts}Contribution Page{/ts}</label> <br />
119 {$form.contribution_page_id.html|crmAddClass:twenty}
120 </td>
121</tr>
122<tr>
6a488035
TO
123 <td>
124 {$form.contribution_source.label} <br />
125 {$form.contribution_source.html|crmAddClass:twenty}
126 </td>
127</tr>
128<tr>
129 <td>
130 {$form.contribution_pcp_made_through_id.label} <br />
131 {$form.contribution_pcp_made_through_id.html|crmAddClass:twenty}
132 </td>
133 <td>
134 {$form.contribution_pcp_display_in_roll.label}
135 {$form.contribution_pcp_display_in_roll.html}
6a488035
TO
136 </td>
137</tr>
138
139<tr>
140 <td>
141 <label>{ts}Currency{/ts}</label> <br />
ab345ca5 142 {$form.contribution_currency_type.html|crmAddClass:twenty}
6a488035
TO
143 </td>
144 {if $form.contribution_batch_id.html }
145 <td>
146 {$form.contribution_batch_id.label}<br />
147 {$form.contribution_batch_id.html}
148 </td>
149 {/if}
150</tr>
151
152{* campaign in contribution search *}
153{include file="CRM/Campaign/Form/addCampaignToComponent.tpl" campaignContext="componentSearch"
154campaignTrClass='' campaignTdClass=''}
155
8af85b9a 156<tr>
157 <td colspan="2">
158{include file="CRM/Contribute/Form/Search/ContributionRecur.tpl"}
159</tr>
160
6a488035
TO
161{if $contributeGroupTree}
162<tr>
163 <td colspan="2">
164 {include file="CRM/Custom/Form/Search.tpl" groupTree=$contributeGroupTree showHideLinks=false}</td>
165</tr>
166{/if}
167{literal}
168<script type="text/javascript">
169 cj('#contribution_payment_instrument_id').change(function() {
170 if (cj(this).val() == '4') {
171 cj('#contribution_check_number_wrapper').show();
172 }
173 else {
174 cj('#contribution_check_number_wrapper').hide();
175 cj('#contribution_check_number').val('');
176 }
177 }).change();
fd8969cc
DS
178 cj('#contribution_or_softcredits').change(function() {
179 if (cj(this).val() == 'only_contribs') {
180 cj('#contribution_soft_credit_type_wrapper').hide();
181 cj('#contribution_soft_credit_type_id').val('');
182 }
183 else {
184 cj('#contribution_soft_credit_type_wrapper').show();
185 }
186 }).change();
6a488035 187</script>
b7054e52 188{/literal}