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