Warensuche: "Alle" Radiobutton
[kivitendo-erp.git] / templates / webpages / ic / search.html
1 [%- USE T8 %]
2 [%- USE HTML %]
3 [%- USE LxERP %]
4 <body>
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><input name="transdatefrom" id="transdatefrom" size="11" title="[% HTML.escape(dateformat) %]"></td>
151              <td><input type="button" name="transdatefrom" id="trigger1" value="[% 'button' | $T8 %]"></td>
152              <th>[% 'To (time)' | $T8 %]</th>
153              <td><input name="transdateto" id="transdateto" size="11" title="[% HTML.escape(dateformat) %]"></td>
154              <td><input type="button" name="transdateto" name="transdateto" id="trigger2" value="[% 'button' | $T8 %]"></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           <td>
183            <input name="l_serialnumber" id="l_serialnumber" class="checkbox" type="checkbox" value="Y">
184            <label for="l_serialnumber">[% 'Serial Number' | $T8 %]</label>
185           </td>
186           <td>
187            <input name="l_unit" id="l_unit" class="checkbox" type="checkbox" value="Y" checked>
188            <label for="l_unit">[% 'Unit of measure' | $T8 %]</label>
189           </td>
190          </tr>
191
192          <tr>
193           <td>
194            <input name="l_listprice" id="l_listprice" class="checkbox" type="checkbox" value="Y">
195            <label for="l_listprice">[% 'List Price' | $T8 %]</label>
196           </td>
197           <td>
198            <input name="l_sellprice" id="l_sellprice" class="checkbox" type="checkbox" value="Y" checked>
199            <label for="l_sellprice">[% 'Sell Price' | $T8 %]</label>
200           </td>
201           <td>
202            <input name="l_lastcost" id="l_lastcost" class="checkbox" type="checkbox" value="Y" checked>
203            <label for="l_lastcost">[% 'Last Cost' | $T8 %]</label>
204           </td>
205           <td>
206            <input name="l_linetotal" id="l_linetotal" class="checkbox" type="checkbox" value="Y" checked>
207            <label for="l_linetotal">[% 'Line Total' | $T8 %]</label>
208           </td>
209          </tr>
210
211          <tr>
212           <td>
213            <input name="l_priceupdate" id="l_priceupdate" class="checkbox" type="checkbox" value="Y">
214            <label for="l_priceupdate">[% 'Updated' | $T8 %]</label>
215           </td>
216           <td>
217           <!-- auskommentiert fuer bug nummer 852 - ggf. fuer einen standardlagerplatz verwertet jb 18.5.09-->
218            <!--input name="l_bin" id="l_bin" class="checkbox" type="checkbox" value="Y">
219            <label for="l_bin">[% 'Bin' | $T8 %]</label -->
220            <input name="l_deliverydate" id="l_deliverydate" class="checkbox" type="checkbox" value="Y">
221            <label for="l_deliverydate">[% 'deliverydate' | $T8 %]</label>
222           </td>
223           <td>
224            <input name="l_rop" id="l_rop" class="checkbox" type="checkbox" value="Y">
225            <label for="l_rop">[% 'ROP' | $T8 %]</label>
226           </td>
227           <td>
228            <input name="l_weight" id="l_weight" class="checkbox" type="checkbox" value="Y">
229            <label for="l_weight">[% 'Weight' | $T8 %]</label>
230           </td>
231          </tr>
232
233          <tr>
234           <td>
235            <input name="l_image" id="l_image" class="checkbox"[%- IF conf_parts_listing_images %] checked="checked"[% END %] type="checkbox" value="Y">
236            <label for="l_image">[% 'Image' | $T8 %]</label>
237           </td>
238           <td>
239            <input name="l_drawing" id="l_drawing" class="checkbox" type="checkbox" value="Y">
240            <label for="l_drawing">[% 'Drawing' | $T8 %]</label>
241           </td>
242           <td>
243            <input name="l_microfiche" id="l_microfiche" class="checkbox" type="checkbox" value="Y">
244            <label for="l_microfiche">[% 'Microfiche' | $T8 %]</label>
245           </td>
246           <td>
247            <input name="l_partsgroup" id="l_partsgroup" class="checkbox" type="checkbox" value="Y">
248            <label for="l_partsgroup">[% 'Group' | $T8 %]</label>
249           </td>
250          </tr>
251
252          <tr>
253           <td>
254            <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y">
255            <label for="l_transdate">[% 'Transdate' | $T8 %]</label>
256           </td>
257           <td>
258            <input name="l_subtotal" id="l_subtotal" class="checkbox" type="checkbox" value="Y">
259            <label for="l_subtotal">[% 'Subtotal' | $T8 %]</label>
260           </td>
261           <td>
262            <input name="l_soldtotal" id="l_soldtotal" class="checkbox" type="checkbox" value="Y">
263            <label for="l_soldtotal">[% 'Qty in Selected Records' | $T8 %]</label>
264           </td>
265           <td>
266            <input name="l_ean" id="l_ean" class="checkbox" type="checkbox" value="Y">
267            <label for="l_ean">[% 'EAN' | $T8 %]</label>
268           </td>
269          </tr>
270
271          <tr>
272           <td>
273            <input name="l_onhand" id="l_onhand" class="checkbox" type="checkbox" value="Y">
274            <label for="l_onhand">[% 'Stocked Qty' | $T8 %]</label>
275           </td>
276           <td>
277            <input name="l_projectnumber" id="l_projectnumber" class="checkbox" type="checkbox" value="Y">
278            <label for="l_projectnumber">[% 'Project Number' | $T8 %]</label>
279           </td>
280           <td>
281            <input name="l_projectdescription" id="l_projectdescription" class="checkbox" type="checkbox" value="Y">
282            <label for="l_projectdescription">[% 'Project Description' | $T8 %]</label>
283           </td>
284          </tr>
285
286          [% CUSTOM_VARIABLES_INCLUSION_CODE %]
287         </table>
288        </td>
289       </tr>
290      </table>
291     </td>
292    </tr>
293    <tr><td colspan="4"><hr size="3" noshade></td></tr>
294   </table>
295
296   <script type="text/javascript">
297    <!--
298        Calendar.setup({ inputField : "transdatefrom",  ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger1" });
299        Calendar.setup({ inputField : "transdateto",    ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" });
300        //-->
301   </script>
302
303   <p>
304    <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">
305    <input class="submit" type="submit" name="action" value="[% 'TOP100' | $T8 %]">
306   </p>
307  </form>
308
309 </body>
310 </html>