]> wagnertech.de Git - mfinanz.git/blob - templates/design40_webpages/ar/search.html
date error in mapping
[mfinanz.git] / templates / design40_webpages / ar / search.html
1 [% USE T8 %]
2 [% USE L %]
3 [% USE P %]
4 <h1>[% title %]</h1>
5
6 <form method=post name="search" id="form" action=[% script %]>
7 [% L.hidden_tag("action", nextsub) %]
8 [% L.hidden_tag("sort", "transdate") %]
9
10 <div class="wrapper">
11
12     <table class="tbl-horizontal">
13       <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
14       <caption>[% 'Customer' | $T8 %]</caption>
15       <tbody>
16         <tr>
17           <th>[% 'Customer' | $T8 %]</th>
18           <td>[% L.input_tag("customer", customer, class="initial_focus") %]</td>
19         </tr>
20         <tr>
21           <th>[% 'Contact Person' | $T8 %]</th>
22           <td>[% L.input_tag("cp_name", '') %]</td>
23         </tr>
24         <tr>
25           <th>[% 'Department' | $T8 %]</th>
26           <td>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1) %]</td>
27         </tr>
28         <tr>
29           <th class="caption" colspan="2">[% 'Employee' | $T8 %]</th>
30         </tr>
31         <tr>
32           <th>[% 'Employee' | $T8 %]</th>
33           <td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1) %]</td>
34         </tr>
35         <tr>
36           <th>[% 'Salesman' | $T8 %]</th>
37           <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1) %]</td>
38         </tr>
39         <tr>
40           <th class="caption" colspan="2">[% 'Miscellaneous' | $T8 %]</th>
41         </tr>
42         <tr>
43           <th>[% 'Transaction description' | $T8 %]</th>
44           <td>[% L.input_tag("transaction_description", "") %]</td>
45         </tr>
46         <tr>
47           <th>[% 'Payment Term' | $T8 %]</th>
48           <td>[% L.select_tag('payment_id', ALL_PAYMENT_TERMS, title_key = 'description', with_empty = 1) %]</td>
49         </tr>
50         <tr>
51           <th>[% 'Notes' | $T8 %]</th>
52           <td>[% L.input_tag("notes", "") %]</td>
53         </tr>
54         <tr>
55           <th>[% 'Part Description' | $T8 %]</th>
56           <td>[% L.input_tag("parts_description", "") %]</td>
57         </tr>
58         <tr>
59           <th>[% 'Part Number' | $T8 %]</th>
60           <td>[% L.input_tag("parts_partnumber", "") %]</td>
61         </tr>
62       </tbody>
63     </table>
64
65     <table class="tbl-horizontal">
66       <caption>[% 'Record numbers and dates' | $T8 %]</caption>
67       <tbody>
68         <tr>
69           <th>[% 'Invoice Number' | $T8 %]</th>
70           <td>[% L.input_tag("invnumber", "") %]</td>
71         </tr>
72         <tr>
73           <th>[% 'Order Number' | $T8 %]</th>
74           <td>[% L.input_tag("ordnumber", "") %]</td>
75         </tr>
76         <tr>
77           <th>[% 'Customer Order Number' | $T8 %]</th>
78           <td>[% L.input_tag("cusordnumber", "") %]</td>
79         </tr>
80         <tr>
81           <th>[% 'Project Number' | $T8 %]</th>
82           <td>[% P.project.picker("project_id", project_id, active="both", valid="both") %]</td>
83         </tr>
84         [% IF ALL_BUSINESS_TYPES.as_list.size > 0 %]
85           <tr>
86             <th>[% 'Customer type' | $T8 %]</th>
87             <td>[% L.select_tag("business_id", ALL_BUSINESS_TYPES, with_empty=1, title_key="description") %]</td>
88           </tr>
89         [% END %]
90         <tr>
91           <th>[% 'Show only marked as paid invoices' | $T8 %]</th>
92           <td>[% L.checkbox_tag('show_marked_as_closed') %]</td>
93         </tr>
94         [% IF INSTANCE_CONF.get_email_journal %]
95         <tr>
96           <th>[% 'Show only not mailed invoices' | $T8 %]</th>
97           <td>[% L.checkbox_tag('show_not_mailed') %]</td>
98         </tr>
99         [% END %]
100         <tr>
101           <th>[% 'Invoice Date' | $T8 %]</th>
102           <td> [% L.date_tag('transdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('transdateto') %] </td>
103         </tr>
104         <tr>
105           <th>[% 'Due Date' | $T8 %]</th>
106           <td> [% L.date_tag('duedatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('duedateto') %] </td>
107         </tr>
108         <tr>
109         <th>[% 'Date Paid' | $T8 %]</th>
110          <td>
111           [% L.date_tag('datepaidfrom') %]
112           [% 'Bis' | $T8 %]
113           [% L.date_tag('datepaidto') %]
114          </td>
115         </tr>
116         <tr>
117          <th>[% 'Steuersatz' | $T8 %]</th>
118          <td>[% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description') %]</td>
119         </tr>
120         [% IF CT_CUSTOM_VARIABLES.size %]
121           <tr>
122             <th class="caption" colspan="2">[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]</th>
123           </tr>
124           [% CT_CUSTOM_VARIABLES_FILTER_CODE %]
125         [% END %]
126       </tbody>
127     </table>
128
129     <table class="tbl-horizontal">
130       <caption>[% 'Shipping Address' | $T8 %]</caption>
131       <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
132       <tbody>
133         <tr>
134           <th>[% 'Name' | $T8 %]</th>
135           <td>[% L.input_tag("shiptoname", "") %]</td>
136         </tr>
137         <tr>
138           <th>[% 'Department 1' | $T8 %]</th>
139           <td>[% L.input_tag("shiptodepartment_1", "") %]</td>
140         </tr>
141         <tr>
142           <th>[% 'Department 2' | $T8 %]</th>
143           <td>[% L.input_tag("shiptodepartment_2", "") %]</td>
144         </tr>
145         <tr>
146           <th>[% 'Street' | $T8 %]</th>
147           <td>[% L.input_tag("shiptostreet", "") %]</td>
148         </tr>
149         <tr>
150           <th>[% 'Zipcode' | $T8 %]</th>
151           <td>[% L.input_tag("shiptozipcode", "") %]</td>
152         </tr>
153         <tr>
154           <th>[% 'City' | $T8 %]</th>
155           <td>[% L.input_tag("shiptocity", "") %]</td>
156         </tr>
157         <tr>
158           <th>[% 'Country' | $T8 %]</th>
159           <td>[% L.input_tag("shiptocountry", "") %]</td>
160         </tr>
161       </tbody>
162     </table>
163
164    <table class="tbl-horizontal">
165      <caption>[% 'Status' | $T8 %]</caption>
166      <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
167      <tbody>
168        <tr>
169          <th>[% 'Open' | $T8 %]</th>
170          <td><input name="open" id="open" type="checkbox" value="Y" checked></td>
171        </tr>
172        <tr>
173          <th>[% 'Closed' | $T8 %]</th>
174          <td><input name="closed" id="closed" type="checkbox" value="Y"></td>
175        </tr>
176      </tbody>
177    </table>
178
179 </div><!-- /.wrapper -->
180
181 <div class="wrapper form-addition control-panel">
182   <h3>[% 'Include in Report' | $T8 %]</h3>
183   <div class="list col">
184     <h4>[% 'Status' | $T8 %]</h4>
185     <div>
186       <input name="l_paid" id="l_paid" type="checkbox" checked><label for="l_paid">[% 'Paid' | $T8 %]</label>
187     </div>
188     <div>
189       <input name="l_dunning_description" id="l_dunning_description" type="checkbox"><label for="l_dunning_description">[% 'Dunning level' | $T8 %]</label>
190     </div>
191   </div>
192   <div class="list col">
193     <h4>[% 'Numbers' | $T8 %]</h4>
194     <div>
195       <input name="l_id" id="l_id" type="checkbox"><label for="l_id">[% 'ID' | $T8 %]</label>
196     </div>
197     <div>
198       <input name="l_invnumber" id="l_invnumber" type="checkbox" checked><label for="l_invnumber">[% 'Invoice Number' | $T8 %]</label>
199     </div>
200     <div>
201       <input name="l_ordnumber" id="l_ordnumber" type="checkbox"><label for="l_ordnumber">[% 'Order Number' | $T8 %]</label>
202     </div>
203     <div>
204       <input name="l_globalprojectnumber" id="l_globalprojectnumber" type="checkbox"><label for="l_globalprojectnumber">[% 'Document Project Number' | $T8 %]</label>
205     </div>
206     <div>
207       <input name="l_cusordnumber" id="l_cusordnumber" type="checkbox"><label for="l_cusordnumber">[% 'Customer Order Number' | $T8 %]</label>
208     </div>
209     <div>
210       <input name="l_ustid" id="l_ustid" type="checkbox"><label for="l_ustid">[% 'USt-IdNr.' | $T8 %]</label>
211     </div>
212     <div>
213       <input name="l_donumber" id="l_donumber" class=checkbox type=checkbox value=Y><label for="l_donumber">[% 'Delivery Order Number' | $T8 %]</label>
214     </div>
215   </div>
216   <div class="list col">
217     <h4>[% 'Date' | $T8 %]</h4>
218     <div>
219       <input name="l_transdate" id="l_transdate" type="checkbox" checked><label for="l_transdate">[% 'Invoice Date' | $T8 %]</label>
220     </div>
221     <div>
222       <input name="l_datepaid" id="l_datepaid" type="checkbox"><label for="l_datepaid">[% 'Date Paid' | $T8 %]</label>
223     </div>
224     <div>
225       <input name="l_duedate" id="l_duedate" type="checkbox"><label for="l_duedate">[% 'Due Date' | $T8 %]</label>
226     </div>
227     <div>
228       <input name="l_deliverydate" id="l_deliverydate" class=checkbox type=checkbox value=Y><label for="l_deliverydate">[% 'Delivery Date' | $T8 %]</label>
229     </div>
230   </div>
231   <div class="list col">
232     <h4>[% 'Customer' | $T8 %]</h4>
233     <div>
234       <input name="l_name" id="l_name" type="checkbox" checked><label for="l_name">[% 'Customer' | $T8 %]</label>
235     </div>
236     <div>
237       <input name="l_customernumber" id="l_customernumber" type="checkbox"><label for="l_customernumber">[% 'Customer Number' | $T8 %]</label>
238     </div>
239     <div>
240       <input name="l_department" id="l_department" type="checkbox"><label for="l_department">[% 'Department' | $T8 %]</label>
241     </div>
242     <div>
243       <input name="l_country" id="l_country" type="checkbox"><label for="l_country">[% 'Country' | $T8 %]</label>
244     </div>
245     <div>
246       <input name="l_customer_dunning_lock" id="l_customer_dunning_lock" type="checkbox"><label for="l_customer_dunning_lock">[% 'Dunning lock' | $T8 %]</label>
247     </div>
248   </div>
249   <div class="list col">
250     <h4>[% 'Shipping Address' | $T8 %]</h4>
251     <div>
252       <input name="l_shiptoname" id="l_shiptoname" type="checkbox"><label for="l_shiptoname">[% 'Name' | $T8 %]</label>
253     </div>
254     <div>
255       <input name="l_shiptodepartment_1" id="l_shiptodepartment_1" type="checkbox"><label for="l_shiptodepartment_1">[% 'Department 1' | $T8 %]</label>
256     </div>
257     <div>
258       <input name="l_shiptodepartment_2" id="l_shiptodepartment_2" type="checkbox"><label for="l_shiptodepartment_2">[% 'Department 2' | $T8 %]</label>
259     </div>
260     <div>
261       <input name="l_shiptostreet" id="l_shiptostreet" type="checkbox"><label for="l_shiptostreet">[% 'Street' | $T8 %]</label>
262     </div>
263     <div>
264       <input name="l_shiptozipcode" id="l_shiptozipcode" type="checkbox"><label for="l_shiptozipcode">[% 'Zipcode' | $T8 %]</label>
265     </div>
266     <div>
267       <input name="l_shiptocity" id="l_shiptocity" type="checkbox"><label for="l_shiptocity">[% 'City' | $T8 %]</label>
268     </div>
269     <div>
270       <input name="l_shiptocountry" id="l_shiptocountry" type="checkbox"><label for="l_shiptocountry">[% 'Country' | $T8 %]</label>
271     </div>
272   </div>
273   <div class="list col">
274     <h4>[% 'Amounts' | $T8 %]</h4>
275     <div>
276       <input name="l_netamount" id="l_netamount" type="checkbox" value="Y" checked><label for="l_netamount">[% 'Amount' | $T8 %]</label>
277     </div>
278     <div>
279       <input name="l_amount" id="l_amount" type="checkbox" value="Y" checked><label for="l_amount">[% 'Total' | $T8 %]</label>
280     </div>
281     <div>
282       <input name="l_subtotal" id="l_subtotal" type="checkbox"><label for="l_subtotal">[% 'Subtotal' | $T8 %]</label>
283     </div>
284     <div>
285       <input name="l_due" id="l_due" type="checkbox"><label for="l_due">[% 'Amount Due' | $T8 %]</label>
286     </div>
287     <div>
288       <input name="l_marge_total" id="l_marge_total" type="checkbox"><label for="l_marge_total">[% 'Ertrag' | $T8 %]</label>
289     </div>
290     <div>
291       <input name="l_marge_percent" id="l_marge_percent" type="checkbox"><label for="l_marge_percent">[% 'Ertrag prozentual' | $T8 %]</label>
292     </div>
293     <div>
294       <input name="l_tax" id="l_tax" type="checkbox"><label for="l_tax">[% 'Tax' | $T8 %]</label>
295     </div>
296     <div>
297       <input name="l_taxzone" id="l_taxzone" type="checkbox"><label for="l_taxzone">[% 'Steuersatz' | $T8 %]</label>
298     </div>
299   </div>
300   <div class="list col">
301     <h4>[% 'Miscellaneous' | $T8 %]</h4>
302     <div>
303       <input name="l_notes" id="l_notes" type="checkbox"><label for="l_notes">[% 'Notes' | $T8 %]</label>
304     </div>
305     <div>
306       <input name="l_shippingpoint" id="l_shippingpoint" type="checkbox"><label for="l_shippingpoint">[% 'Shipping Point' | $T8 %]</label>
307     </div>
308     <div>
309       <input name="l_shipvia" id="l_shipvia" type="checkbox"><label for="l_shipvia">[% 'Ship via' | $T8 %]</label>
310     </div>
311     <div>
312       <input name="l_transaction_description" id="l_transaction_description" type="checkbox" [% IF INSTANCE_CONF.get_require_transaction_description_ps %] checked[% END %]><label for="l_transaction_description">[% 'Transaction description' | $T8 %]</label>
313     </div>
314     <div>
315       <input name="l_payment_terms" id="l_payment_terms" type="checkbox"><label for="l_payment_terms">[% 'Payment Terms' | $T8 %]</label>
316     </div>
317     <div>
318       <input name="l_charts" id="l_charts" type="checkbox"><label for="l_charts">[% 'Chart' | $T8 %]</label>
319     </div>
320     <div>
321       <input name="l_direct_debit" id="l_direct_debit" type="checkbox"><label for="l_direct_debit">[% 'direct debit' | $T8 %]</label>
322     </div>
323     <div>
324     [% IF INSTANCE_CONF.get_doc_storage -%]
325       <input name="l_attachments" id="l_attachments" class=checkbox type=checkbox value=Y>[% 'Attachments' | $T8 %]
326     [% END-%]
327     </div>
328     <div>
329       <input name="l_items" id="l_items" class=checkbox type=checkbox value=Y> [% 'Positions' | $T8 %]
330     </div>
331   </div>
332   <div class="list col">
333     <h4>[% 'Employee' | $T8 %]</h4>
334     <div>
335       <input name="l_salesman" id="l_salesman" type="checkbox"><label for="l_salesman">[% 'Salesperson' | $T8 %]</label>
336     </div>
337     <div>
338       <input name="l_employee" id="l_employee" type="checkbox"><label for="l_employee">[% 'Employee' | $T8 %]</label>
339     </div>
340   </div>
341   <div class="list col">
342     <h4>[% 'Custom Variables' | $T8 %]</h4>
343     <div class="no-rows">
344       [% CT_CUSTOM_VARIABLES_INCLUSION_CODE %]
345     </div>
346   </div>
347 </div>
348 <!-- /.wrapper.form-addition -->
349
350 </form>