CRM-13929 - Centralize and simplify radio clear widget
[civicrm-core.git] / templates / CRM / Contribute / Form / Search / Common.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
232624b1 3 | CiviCRM version 4.4 |
6a488035
TO
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2013 |
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>
37 <td><label>{ts}Contribution Status{/ts}</label> <br />
38 {$form.contribution_status_id.html} </td>
39</tr>
40<tr>
41 <td>
42 <div class="float-left">
43 <label>{ts}Payment Method{/ts}</label> <br />
ab345ca5 44 {$form.contribution_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>
52 {$form.contribution_transaction_id.label} <br />
53 {$form.contribution_transaction_id.html}
54 </td>
55</tr>
56<tr>
57 <td>
58 <table style="width:auto">
59 <tbody>
60 <tr>
61 <td>{$form.contribution_thankyou_date_is_not_null.label}</td>
62 <td>
63 {$form.contribution_thankyou_date_is_not_null.html}
6a488035
TO
64 </td>
65 </tr>
66 <tr>
67 <td>{$form.contribution_receipt_date_is_not_null.label}</td>
68 <td>
69 {$form.contribution_receipt_date_is_not_null.html}
6a488035
TO
70 </td>
71 </tr>
72 <tr>
73 <td>{$form.contribution_test.label} {help id="is-test" file="CRM/Contact/Form/Search/Advanced"}</td>
74 <td>
75 {$form.contribution_test.html}
6a488035
TO
76 </td>
77 </tr>
78 </tbody>
79 </table>
80 </td>
81 <td>
82 <table style="width:auto">
83 <tbody>
84 <tr>
85 <td>{$form.contribution_pay_later.label}</td>
86 <td>
87 {$form.contribution_pay_later.html}
6a488035
TO
88 </td>
89 </tr>
90 <tr>
91 <td>{$form.contribution_recurring.label}</td>
92 <td>
93 {$form.contribution_recurring.html}
6a488035
TO
94 </td>
95 </tr>
96 </tbody>
97 </table>
98 </td>
99</tr>
100<tr>
101 <td>
102 <label>{ts}Financial Type{/ts}</label> <br />
103 {$form.financial_type_id.html|crmAddClass:twenty}
104 </td>
105 <td>
106 <label>{ts}Contribution Page{/ts}</label> <br />
107 {$form.contribution_page_id.html|crmAddClass:twenty}
108 </td>
109</tr>
110<tr>
111 <td>
112 {$form.contribution_in_honor_of.label} <br />
113 {$form.contribution_in_honor_of.html|crmAddClass:twenty}
114 </td>
115 <td>
116 {$form.contribution_source.label} <br />
117 {$form.contribution_source.html|crmAddClass:twenty}
118 </td>
119</tr>
120<tr>
121 <td>
122 {$form.contribution_pcp_made_through_id.label} <br />
123 {$form.contribution_pcp_made_through_id.html|crmAddClass:twenty}
124 </td>
125 <td>
126 {$form.contribution_pcp_display_in_roll.label}
127 {$form.contribution_pcp_display_in_roll.html}
6a488035
TO
128 </td>
129</tr>
130
131<tr>
132 <td>
133 <label>{ts}Currency{/ts}</label> <br />
ab345ca5 134 {$form.contribution_currency_type.html|crmAddClass:twenty}
6a488035
TO
135 </td>
136 {if $form.contribution_batch_id.html }
137 <td>
138 {$form.contribution_batch_id.label}<br />
139 {$form.contribution_batch_id.html}
140 </td>
141 {/if}
142</tr>
143
144{* campaign in contribution search *}
145{include file="CRM/Campaign/Form/addCampaignToComponent.tpl" campaignContext="componentSearch"
146campaignTrClass='' campaignTdClass=''}
147
8af85b9a 148<tr>
149 <td colspan="2">
150{include file="CRM/Contribute/Form/Search/ContributionRecur.tpl"}
151</tr>
152
6a488035
TO
153{if $contributeGroupTree}
154<tr>
155 <td colspan="2">
156 {include file="CRM/Custom/Form/Search.tpl" groupTree=$contributeGroupTree showHideLinks=false}</td>
157</tr>
158{/if}
159{literal}
160<script type="text/javascript">
161 cj('#contribution_payment_instrument_id').change(function() {
162 if (cj(this).val() == '4') {
163 cj('#contribution_check_number_wrapper').show();
164 }
165 else {
166 cj('#contribution_check_number_wrapper').hide();
167 cj('#contribution_check_number').val('');
168 }
169 }).change();
170</script>
b7054e52 171{/literal}