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       [%- UNLESS is_service %]
89         <label for="itemstatus_onhand">[% 'On Hand' | $T8 %]</label>
90         <input name="itemstatus" id="itemstatus_short" class="radio" type="radio" value="short">
91         <label for="itemstatus_short">[% 'Short' | $T8 %]</label>
92         <input name="itemstatus" id="itemstatus_obsolete" class="radio" type="radio" value="obsolete">
93       [%- END %]
94         <label for="itemstatus_obsolete">[% 'Obsolete' | $T8 %]</label>
95         <input name="itemstatus" id="itemstatus_orphaned" class="radio" type="radio" value="orphaned">
96         <label for="itemstatus_orphaned">[% 'Orphaned' | $T8 %]</label>
97         <input name="itemstatus" id="itemstatus_all" class="radio" type="radio" value="">
98         <label for="itemstatus_all">[% 'All' | $T8 %]</label>
99        </td>
100       </tr>
101
102       <tr>
103        <td></td>
104        <td colspan="3">
105         <table>
106          <tr>
107           <td>
108            <table>
109             <tr>
110              [%- UNLESS is_assembly %]
111              <td><input name="bought" id="bought" class="checkbox" type="checkbox" value="1"></td>
112              <td nowrap><label for="bought">[% 'Bought' | $T8 %]</label></td>
113              [%- END %]
114              <td><input name="sold" id="sold" class="checkbox" type="checkbox" value="1"></td>
115              <td nowrap><label for="sold">[% 'Sold' | $T8 %]</label></td>
116             </tr>
117
118             <tr>
119              <td colspan="4"><hr size="1" noshade></td>
120             </tr>
121
122             <tr>
123              [%- UNLESS is_assembly %]
124              <td><input name="onorder" id="onorder" class="checkbox" type="checkbox" value="1"></td>
125              <td nowrap><label for="onorder">[% 'On Order' | $T8 %]</label></td>
126              [%- END %]
127              <td><input name="ordered" id="ordered" class="checkbox" type="checkbox" value="1"></td>
128              <td nowrap><label for="ordered">[% 'Ordered' | $T8 %]</label></td>
129             </tr>
130
131             <tr>
132              <td colspan="4"><hr size="1" noshade></td>
133             </tr>
134
135             <tr>
136              [%- UNLESS is_assembly %]
137              <td><input name="rfq" id="rfq" class="checkbox" type="checkbox" value="1"></td>
138              <td nowrap><label for="rfq">[% 'RFQ' | $T8 %]</label></td>
139              [%- END %]
140              <td><input name="quoted" id="quoted" class="checkbox" type="checkbox" value="1"></td>
141              <td nowrap><label for="quoted">[% 'Quoted' | $T8 %]</label></td>
142             </tr>
143            </table>
144           </td>
145
146           <td width="5%">&nbsp;</td>
147
148           <td>
149            <table>
150             <tr>
151              <th>[% 'From' | $T8 %]</th>
152              <td>[% L.date_tag('transdatefrom') %]</td>
153              <th>[% 'To (time)' | $T8 %]</th>
154              <td>[% L.date_tag('transdateto') %]</td>
155             </tr>
156            </table>
157           </td>
158          </tr>
159         </table>
160        </td>
161       </tr>
162
163       <tr>
164        <td></td>
165        <td colspan="3">
166         <hr size="1" noshade>
167        </td>
168       </tr>
169
170       <tr>
171        <th align="right" nowrap>[% 'Include in Report' | $T8 %]</th> <td colspan="3">
172         <table>
173          <tr>
174           <td>
175            <input name="l_partnumber" id="l_partnumber" class="checkbox" type="checkbox" value="Y" checked>
176            <label for="l_partnumber">[% 'Part Number' | $T8 %]</label>
177           </td>
178           <td>
179            <input name="l_description" id="l_description" class="checkbox" type="checkbox" value="Y" checked>
180            <label for="l_description">[% 'Part Description' | $T8 %]</label>
181           </td>
182       [%- UNLESS is_service %]
183           <td>
184            <input name="l_serialnumber" id="l_serialnumber" class="checkbox" type="checkbox" value="Y">
185            <label for="l_serialnumber">[% 'Serial Number' | $T8 %]</label>
186           </td>
187       [%- END %]
188           <td>
189            <input name="l_unit" id="l_unit" class="checkbox" type="checkbox" value="Y" checked>
190            <label for="l_unit">[% 'Unit of measure' | $T8 %]</label>
191           </td>
192          </tr>
193
194          <tr>
195           <td>
196            <input name="l_listprice" id="l_listprice" class="checkbox" type="checkbox" value="Y">
197            <label for="l_listprice">[% 'List Price' | $T8 %]</label>
198           </td>
199           <td>
200            <input name="l_sellprice" id="l_sellprice" class="checkbox" type="checkbox" value="Y" checked>
201            <label for="l_sellprice">[% 'Sell Price' | $T8 %]</label>
202           </td>
203           <td>
204            <input name="l_lastcost" id="l_lastcost" class="checkbox" type="checkbox" value="Y" checked>
205            <label for="l_lastcost">[% 'Last Cost' | $T8 %]</label>
206           </td>
207           <td>
208            <input name="l_linetotal" id="l_linetotal" class="checkbox" type="checkbox" value="Y" checked>
209            <label for="l_linetotal">[% 'Line Total' | $T8 %]</label>
210           </td>
211          </tr>
212
213          <tr>
214           <td>
215            <input name="l_priceupdate" id="l_priceupdate" class="checkbox" type="checkbox" value="Y">
216            <label for="l_priceupdate">[% 'Updated' | $T8 %]</label>
217           </td>
218           <td>
219           <!-- auskommentiert fuer bug nummer 852 - ggf. fuer einen standardlagerplatz verwertet jb 18.5.09-->
220            <!--input name="l_bin" id="l_bin" class="checkbox" type="checkbox" value="Y">
221            <label for="l_bin">[% 'Bin' | $T8 %]</label -->
222            <input name="l_deliverydate" id="l_deliverydate" class="checkbox" type="checkbox" value="Y">
223            <label for="l_deliverydate">[% 'deliverydate' | $T8 %]</label>
224           </td>
225       [%- UNLESS is_service %]
226           <td>
227            <input name="l_rop" id="l_rop" class="checkbox" type="checkbox" value="Y">
228            <label for="l_rop">[% 'ROP' | $T8 %]</label>
229           </td>
230           <td>
231            <input name="l_weight" id="l_weight" class="checkbox" type="checkbox" value="Y">
232            <label for="l_weight">[% 'Weight' | $T8 %]</label>
233           </td>
234       [%- END %]
235          </tr>
236
237          <tr>
238           <td>
239            <input name="l_image" id="l_image" class="checkbox"[%- IF conf_parts_listing_images %] checked="checked"[% END %] type="checkbox" value="Y">
240            <label for="l_image">[% 'Image' | $T8 %]</label>
241           </td>
242           <td>
243            <input name="l_drawing" id="l_drawing" class="checkbox" type="checkbox" value="Y">
244            <label for="l_drawing">[% 'Drawing' | $T8 %]</label>
245           </td>
246           <td>
247            <input name="l_microfiche" id="l_microfiche" class="checkbox" type="checkbox" value="Y">
248            <label for="l_microfiche">[% 'Microfiche' | $T8 %]</label>
249           </td>
250           <td>
251            <input name="l_partsgroup" id="l_partsgroup" class="checkbox" type="checkbox" value="Y">
252            <label for="l_partsgroup">[% 'Group' | $T8 %]</label>
253           </td>
254          </tr>
255
256          <tr>
257           <td>
258            <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y">
259            <label for="l_transdate">[% 'Transdate' | $T8 %]</label>
260           </td>
261           <td>
262            <input name="l_subtotal" id="l_subtotal" class="checkbox" type="checkbox" value="Y">
263            <label for="l_subtotal">[% 'Subtotal' | $T8 %]</label>
264           </td>
265           <td>
266            <input name="l_soldtotal" id="l_soldtotal" class="checkbox" type="checkbox" value="Y">
267            <label for="l_soldtotal">[% 'Qty in Selected Records' | $T8 %]</label>
268           </td>
269           <td>
270            <input name="l_ean" id="l_ean" class="checkbox" type="checkbox" value="Y">
271            <label for="l_ean">[% 'EAN' | $T8 %]</label>
272           </td>
273          </tr>
274
275          <tr>
276       [%- UNLESS is_service %]
277           <td>
278            <input name="l_onhand" id="l_onhand" class="checkbox" type="checkbox" value="Y">
279            <label for="l_onhand">[% 'Stocked Qty' | $T8 %]</label>
280           </td>
281       [%- END %]
282           <td>
283            <input name="l_projectnumber" id="l_projectnumber" class="checkbox" type="checkbox" value="Y">
284            <label for="l_projectnumber">[% 'Project Number' | $T8 %]</label>
285           </td>
286           <td>
287            <input name="l_projectdescription" id="l_projectdescription" class="checkbox" type="checkbox" value="Y">
288            <label for="l_projectdescription">[% 'Project Description' | $T8 %]</label>
289           </td>
290           <td>
291            <input name="l_pricegroups" id="l_pricegroups" class="checkbox" type="checkbox" value="Y" checked>
292            <label for="l_pricegroups">[% 'Pricegroups' | $T8 %]</label>
293           </td>
294          </tr>
295
296          <tr>
297           <td>
298            <input name="l_notes" id="l_notes" class="checkbox" type="checkbox" value="Y">
299            <label for="l_notes">[% 'Notes' | $T8 %]</label>
300           </td>
301          </tr>
302
303          [% CUSTOM_VARIABLES_INCLUSION_CODE %]
304         </table>
305        </td>
306       </tr>
307      </table>
308     </td>
309    </tr>
310    <tr><td colspan="4"><hr size="3" noshade></td></tr>
311   </table>
312
313   <p>
314    <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">
315    <input class="submit" type="submit" name="action" value="[% 'TOP100' | $T8 %]">
316   </p>
317  </form>