5 <form method=post name="search_invoice" action=[% script %]>
7 <table width=100% border="0">
8 <tr><th class=listtop>[% title %]</th></tr>
17 <th align=left nowrap>[% 'Configuration' | $T8 %]</th>
21 <td align="right">[% 'Main sorting' | $T8 %]</td>
23 <select name="mainsort" id="mainsort">
24 <option value="description">[% 'Part' | $T8 %]</option>
25 <option value="customername">[% 'Customer' | $T8 %]</option>
26 <option value="country">[% 'Country' | $T8 %]</option>
27 <option value="partsgroup">[% 'Group' | $T8 %]</option>
28 <option value="business">[% 'Customer type' | $T8 %]</option>
29 <option value="salesman" selected="selected">[% 'Salesman' | $T8 %]</option>
30 <option value="month">[% 'Month' | $T8 %]</option>
33 <td align=left><input name="l_headers_mainsort" class=checkbox type=checkbox value=Y checked> [% 'Heading' | $T8 %]</td>
34 <td align=left><input name="l_subtotal_mainsort" class=checkbox type=checkbox value=Y checked> [% 'Subtotal' | $T8 %]</td>
37 <td align="right">[% 'Secondary sorting' | $T8 %]</td>
39 <select name="subsort" id="subsort">
40 <option value="description">[% 'Part' | $T8 %]</option>
41 <option value="customername">[% 'Customer' | $T8 %]</option>
42 <option value="country">[% 'Country' | $T8 %]</option>
43 <option value="partsgroup">[% 'Group' | $T8 %]</option>
44 <option value="business">[% 'Customer type' | $T8 %]</option>
45 <option value="salesman">[% 'Salesman' | $T8 %]</option>
46 <option value="month" selected="selected">[% 'Month' | $T8 %]</option>
49 <td align=left><input name="l_headers_subsort" class=checkbox type=checkbox value=Y checked> [% 'Heading' | $T8 %]</td>
50 <td align=left><input name="l_subtotal_subsort" class=checkbox type=checkbox value=Y checked> [% 'Subtotal' | $T8 %]</td>
53 <th align="right">[% 'Item mode' | $T8 %]</th>
54 <td colspan="3" align=left><input name="l_parts" class=checkbox type=checkbox value=Y> ([%'Show items from invoices individually' | $T8 %]) </td>
58 [% 'Total sum' | $T8 %]
60 <td colspan="1" align=left><input name="l_total" class=checkbox type=checkbox value=Y checked></td>
61 <td align="right" nowrap>[% 'Decimalplaces' | $T8 %]: </td>
62 <td colspan="2"><input name="decimalplaces" size="2" value="2"></td>
67 <th align=left nowrap>[% 'Filter' | $T8 %]</th>
72 <th align=left colspan="4"><br>[% 'Filter' | $T8 %]:</br></th>
75 <th align=right>[% 'Customer' | $T8 %]</th>
77 [%- INCLUDE 'generic/multibox.html'
79 default = oldcustomer,
80 style = 'width: 250px',
92 <th align="right" nowrap>[% 'Customer Number' | $T8 %]</th>
93 <td colspan="3"><input name="customernumber" size="20"></td>
96 <th align=right nowrap>[% 'Department' | $T8 %]</th>
98 [%- INCLUDE 'generic/multibox.html'
100 style = 'width: 250px',
101 DATA = ALL_DEPARTMENTS,
103 label_key = 'description',
110 <th align="right">[% 'Project Number' | $T8 %]</th>
112 [%- INCLUDE 'generic/multibox.html'
114 style = "width: 250px",
117 label_key = 'projectnumber',
125 <th align="right" nowrap>[% 'Part Number' | $T8 %]</th>
126 <td colspan="3"><input name="partnumber" size="20"></td>
129 <th align="right" nowrap>[% 'Part Description' | $T8 %]</th>
130 <td colspan="3"><input name="description" size="40"></td>
133 <th align="right">[% 'Group' | $T8 %]</th>
135 [%- INCLUDE 'generic/multibox.html'
136 name = 'partsgroup_id',
137 style = 'width: 250px',
138 DATA = ALL_PARTSGROUPS,
140 label_key = 'partsgroup',
147 <td align="right" nowrap>[% 'Country' | $T8 %]</td>
148 <td colspan="3"><input name="country" size="20"></td>
151 <th align="right">[% 'Employee' | $T8 %]</th>
153 [%- INCLUDE 'generic/multibox.html'
154 name = 'employee_id',
155 style = 'width: 250px',
156 DATA = ALL_EMPLOYEES,
158 label_sub = 'employee_labels',
167 <th align="right">[% 'Salesman' | $T8 %]</th>
169 [%- INCLUDE 'generic/multibox.html'
170 name = 'salesman_id',
171 style = 'width: 250px',
174 label_sub = 'salesman_labels',
182 <th align="right">[% 'Customer type' | $T8 %]</th>
184 [%- INCLUDE 'generic/multibox.html'
185 name = 'business_id',
186 style = "width: 250px",
187 DATA = ALL_BUSINESS_TYPES,
189 label_key = 'description',
197 <th align=right nowrap>[% 'Invoice Date' | $T8 %] [% 'From' | $T8 %]</th>
199 [% L.date_tag('transdatefrom') %]
201 <th align=right>[% 'Bis' | $T8 %]</th>
203 [% L.date_tag('transdateto') %]
207 <th align=left colspan="4"><br>[% 'Filter for customer variables' | $T8 %]:</br></th>
209 [% CUSTOM_VARIABLES_FILTER_CODE_CT %]
211 <th align=left colspan="4"><br>[% 'Filter for item variables' | $T8 %]:</br></th>
213 [% CUSTOM_VARIABLES_FILTER_CODE_IC %]
214 <input type=hidden name=sort value=transdate>
219 <th align=right nowrap>[% 'Include in Report' | $T8 %]</th>
223 [% 'Cumulated or averaged values' | $T8 %] ([% 'invoice mode or item mode' | $T8 %]):
226 <td align=left><input name="l_sellprice_total" class=checkbox type=checkbox value=Y checked>[% 'Sales price total' | $T8 %]</td>
227 <td align=left><input name="l_lastcost_total" class=checkbox type=checkbox value=Y checked>[% 'Purchase price total' | $T8 %]</td>
228 <td align=left><input name="l_marge_total" class=checkbox type=checkbox value=Y checked>[% 'Margetotal' | $T8 %]</td>
229 <td colspan="4"> ([% 'Single values in item mode, cumulated values in invoice mode' | $T8 %])
233 <td align=left><input name="l_sellprice" class=checkbox type=checkbox value=Y checked>[% 'Sales price' | $T8 %]</td>
234 <td align=left><input name="l_lastcost" class=checkbox type=checkbox value=Y checked>[% 'Purchase price' | $T8 %]</td>
235 <td align=left><input name="l_marge_percent" class=checkbox type=checkbox value=Y checked>[% 'Margepercent' | $T8 %]</td>
236 <td colspan="4">([% 'averaged values, in invoice mode only useful when filtered by a part' | $T8 %])</td>
239 <td align=left><input name="l_qty" class=checkbox type=checkbox value=Y checked>[% 'Quantity' | $T8 %]</td>
240 <td align=left><input name="l_discount" class=checkbox type=checkbox value=Y>[% 'Discount' | $T8 %]</td>
242 <td colspan="4">([% 'averaged values, in invoice mode only useful when filtered by a part' | $T8 %])</td>
245 <td align=left><input name="l_weight" class=checkbox type=checkbox value=Y>[% 'Weight' | $T8 %]</td>
247 <tr><td colspan="7"> </td></tr>
248 <td colspan="4" align="left">
249 [% 'Item values' | $T8 %] ([% 'Only shown in item mode' | $T8 %])
252 <td align=left><input name="l_description" class=checkbox type=checkbox value=Y checked>[% 'Description' | $T8 %]</td>
253 <td align=left><input name="l_partnumber" class=checkbox type=checkbox value=Y>[% 'Part Number' | $T8 %]</td>
254 <td align=left><input name="l_invnumber" class=checkbox type=checkbox value=Y>[% 'Invnumber' | $T8 %]</td>
255 <td align=left><input name="l_transdate" class=checkbox type=checkbox value=Y>[% 'Invdate' | $T8 %]</td>
258 <td align=left><input name="l_parts_unit" class=checkbox type=checkbox value=Y>[% 'Base unit' | $T8 %]</td>
259 <td align=left><input name="l_partsgroup" class=checkbox type=checkbox value=Y>[% 'Group' | $T8 %]</td>
260 <td align=left><input name="l_salesman" class=checkbox type=checkbox value=Y>[% 'Salesperson' | $T8 %]</td>
261 <td align=left><input name="l_employee" class=checkbox type=checkbox value=Y>[% 'Employee' | $T8 %]</td>
264 <td align=left><input name="l_customernumber" class=checkbox type=checkbox value=Y>[% 'Customer Number' | $T8 %]</td>
265 <td align=left><input name="l_customername" class=checkbox type=checkbox value=Y>[% 'Customer Name' | $T8 %]</td>
266 <td align=left><input name="l_country" class=checkbox type=checkbox value=Y>[% 'Country' | $T8 %]</td>
267 <td align=left><input name="l_business" class=checkbox type=checkbox value=Y>[% 'Customer type' | $T8 %]</td>
271 <tr><td colspan="7"> </td></tr>
273 <th colspan="4" align="left">
274 [% 'Customer variables' | $T8 %] ([% 'Only shown in item mode' | $T8 %])
277 [% CUSTOM_VARIABLES_INCLUSION_CODE_CT %]
279 <tr><td colspan="7"> </td></tr>
281 <th colspan="4" align="left">
282 [% 'Item variables' | $T8 %] ([% 'Only shown in item mode' | $T8 %])
285 [% CUSTOM_VARIABLES_INCLUSION_CODE_IC %]
295 <input type=hidden name=nextsub value=[% nextsub %]>
297 <input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
299 <script type="text/javascript">
301 $(document).ready(function(){
302 $('customer').focus();
303 setupDateFormat('[% dateformat | html %]','[% 'Falsches Datumsformat!' | $T8 %]');
304 setupPoints('[% numberformat | html %]','[% 'wrongformat' | $T8 %]');