commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-old / civicrm / templates / CRM / Contribute / Form / Search / Common.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.6 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
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>{$form.contribution_status_id.label}</label> <br />
38 {$form.contribution_status_id.html} </td>
39 </tr>
40 <tr>
41 <td>
42 <div class="float-left">
43 <label>{$form.payment_instrument_id.label}</label> <br />
44 {$form.payment_instrument_id.html|crmAddClass:twenty}
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_trxn_id.label} <br />
53 {$form.contribution_trxn_id.html}
54 </td>
55 </tr>
56 <tr>
57 <td>
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}
63 </div>
64 </td>
65 <td>
66 {$form.invoice_id.label} <br />
67 {$form.invoice_id.html}
68 </td>
69 </tr>
70 <tr>
71 <td>
72 <table style="width:auto">
73 <tbody>
74 <tr>
75 <td>{$form.contribution_thankyou_date_is_not_null.label}</td>
76 <td>
77 {$form.contribution_thankyou_date_is_not_null.html}
78 </td>
79 </tr>
80 <tr>
81 <td>{$form.contribution_receipt_date_is_not_null.label}</td>
82 <td>
83 {$form.contribution_receipt_date_is_not_null.html}
84 </td>
85 </tr>
86 <tr>
87 <td>{$form.contribution_test.label} {help id="is-test" file="CRM/Contact/Form/Search/Advanced"}</td>
88 <td>
89 {$form.contribution_test.html}
90 </td>
91 </tr>
92 </tbody>
93 </table>
94 </td>
95 <td>
96 <table style="width:auto">
97 <tbody>
98 <tr>
99 <td>{$form.contribution_pay_later.label}</td>
100 <td>
101 {$form.contribution_pay_later.html}
102 </td>
103 </tr>
104 <tr>
105 <td>{$form.contribution_recurring.label}</td>
106 <td>
107 {$form.contribution_recurring.html}
108 </td>
109 </tr>
110 </tbody>
111 </table>
112 </td>
113 </tr>
114 <tr>
115 <td>
116 <label>{ts}Financial Type{/ts}</label> <br />
117 {$form.financial_type_id.html|crmAddClass:twenty}
118 </td>
119 <td>
120 <label>{ts}Contribution Page{/ts}</label> <br />
121 {$form.contribution_page_id.html|crmAddClass:twenty}
122 </td>
123 </tr>
124 <tr>
125 <td>
126 {$form.contribution_source.label} <br />
127 {$form.contribution_source.html|crmAddClass:twenty}
128 </td>
129 </tr>
130 <tr>
131 <td>
132 {$form.contribution_pcp_made_through_id.label} <br />
133 {$form.contribution_pcp_made_through_id.html}
134 {include file="CRM/Contribute/Form/PCP.js.tpl"}
135 </td>
136 <td>
137 {$form.contribution_pcp_display_in_roll.label}
138 {$form.contribution_pcp_display_in_roll.html}
139 </td>
140 </tr>
141
142 <tr>
143 <td>
144 <label>{ts}Currency{/ts}</label> <br />
145 {$form.contribution_currency_type.html|crmAddClass:twenty}
146 </td>
147 {if $form.contribution_batch_id.html }
148 <td>
149 {$form.contribution_batch_id.label}<br />
150 {$form.contribution_batch_id.html}
151 </td>
152 {/if}
153 </tr>
154
155 {* campaign in contribution search *}
156 {include file="CRM/Campaign/Form/addCampaignToComponent.tpl" campaignContext="componentSearch"
157 campaignTrClass='' campaignTdClass=''}
158
159 <tr>
160 <td colspan="2">
161 {include file="CRM/Contribute/Form/Search/ContributionRecur.tpl"}
162 </tr>
163
164 {if $contributeGroupTree}
165 <tr>
166 <td colspan="2">
167 {include file="CRM/Custom/Form/Search.tpl" groupTree=$contributeGroupTree showHideLinks=false}</td>
168 </tr>
169 {/if}
170 {literal}
171 <script type="text/javascript">
172 cj('#contribution_payment_instrument_id').change(function() {
173 if (cj(this).val() == '4') {
174 cj('#contribution_check_number_wrapper').show();
175 }
176 else {
177 cj('#contribution_check_number_wrapper').hide();
178 cj('#contribution_check_number').val('');
179 }
180 }).change();
181 cj('#contribution_or_softcredits').change(function() {
182 if (cj(this).val() == 'only_contribs') {
183 cj('#contribution_soft_credit_type_wrapper').hide();
184 cj('#contribution_soft_credit_type_id').val('');
185 }
186 else {
187 cj('#contribution_soft_credit_type_wrapper').show();
188 }
189 }).change();
190 </script>
191 {/literal}