Merge branch 'master' of vc.linet-services.de:public/lx-office-erp
[kivitendo-erp.git] / templates / webpages / ic / search.html
1 [%- USE T8 %]
2 [%- USE HTML %]
3 [%- USE LxERP %]
4 [%- USE L %]
5
6  <form method="post" action="ic.pl">
7
8   <input type="hidden" name="searchitems" value="[% HTML.escape(searchitems) %]">
9   <input type="hidden" name="title" value="[% HTML.escape(title) %]">
10
11   <input type="hidden" name="revers" value="[% HTML.escape(revers) %]">
12   <input type="hidden" name="lastsort" value="[% HTML.escape(lastsort) %]">
13
14   <input type="hidden" name="nextsub" value="generate_report">
15   <input type="hidden" name="sort" value="description">
16
17   <input type="hidden" name="ndxs_counter" value="[% HTML.escape(ndxs_counter) %]">
18
19   <div class="listtop">[% title %]</div>
20
21   <table width="100%">
22    <tr height="5"></tr>
23    <tr valign="top">
24     <td>
25      <table>
26       <tr>
27        <th align="right" nowrap>[% 'Part Number' | $T8 %]</th>
28        <td><input name="partnumber" size="20"></td>
29        <th align="right" nowrap>[% 'EAN' | $T8 %]</th>
30        <td><input name="ean" size="20"></td>
31       </tr>
32
33       <tr>
34        <th align="right" nowrap>[% 'Part Description' | $T8 %]</th>
35        <td colspan="3"><input name="description" size="40"></td>
36       </tr>
37
38       <tr>
39        <th align="right" nowrap>[% 'Group' | $T8 %]</th>
40        <td>
41          [%- INCLUDE generic/multibox.html
42            name          = 'partsgroup',
43            select_name   = 'partsgroup_id',
44            DATA          = ALL_PARTSGROUPS,
45            show_empty    = 1,
46            id_key        = 'id',
47            label_key     = 'partsgroup',
48            style         = 'width:250px',
49            limit         = limit,
50            allow_textbox = 1
51          -%]
52        </td>
53        <th align="right" nowrap>[% 'Serial Number' | $T8 %]</th> <td><input name="serialnumber" size="20"></td>
54       </tr>
55
56       [%- UNLESS is_service %]
57       <tr>
58        <th align="right" nowrap>[% 'Make' | $T8 %]</th> <td><input name="make" size="20"></td>
59        <th align="right" nowrap>[% 'Model' | $T8 %]</th> <td><input name="model" size="20"></td>
60       </tr>
61       [%- END %]
62
63       <tr>
64        <th align="right" nowrap>[% 'Drawing' | $T8 %]</th>
65        <td><input name="drawing" size="20"></td>
66        <th align="right" nowrap>[% 'Microfiche' | $T8 %]</th>
67        <td><input name="microfiche" size="20"></td>
68       </tr>
69
70       [% CUSTOM_VARIABLES_FILTER_CODE %]
71
72       [%- IF is_assembly %]
73       <tr>
74        <td></td>
75        <td colspan="3">
76         <input name="null" id="null_1" class="radio" type="radio" value="1" checked>&nbsp;<label for="null_1">[% 'Top Level' | $T8 %]</label>
77         <input name="bom" id="bom" class="checkbox" type="checkbox" value="1">&nbsp;<label for="bom">[% 'Individual Items' | $T8 %]</label>
78        </td>
79       </tr>
80       [%- END %]
81
82       <tr>
83        <td></td>
84        <td colspan="3">
85         <input name="itemstatus" id="itemstatus_active" class="radio" type="radio" value="active" checked>
86         <label for="itemstatus_active">[% 'Active' | $T8 %]</label>
87         <input name="itemstatus" id="itemstatus_onhand" class="radio" type="radio" value="onhand">
88         <label for="itemstatus_onhand">[% 'On Hand' | $T8 %]</label>
89         <input name="itemstatus" id="itemstatus_short" class="radio" type="radio" value="short">
90         <label for="itemstatus_short">[% 'Short' | $T8 %]</label>
91         <input name="itemstatus" id="itemstatus_obsolete" class="radio" type="radio" value="obsolete">
92         <label for="itemstatus_obsolete">[% 'Obsolete' | $T8 %]</label>
93         <input name="itemstatus" id="itemstatus_orphaned" class="radio" type="radio" value="orphaned">
94         <label for="itemstatus_orphaned">[% 'Orphaned' | $T8 %]</label>
95         <input name="itemstatus" id="itemstatus_all" class="radio" type="radio" value="">
96         <label for="itemstatus_all">[% 'All' | $T8 %]</label>
97        </td>
98       </tr>
99
100       <tr>
101        <td></td>
102        <td colspan="3">
103         <table>
104          <tr>
105           <td>
106            <table>
107             <tr>
108              [%- UNLESS is_assembly %]
109              <td><input name="bought" id="bought" class="checkbox" type="checkbox" value="1"></td>
110              <td nowrap><label for="bought">[% 'Bought' | $T8 %]</label></td>
111              [%- END %]
112              <td><input name="sold" id="sold" class="checkbox" type="checkbox" value="1"></td>
113              <td nowrap><label for="sold">[% 'Sold' | $T8 %]</label></td>
114             </tr>
115
116             <tr>
117              <td colspan="4"><hr size="1" noshade></td>
118             </tr>
119
120             <tr>
121              [%- UNLESS is_assembly %]
122              <td><input name="onorder" id="onorder" class="checkbox" type="checkbox" value="1"></td>
123              <td nowrap><label for="onorder">[% 'On Order' | $T8 %]</label></td>
124              [%- END %]
125              <td><input name="ordered" id="ordered" class="checkbox" type="checkbox" value="1"></td>
126              <td nowrap><label for="ordered">[% 'Ordered' | $T8 %]</label></td>
127             </tr>
128
129             <tr>
130              <td colspan="4"><hr size="1" noshade></td>
131             </tr>
132
133             <tr>
134              [%- UNLESS is_assembly %]
135              <td><input name="rfq" id="rfq" class="checkbox" type="checkbox" value="1"></td>
136              <td nowrap><label for="rfq">[% 'RFQ' | $T8 %]</label></td>
137              [%- END %]
138              <td><input name="quoted" id="quoted" class="checkbox" type="checkbox" value="1"></td>
139              <td nowrap><label for="quoted">[% 'Quoted' | $T8 %]</label></td>
140             </tr>
141            </table>
142           </td>
143
144           <td width="5%">&nbsp;</td>
145
146           <td>
147            <table>
148             <tr>
149              <th>[% 'From' | $T8 %]</th>
150              <td>[% L.date_tag('transdatefrom') %]</td>
151              <th>[% 'To (time)' | $T8 %]</th>
152              <td>[% L.date_tag('transdateto') %]</td>
153             </tr>
154            </table>
155           </td>
156          </tr>
157         </table>
158        </td>
159       </tr>
160
161       <tr>
162        <td></td>
163        <td colspan="3">
164         <hr size="1" noshade>
165        </td>
166       </tr>
167
168       <tr>
169        <th align="right" nowrap>[% 'Include in Report' | $T8 %]</th> <td colspan="3">
170         <table>
171          <tr>
172           <td>
173            <input name="l_partnumber" id="l_partnumber" class="checkbox" type="checkbox" value="Y" checked>
174            <label for="l_partnumber">[% 'Part Number' | $T8 %]</label>
175           </td>
176           <td>
177            <input name="l_description" id="l_description" class="checkbox" type="checkbox" value="Y" checked>
178            <label for="l_description">[% 'Part Description' | $T8 %]</label>
179           </td>
180           <td>
181            <input name="l_serialnumber" id="l_serialnumber" class="checkbox" type="checkbox" value="Y">
182            <label for="l_serialnumber">[% 'Serial Number' | $T8 %]</label>
183           </td>
184           <td>
185            <input name="l_unit" id="l_unit" class="checkbox" type="checkbox" value="Y" checked>
186            <label for="l_unit">[% 'Unit of measure' | $T8 %]</label>
187           </td>
188          </tr>
189
190          <tr>
191           <td>
192            <input name="l_listprice" id="l_listprice" class="checkbox" type="checkbox" value="Y">
193            <label for="l_listprice">[% 'List Price' | $T8 %]</label>
194           </td>
195           <td>
196            <input name="l_sellprice" id="l_sellprice" class="checkbox" type="checkbox" value="Y" checked>
197            <label for="l_sellprice">[% 'Sell Price' | $T8 %]</label>
198           </td>
199           <td>
200            <input name="l_lastcost" id="l_lastcost" class="checkbox" type="checkbox" value="Y" checked>
201            <label for="l_lastcost">[% 'Last Cost' | $T8 %]</label>
202           </td>
203           <td>
204            <input name="l_linetotal" id="l_linetotal" class="checkbox" type="checkbox" value="Y" checked>
205            <label for="l_linetotal">[% 'Line Total' | $T8 %]</label>
206           </td>
207          </tr>
208
209          <tr>
210           <td>
211            <input name="l_priceupdate" id="l_priceupdate" class="checkbox" type="checkbox" value="Y">
212            <label for="l_priceupdate">[% 'Updated' | $T8 %]</label>
213           </td>
214           <td>
215           <!-- auskommentiert fuer bug nummer 852 - ggf. fuer einen standardlagerplatz verwertet jb 18.5.09-->
216            <!--input name="l_bin" id="l_bin" class="checkbox" type="checkbox" value="Y">
217            <label for="l_bin">[% 'Bin' | $T8 %]</label -->
218            <input name="l_deliverydate" id="l_deliverydate" class="checkbox" type="checkbox" value="Y">
219            <label for="l_deliverydate">[% 'deliverydate' | $T8 %]</label>
220           </td>
221           <td>
222            <input name="l_rop" id="l_rop" class="checkbox" type="checkbox" value="Y">
223            <label for="l_rop">[% 'ROP' | $T8 %]</label>
224           </td>
225           <td>
226            <input name="l_weight" id="l_weight" class="checkbox" type="checkbox" value="Y">
227            <label for="l_weight">[% 'Weight' | $T8 %]</label>
228           </td>
229          </tr>
230
231          <tr>
232           <td>
233            <input name="l_image" id="l_image" class="checkbox"[%- IF conf_parts_listing_images %] checked="checked"[% END %] type="checkbox" value="Y">
234            <label for="l_image">[% 'Image' | $T8 %]</label>
235           </td>
236           <td>
237            <input name="l_drawing" id="l_drawing" class="checkbox" type="checkbox" value="Y">
238            <label for="l_drawing">[% 'Drawing' | $T8 %]</label>
239           </td>
240           <td>
241            <input name="l_microfiche" id="l_microfiche" class="checkbox" type="checkbox" value="Y">
242            <label for="l_microfiche">[% 'Microfiche' | $T8 %]</label>
243           </td>
244           <td>
245            <input name="l_partsgroup" id="l_partsgroup" class="checkbox" type="checkbox" value="Y">
246            <label for="l_partsgroup">[% 'Group' | $T8 %]</label>
247           </td>
248          </tr>
249
250          <tr>
251           <td>
252            <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y">
253            <label for="l_transdate">[% 'Transdate' | $T8 %]</label>
254           </td>
255           <td>
256            <input name="l_subtotal" id="l_subtotal" class="checkbox" type="checkbox" value="Y">
257            <label for="l_subtotal">[% 'Subtotal' | $T8 %]</label>
258           </td>
259           <td>
260            <input name="l_soldtotal" id="l_soldtotal" class="checkbox" type="checkbox" value="Y">
261            <label for="l_soldtotal">[% 'Qty in Selected Records' | $T8 %]</label>
262           </td>
263           <td>
264            <input name="l_ean" id="l_ean" class="checkbox" type="checkbox" value="Y">
265            <label for="l_ean">[% 'EAN' | $T8 %]</label>
266           </td>
267          </tr>
268
269          <tr>
270           <td>
271            <input name="l_onhand" id="l_onhand" class="checkbox" type="checkbox" value="Y">
272            <label for="l_onhand">[% 'Stocked Qty' | $T8 %]</label>
273           </td>
274           <td>
275            <input name="l_projectnumber" id="l_projectnumber" class="checkbox" type="checkbox" value="Y">
276            <label for="l_projectnumber">[% 'Project Number' | $T8 %]</label>
277           </td>
278           <td>
279            <input name="l_projectdescription" id="l_projectdescription" class="checkbox" type="checkbox" value="Y">
280            <label for="l_projectdescription">[% 'Project Description' | $T8 %]</label>
281           </td>
282           <td>
283            <input name="l_pricegroups" id="l_pricegroups" class="checkbox" type="checkbox" value="Y" checked>
284            <label for="l_pricegroups">[% 'Pricegroups' | $T8 %]</label>
285           </td>
286          </tr>
287
288          <tr>
289           <td>
290            <input name="l_notes" id="l_notes" class="checkbox" type="checkbox" value="Y">
291            <label for="l_notes">[% 'Notes' | $T8 %]</label>
292           </td>
293          </tr>
294
295          [% CUSTOM_VARIABLES_INCLUSION_CODE %]
296         </table>
297        </td>
298       </tr>
299      </table>
300     </td>
301    </tr>
302    <tr><td colspan="4"><hr size="3" noshade></td></tr>
303   </table>
304
305   <p>
306    <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">
307    <input class="submit" type="submit" name="action" value="[% 'TOP100' | $T8 %]">
308   </p>
309  </form>
310