Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
3 | | CiviCRM version 4.3 | | |
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} | |
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 /> | |
44 | {$form.contribution_payment_instrument_id.html} | |
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} | |
64 | <span class="crm-clear-link"> | |
65 | (<a href="javascript:unselectRadio('contribution_thankyou_date_is_not_null','{$form.formName}')"> | |
66 | {ts}clear{/ts}</a>) | |
67 | </span> | |
68 | </td> | |
69 | </tr> | |
70 | <tr> | |
71 | <td>{$form.contribution_receipt_date_is_not_null.label}</td> | |
72 | <td> | |
73 | {$form.contribution_receipt_date_is_not_null.html} | |
74 | <span class="crm-clear-link"> | |
75 | (<a href="javascript:unselectRadio('contribution_receipt_date_is_not_null','{$form.formName}')"> | |
76 | {ts}clear{/ts}</a>) | |
77 | </span> | |
78 | </td> | |
79 | </tr> | |
80 | <tr> | |
81 | <td>{$form.contribution_test.label} {help id="is-test" file="CRM/Contact/Form/Search/Advanced"}</td> | |
82 | <td> | |
83 | {$form.contribution_test.html} | |
84 | <span class="crm-clear-link"> | |
85 | (<a href="javascript:unselectRadio('contribution_test','{$form.formName}')"> | |
86 | {ts}clear{/ts}</a>) | |
87 | </span> | |
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} | |
100 | <span class="crm-clear-link"> | |
101 | (<a href="javascript:unselectRadio('contribution_pay_later','{$form.formName}')">{ts}clear{/ts}</a>) | |
102 | </span> | |
103 | </td> | |
104 | </tr> | |
105 | <tr> | |
106 | <td>{$form.contribution_recurring.label}</td> | |
107 | <td> | |
108 | {$form.contribution_recurring.html} | |
109 | <span class="crm-clear-link"> | |
110 | (<a href="javascript:unselectRadio('contribution_recurring','{$form.formName}')">{ts}clear{/ts}</a>) | |
111 | </span> | |
112 | </td> | |
113 | </tr> | |
114 | </tbody> | |
115 | </table> | |
116 | </td> | |
117 | </tr> | |
118 | <tr> | |
119 | <td> | |
120 | <label>{ts}Financial Type{/ts}</label> <br /> | |
121 | {$form.financial_type_id.html|crmAddClass:twenty} | |
122 | </td> | |
123 | <td> | |
124 | <label>{ts}Contribution Page{/ts}</label> <br /> | |
125 | {$form.contribution_page_id.html|crmAddClass:twenty} | |
126 | </td> | |
127 | </tr> | |
128 | <tr> | |
129 | <td> | |
130 | {$form.contribution_in_honor_of.label} <br /> | |
131 | {$form.contribution_in_honor_of.html|crmAddClass:twenty} | |
132 | </td> | |
133 | <td> | |
134 | {$form.contribution_source.label} <br /> | |
135 | {$form.contribution_source.html|crmAddClass:twenty} | |
136 | </td> | |
137 | </tr> | |
138 | <tr> | |
139 | <td> | |
140 | {$form.contribution_pcp_made_through_id.label} <br /> | |
141 | {$form.contribution_pcp_made_through_id.html|crmAddClass:twenty} | |
142 | </td> | |
143 | <td> | |
144 | {$form.contribution_pcp_display_in_roll.label} | |
145 | {$form.contribution_pcp_display_in_roll.html} | |
146 | <span class="crm-clear-link"> | |
147 | (<a href="javascript:unselectRadio('contribution_pcp_display_in_roll','{$form.formName}')">{ts}clear{/ts}</a>) | |
148 | </span> | |
149 | </td> | |
150 | </tr> | |
151 | ||
152 | <tr> | |
153 | <td> | |
154 | <label>{ts}Currency{/ts}</label> <br /> | |
155 | {$form.contribution_currency_type.html} | |
156 | </td> | |
157 | {if $form.contribution_batch_id.html } | |
158 | <td> | |
159 | {$form.contribution_batch_id.label}<br /> | |
160 | {$form.contribution_batch_id.html} | |
161 | </td> | |
162 | {/if} | |
163 | </tr> | |
164 | ||
165 | {* campaign in contribution search *} | |
166 | {include file="CRM/Campaign/Form/addCampaignToComponent.tpl" campaignContext="componentSearch" | |
167 | campaignTrClass='' campaignTdClass=''} | |
168 | ||
169 | {if $contributeGroupTree} | |
170 | <tr> | |
171 | <td colspan="2"> | |
172 | {include file="CRM/Custom/Form/Search.tpl" groupTree=$contributeGroupTree showHideLinks=false}</td> | |
173 | </tr> | |
174 | {/if} | |
175 | {literal} | |
176 | <script type="text/javascript"> | |
177 | cj('#contribution_payment_instrument_id').change(function() { | |
178 | if (cj(this).val() == '4') { | |
179 | cj('#contribution_check_number_wrapper').show(); | |
180 | } | |
181 | else { | |
182 | cj('#contribution_check_number_wrapper').hide(); | |
183 | cj('#contribution_check_number').val(''); | |
184 | } | |
185 | }).change(); | |
186 | </script> | |
187 | {/literal} |