6 <form method=post name="search" id="form" action=[% script %]>
7 [% L.hidden_tag("action", nextsub) %]
8 [% L.hidden_tag("sort", "transdate") %]
12 <table class="tbl-horizontal">
13 <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
14 <caption>[% 'Customer' | $T8 %]</caption>
17 <th>[% 'Customer' | $T8 %]</th>
18 <td>[% L.input_tag("customer", customer, class="initial_focus") %]</td>
21 <th>[% 'Contact Person' | $T8 %]</th>
22 <td>[% L.input_tag("cp_name", '') %]</td>
25 <th>[% 'Department' | $T8 %]</th>
26 <td>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1) %]</td>
29 <th class="caption" colspan="2">[% 'Employee' | $T8 %]</th>
32 <th>[% 'Employee' | $T8 %]</th>
33 <td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1) %]</td>
36 <th>[% 'Salesman' | $T8 %]</th>
37 <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1) %]</td>
40 <th class="caption" colspan="2">[% 'Miscellaneous' | $T8 %]</th>
43 <th>[% 'Transaction description' | $T8 %]</th>
44 <td>[% L.input_tag("transaction_description", "") %]</td>
47 <th>[% 'Payment Term' | $T8 %]</th>
48 <td>[% L.select_tag('payment_id', ALL_PAYMENT_TERMS, title_key = 'description', with_empty = 1) %]</td>
51 <th>[% 'Notes' | $T8 %]</th>
52 <td>[% L.input_tag("notes", "") %]</td>
55 <th>[% 'Part Description' | $T8 %]</th>
56 <td>[% L.input_tag("parts_description", "") %]</td>
59 <th>[% 'Part Number' | $T8 %]</th>
60 <td>[% L.input_tag("parts_partnumber", "") %]</td>
65 <table class="tbl-horizontal">
66 <caption>[% 'Record numbers and dates' | $T8 %]</caption>
69 <th>[% 'Invoice Number' | $T8 %]</th>
70 <td>[% L.input_tag("invnumber", "") %]</td>
73 <th>[% 'Order Number' | $T8 %]</th>
74 <td>[% L.input_tag("ordnumber", "") %]</td>
77 <th>[% 'Customer Order Number' | $T8 %]</th>
78 <td>[% L.input_tag("cusordnumber", "") %]</td>
81 <th>[% 'Project Number' | $T8 %]</th>
82 <td>[% P.project.picker("project_id", project_id, active="both", valid="both") %]</td>
84 [% IF ALL_BUSINESS_TYPES.as_list.size > 0 %]
86 <th>[% 'Customer type' | $T8 %]</th>
87 <td>[% L.select_tag("business_id", ALL_BUSINESS_TYPES, with_empty=1, title_key="description") %]</td>
91 <th>[% 'Show only marked as paid invoices' | $T8 %]</th>
92 <td>[% L.checkbox_tag('show_marked_as_closed') %]</td>
94 [% IF INSTANCE_CONF.get_email_journal %]
96 <th>[% 'Show only not mailed invoices' | $T8 %]</th>
97 <td>[% L.checkbox_tag('show_not_mailed') %]</td>
101 <th>[% 'Invoice Date' | $T8 %]</th>
102 <td> [% L.date_tag('transdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('transdateto') %] </td>
105 <th>[% 'Due Date' | $T8 %]</th>
106 <td> [% L.date_tag('duedatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('duedateto') %] </td>
109 <th>[% 'Date Paid' | $T8 %]</th>
111 [% L.date_tag('datepaidfrom') %]
113 [% L.date_tag('datepaidto') %]
117 <th>[% 'Steuersatz' | $T8 %]</th>
118 <td>[% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description') %]</td>
120 [% IF CT_CUSTOM_VARIABLES.size %]
122 <th class="caption" colspan="2">[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]</th>
124 [% CT_CUSTOM_VARIABLES_FILTER_CODE %]
129 <table class="tbl-horizontal">
130 <caption>[% 'Shipping Address' | $T8 %]</caption>
131 <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
134 <th>[% 'Name' | $T8 %]</th>
135 <td>[% L.input_tag("shiptoname", "") %]</td>
138 <th>[% 'Department 1' | $T8 %]</th>
139 <td>[% L.input_tag("shiptodepartment_1", "") %]</td>
142 <th>[% 'Department 2' | $T8 %]</th>
143 <td>[% L.input_tag("shiptodepartment_2", "") %]</td>
146 <th>[% 'Street' | $T8 %]</th>
147 <td>[% L.input_tag("shiptostreet", "") %]</td>
150 <th>[% 'Zipcode' | $T8 %]</th>
151 <td>[% L.input_tag("shiptozipcode", "") %]</td>
154 <th>[% 'City' | $T8 %]</th>
155 <td>[% L.input_tag("shiptocity", "") %]</td>
158 <th>[% 'Country' | $T8 %]</th>
159 <td>[% L.input_tag("shiptocountry", "") %]</td>
164 <table class="tbl-horizontal">
165 <caption>[% 'Status' | $T8 %]</caption>
166 <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
169 <th>[% 'Open' | $T8 %]</th>
170 <td><input name="open" id="open" type="checkbox" value="Y" checked></td>
173 <th>[% 'Closed' | $T8 %]</th>
174 <td><input name="closed" id="closed" type="checkbox" value="Y"></td>
179 </div><!-- /.wrapper -->
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>
186 <input name="l_paid" id="l_paid" type="checkbox" checked><label for="l_paid">[% 'Paid' | $T8 %]</label>
189 <input name="l_dunning_description" id="l_dunning_description" type="checkbox"><label for="l_dunning_description">[% 'Dunning level' | $T8 %]</label>
192 <div class="list col">
193 <h4>[% 'Numbers' | $T8 %]</h4>
195 <input name="l_id" id="l_id" type="checkbox"><label for="l_id">[% 'ID' | $T8 %]</label>
198 <input name="l_invnumber" id="l_invnumber" type="checkbox" checked><label for="l_invnumber">[% 'Invoice Number' | $T8 %]</label>
201 <input name="l_ordnumber" id="l_ordnumber" type="checkbox"><label for="l_ordnumber">[% 'Order Number' | $T8 %]</label>
204 <input name="l_globalprojectnumber" id="l_globalprojectnumber" type="checkbox"><label for="l_globalprojectnumber">[% 'Document Project Number' | $T8 %]</label>
207 <input name="l_cusordnumber" id="l_cusordnumber" type="checkbox"><label for="l_cusordnumber">[% 'Customer Order Number' | $T8 %]</label>
210 <input name="l_ustid" id="l_ustid" type="checkbox"><label for="l_ustid">[% 'USt-IdNr.' | $T8 %]</label>
213 <input name="l_donumber" id="l_donumber" class=checkbox type=checkbox value=Y><label for="l_donumber">[% 'Delivery Order Number' | $T8 %]</label>
216 <div class="list col">
217 <h4>[% 'Date' | $T8 %]</h4>
219 <input name="l_transdate" id="l_transdate" type="checkbox" checked><label for="l_transdate">[% 'Invoice Date' | $T8 %]</label>
222 <input name="l_datepaid" id="l_datepaid" type="checkbox"><label for="l_datepaid">[% 'Date Paid' | $T8 %]</label>
225 <input name="l_duedate" id="l_duedate" type="checkbox"><label for="l_duedate">[% 'Due Date' | $T8 %]</label>
228 <input name="l_deliverydate" id="l_deliverydate" class=checkbox type=checkbox value=Y><label for="l_deliverydate">[% 'Delivery Date' | $T8 %]</label>
231 <div class="list col">
232 <h4>[% 'Customer' | $T8 %]</h4>
234 <input name="l_name" id="l_name" type="checkbox" checked><label for="l_name">[% 'Customer' | $T8 %]</label>
237 <input name="l_customernumber" id="l_customernumber" type="checkbox"><label for="l_customernumber">[% 'Customer Number' | $T8 %]</label>
240 <input name="l_department" id="l_department" type="checkbox"><label for="l_department">[% 'Department' | $T8 %]</label>
243 <input name="l_country" id="l_country" type="checkbox"><label for="l_country">[% 'Country' | $T8 %]</label>
246 <input name="l_customer_dunning_lock" id="l_customer_dunning_lock" type="checkbox"><label for="l_customer_dunning_lock">[% 'Dunning lock' | $T8 %]</label>
249 <div class="list col">
250 <h4>[% 'Shipping Address' | $T8 %]</h4>
252 <input name="l_shiptoname" id="l_shiptoname" type="checkbox"><label for="l_shiptoname">[% 'Name' | $T8 %]</label>
255 <input name="l_shiptodepartment_1" id="l_shiptodepartment_1" type="checkbox"><label for="l_shiptodepartment_1">[% 'Department 1' | $T8 %]</label>
258 <input name="l_shiptodepartment_2" id="l_shiptodepartment_2" type="checkbox"><label for="l_shiptodepartment_2">[% 'Department 2' | $T8 %]</label>
261 <input name="l_shiptostreet" id="l_shiptostreet" type="checkbox"><label for="l_shiptostreet">[% 'Street' | $T8 %]</label>
264 <input name="l_shiptozipcode" id="l_shiptozipcode" type="checkbox"><label for="l_shiptozipcode">[% 'Zipcode' | $T8 %]</label>
267 <input name="l_shiptocity" id="l_shiptocity" type="checkbox"><label for="l_shiptocity">[% 'City' | $T8 %]</label>
270 <input name="l_shiptocountry" id="l_shiptocountry" type="checkbox"><label for="l_shiptocountry">[% 'Country' | $T8 %]</label>
273 <div class="list col">
274 <h4>[% 'Amounts' | $T8 %]</h4>
276 <input name="l_netamount" id="l_netamount" type="checkbox" value="Y" checked><label for="l_netamount">[% 'Amount' | $T8 %]</label>
279 <input name="l_amount" id="l_amount" type="checkbox" value="Y" checked><label for="l_amount">[% 'Total' | $T8 %]</label>
282 <input name="l_subtotal" id="l_subtotal" type="checkbox"><label for="l_subtotal">[% 'Subtotal' | $T8 %]</label>
285 <input name="l_due" id="l_due" type="checkbox"><label for="l_due">[% 'Amount Due' | $T8 %]</label>
288 <input name="l_marge_total" id="l_marge_total" type="checkbox"><label for="l_marge_total">[% 'Ertrag' | $T8 %]</label>
291 <input name="l_marge_percent" id="l_marge_percent" type="checkbox"><label for="l_marge_percent">[% 'Ertrag prozentual' | $T8 %]</label>
294 <input name="l_tax" id="l_tax" type="checkbox"><label for="l_tax">[% 'Tax' | $T8 %]</label>
297 <input name="l_taxzone" id="l_taxzone" type="checkbox"><label for="l_taxzone">[% 'Steuersatz' | $T8 %]</label>
300 <div class="list col">
301 <h4>[% 'Miscellaneous' | $T8 %]</h4>
303 <input name="l_notes" id="l_notes" type="checkbox"><label for="l_notes">[% 'Notes' | $T8 %]</label>
306 <input name="l_shippingpoint" id="l_shippingpoint" type="checkbox"><label for="l_shippingpoint">[% 'Shipping Point' | $T8 %]</label>
309 <input name="l_shipvia" id="l_shipvia" type="checkbox"><label for="l_shipvia">[% 'Ship via' | $T8 %]</label>
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>
315 <input name="l_payment_terms" id="l_payment_terms" type="checkbox"><label for="l_payment_terms">[% 'Payment Terms' | $T8 %]</label>
318 <input name="l_charts" id="l_charts" type="checkbox"><label for="l_charts">[% 'Chart' | $T8 %]</label>
321 <input name="l_direct_debit" id="l_direct_debit" type="checkbox"><label for="l_direct_debit">[% 'direct debit' | $T8 %]</label>
324 [% IF INSTANCE_CONF.get_doc_storage -%]
325 <input name="l_attachments" id="l_attachments" class=checkbox type=checkbox value=Y>[% 'Attachments' | $T8 %]
329 <input name="l_items" id="l_items" class=checkbox type=checkbox value=Y> [% 'Positions' | $T8 %]
332 <div class="list col">
333 <h4>[% 'Employee' | $T8 %]</h4>
335 <input name="l_salesman" id="l_salesman" type="checkbox"><label for="l_salesman">[% 'Salesperson' | $T8 %]</label>
338 <input name="l_employee" id="l_employee" type="checkbox"><label for="l_employee">[% 'Employee' | $T8 %]</label>
341 <div class="list col">
342 <h4>[% 'Custom Variables' | $T8 %]</h4>
343 <div class="no-rows">
344 [% CT_CUSTOM_VARIABLES_INCLUSION_CODE %]
348 <!-- /.wrapper.form-addition -->