Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
2c4c49ca | 3 | | CiviCRM version 4.7 | |
6a488035 | 4 | +--------------------------------------------------------------------+ |
fa938177 | 5 | | Copyright CiviCRM LLC (c) 2004-2016 | |
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 | ||
7bc6b5bb | 27 | <tr><td><label>{ts}Date Received{/ts}</label></td></tr> |
6a488035 TO |
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} | |
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 /> | |
ef6a419c | 59 | {$form.contribution_or_softcredits.html}<br /> |
fd8969cc DS |
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} | |
48b420d7 | 63 | </div> |
fd8969cc | 64 | </td> |
b5a37491 EM |
65 | <td> |
66 | {$form.invoice_id.label} <br /> | |
67 | {$form.invoice_id.html} | |
68 | </td> | |
fd8969cc | 69 | </tr> |
6a488035 TO |
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} | |
6a488035 TO |
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} | |
6a488035 TO |
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} | |
6a488035 TO |
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} | |
6a488035 TO |
102 | </td> |
103 | </tr> | |
104 | <tr> | |
105 | <td>{$form.contribution_recurring.label}</td> | |
106 | <td> | |
107 | {$form.contribution_recurring.html} | |
6a488035 TO |
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> | |
6a488035 TO |
125 | <td> |
126 | {$form.contribution_source.label} <br /> | |
127 | {$form.contribution_source.html|crmAddClass:twenty} | |
128 | </td> | |
6ffab5b7 WA |
129 | <td> |
130 | {$form.contribution_product_id.label} <br /> | |
131 | {$form.contribution_product_id.html|crmAddClass:twenty} | |
132 | </td> | |
6a488035 TO |
133 | </tr> |
134 | <tr> | |
135 | <td> | |
136 | {$form.contribution_pcp_made_through_id.label} <br /> | |
d4abe802 CW |
137 | {$form.contribution_pcp_made_through_id.html} |
138 | {include file="CRM/Contribute/Form/PCP.js.tpl"} | |
6a488035 TO |
139 | </td> |
140 | <td> | |
141 | {$form.contribution_pcp_display_in_roll.label} | |
142 | {$form.contribution_pcp_display_in_roll.html} | |
6a488035 TO |
143 | </td> |
144 | </tr> | |
145 | ||
146 | <tr> | |
147 | <td> | |
148 | <label>{ts}Currency{/ts}</label> <br /> | |
ab345ca5 | 149 | {$form.contribution_currency_type.html|crmAddClass:twenty} |
6a488035 TO |
150 | </td> |
151 | {if $form.contribution_batch_id.html } | |
152 | <td> | |
153 | {$form.contribution_batch_id.label}<br /> | |
154 | {$form.contribution_batch_id.html} | |
155 | </td> | |
156 | {/if} | |
157 | </tr> | |
158 | ||
159 | {* campaign in contribution search *} | |
160 | {include file="CRM/Campaign/Form/addCampaignToComponent.tpl" campaignContext="componentSearch" | |
161 | campaignTrClass='' campaignTdClass=''} | |
162 | ||
1415b394 | 163 | {* contribution recurring search *} |
24782d26 | 164 | <tr> |
165 | <td colspan="2"> | |
166 | {include file="CRM/Contribute/Form/Search/ContributionRecur.tpl"} | |
167 | </td> | |
168 | </tr> | |
169 | ||
6a488035 TO |
170 | {if $contributeGroupTree} |
171 | <tr> | |
172 | <td colspan="2"> | |
173 | {include file="CRM/Custom/Form/Search.tpl" groupTree=$contributeGroupTree showHideLinks=false}</td> | |
174 | </tr> | |
175 | {/if} | |
24782d26 | 176 | |
6a488035 TO |
177 | {literal} |
178 | <script type="text/javascript"> | |
179 | cj('#contribution_payment_instrument_id').change(function() { | |
180 | if (cj(this).val() == '4') { | |
181 | cj('#contribution_check_number_wrapper').show(); | |
182 | } | |
183 | else { | |
184 | cj('#contribution_check_number_wrapper').hide(); | |
185 | cj('#contribution_check_number').val(''); | |
186 | } | |
187 | }).change(); | |
fd8969cc DS |
188 | cj('#contribution_or_softcredits').change(function() { |
189 | if (cj(this).val() == 'only_contribs') { | |
190 | cj('#contribution_soft_credit_type_wrapper').hide(); | |
191 | cj('#contribution_soft_credit_type_id').val(''); | |
192 | } | |
193 | else { | |
194 | cj('#contribution_soft_credit_type_wrapper').show(); | |
195 | } | |
196 | }).change(); | |
6a488035 | 197 | </script> |
b7054e52 | 198 | {/literal} |