Merge fix
[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><input name="partsgroup" size="20"></td>
41        [%- UNLESS is_service %]
42        <th align="right" nowrap>[% 'Serial Number' | $T8 %]</th> <td><input name="serialnumber" size="20"></td>
43        [%- END %]
44       </tr>
45
46       [%- UNLESS is_service %]
47       <tr>
48        <th align="right" nowrap>[% 'Make' | $T8 %]</th> <td><input name="make" size="20"></td>
49        <th align="right" nowrap>[% 'Model' | $T8 %]</th> <td><input name="model" size="20"></td>
50       </tr>
51       [%- END %]
52
53       <tr>
54        <th align="right" nowrap>[% 'Drawing' | $T8 %]</th>
55        <td><input name="drawing" size="20"></td>
56        <th align="right" nowrap>[% 'Microfiche' | $T8 %]</th>
57        <td><input name="microfiche" size="20"></td>
58       </tr>
59
60       [% CUSTOM_VARIABLES_FILTER_CODE %]
61
62       [%- IF is_assembly %]
63       <tr>
64        <td></td>
65        <td colspan="3">
66         <input name="null" id="null_1" class="radio" type="radio" value="1" checked>&nbsp;<label for="null_1">[% 'Top Level' | $T8 %]</label>
67         <input name="bom" id="bom" class="checkbox" type="checkbox" value="1">&nbsp;<label for="bom">[% 'Individual Items' | $T8 %]</label>
68        </td>
69       </tr>
70       [%- END %]
71
72       <tr>
73        <td></td>
74        <td colspan="3">
75         <input name="itemstatus" id="itemstatus_active" class="radio" type="radio" value="active" checked>
76         <label for="itemstatus_active">[% 'Active' | $T8 %]</label>
77         [%- UNLESS is_service %]
78         <input name="itemstatus" id="itemstatus_onhand" class="radio" type="radio" value="onhand">
79         <label for="itemstatus_onhand">[% 'On Hand' | $T8 %]</label>
80         <input name="itemstatus" id="itemstatus_short" class="radio" type="radio" value="short">
81         <label for="itemstatus_short">[% 'Short' | $T8 %]</label>
82         [%- END %]
83         <input name="itemstatus" id="itemstatus_obsolete" class="radio" type="radio" value="obsolete">
84         <label for="itemstatus_obsolete">[% 'Obsolete' | $T8 %]</label>
85         <input name="itemstatus" id="itemstatus_orphaned" class="radio" type="radio" value="orphaned">
86         <label for="itemstatus_orphaned">[% 'Orphaned' | $T8 %]</label>
87        </td>
88       </tr>
89
90       <tr>
91        <td></td>
92        <td colspan="3">
93         <table>
94          <tr>
95           <td>
96            <table>
97             <tr>
98              [%- UNLESS is_assembly %]
99              <td><input name="bought" id="bought" class="checkbox" type="checkbox" value="1"></td>
100              <td nowrap><label for="bought">[% 'Bought' | $T8 %]</label></td>
101              [%- END %]
102              <td><input name="sold" id="sold" class="checkbox" type="checkbox" value="1"></td>
103              <td nowrap><label for="sold">[% 'Sold' | $T8 %]</label></td>
104             </tr>
105
106             <tr>
107              <td colspan="4"><hr size="1" noshade></td>
108             </tr>
109
110             <tr>
111              [%- UNLESS is_assembly %]
112              <td><input name="onorder" id="onorder" class="checkbox" type="checkbox" value="1"></td>
113              <td nowrap><label for="onorder">[% 'On Order' | $T8 %]</label></td>
114              [%- END %]
115              <td><input name="ordered" id="ordered" class="checkbox" type="checkbox" value="1"></td>
116              <td nowrap><label for="ordered">[% 'Ordered' | $T8 %]</label></td>
117             </tr>
118
119             <tr>
120              <td colspan="4"><hr size="1" noshade></td>
121             </tr>
122
123             <tr>
124              [%- UNLESS is_assembly %]
125              <td><input name="rfq" id="rfq" class="checkbox" type="checkbox" value="1"></td>
126              <td nowrap><label for="rfq">[% 'RFQ' | $T8 %]</label></td>
127              [%- END %]
128              <td><input name="quoted" id="quoted" class="checkbox" type="checkbox" value="1"></td>
129              <td nowrap><label for="quoted">[% 'Quoted' | $T8 %]</label></td>
130             </tr>
131            </table>
132           </td>
133
134           <td width="5%">&nbsp;</td>
135
136           <td>
137            <table>
138             <tr>
139              <th>[% 'From' | $T8 %]</th>
140              <td><input name="transdatefrom" id="transdatefrom" size="11" title="[% HTML.escape(dateformat) %]"></td>
141              <td><input type="button" name="transdatefrom" id="trigger1" value="[% 'button' | $T8 %]"></td>
142              <th>[% 'To (time)' | $T8 %]</th>
143              <td><input name="transdateto" id="transdateto" size="11" title="[% HTML.escape(dateformat) %]"></td>
144              <td><input type="button" name="transdateto" name="transdateto" id="trigger2" value="[% 'button' | $T8 %]"></td>
145             </tr>
146            </table>
147           </td>
148          </tr>
149         </table>
150        </td>
151       </tr>
152
153       <tr>
154        <td></td>
155        <td colspan="3">
156         <hr size="1" noshade>
157        </td>
158       </tr>
159
160       <tr>
161        <th align="right" nowrap>[% 'Include in Report' | $T8 %]</th> <td colspan="3">
162         <table>
163          <tr>
164           <td>
165            <input name="l_partnumber" id="l_partnumber" class="checkbox" type="checkbox" value="Y" checked>
166            <label for="l_partnumber">[% 'Part Number' | $T8 %]</label>
167           </td>
168           <td>
169            <input name="l_description" id="l_description" class="checkbox" type="checkbox" value="Y" checked>
170            <label for="l_description">[% 'Part Description' | $T8 %]</label>
171           </td>
172           [%- UNLESS is_service %]
173           <td>
174            <input name="l_serialnumber" id="l_serialnumber" class="checkbox" type="checkbox" value="Y">
175            <label for="l_serialnumber">[% 'Serial Number' | $T8 %]</label>
176           </td>
177           [%- END %]
178           <td>
179            <input name="l_unit" id="l_unit" class="checkbox" type="checkbox" value="Y" checked>
180            <label for="l_unit">[% 'Unit of measure' | $T8 %]</label>
181           </td>
182          </tr>
183
184          <tr>
185           <td>
186            <input name="l_listprice" id="l_listprice" class="checkbox" type="checkbox" value="Y">
187            <label for="l_listprice">[% 'List Price' | $T8 %]</label>
188           </td>
189           <td>
190            <input name="l_sellprice" id="l_sellprice" class="checkbox" type="checkbox" value="Y" checked>
191            <label for="l_sellprice">[% 'Sell Price' | $T8 %]</label>
192           </td>
193           <td>
194            <input name="l_lastcost" id="l_lastcost" class="checkbox" type="checkbox" value="Y" checked>
195            <label for="l_lastcost">[% 'Last Cost' | $T8 %]</label>
196           </td>
197           <td>
198            <input name="l_linetotal" id="l_linetotal" class="checkbox" type="checkbox" value="Y" checked>
199            <label for="l_linetotal">[% 'Line Total' | $T8 %]</label>
200           </td>
201          </tr>
202
203          <tr>
204           <td>
205            <input name="l_priceupdate" id="l_priceupdate" class="checkbox" type="checkbox" value="Y">
206            <label for="l_priceupdate">[% 'Updated' | $T8 %]</label>
207           </td>
208           <td>
209           <!-- auskommentiert fuer bug nummer 852 - ggf. fuer einen standardlagerplatz verwertet jb 18.5.09-->
210            <!--input name="l_bin" id="l_bin" class="checkbox" type="checkbox" value="Y">
211            <label for="l_bin">[% 'Bin' | $T8 %]</label -->
212            <input name="l_deliverydate" id="l_deliverydate" class="checkbox" type="checkbox" value="Y">
213            <label for="l_deliverydate">[% 'deliverydate' | $T8 %]</label>
214           </td>
215           <td>
216            <input name="l_rop" id="l_rop" class="checkbox" type="checkbox" value="Y">
217            <label for="l_rop">[% 'ROP' | $T8 %]</label>
218           </td>
219           <td>
220            <input name="l_weight" id="l_weight" class="checkbox" type="checkbox" value="Y">
221            <label for="l_weight">[% 'Weight' | $T8 %]</label>
222           </td>
223          </tr>
224
225          <tr>
226           <td>
227            <input name="l_image" id="l_image" class="checkbox" type="checkbox" value="Y">
228            <label for="l_image">[% 'Image' | $T8 %]</label>
229           </td>
230           <td>
231            <input name="l_drawing" id="l_drawing" class="checkbox" type="checkbox" value="Y">
232            <label for="l_drawing">[% 'Drawing' | $T8 %]</label>
233           </td>
234           <td>
235            <input name="l_microfiche" id="l_microfiche" class="checkbox" type="checkbox" value="Y">
236            <label for="l_microfiche">[% 'Microfiche' | $T8 %]</label>
237           </td>
238           <td>
239            <input name="l_partsgroup" id="l_partsgroup" class="checkbox" type="checkbox" value="Y">
240            <label for="l_partsgroup">[% 'Group' | $T8 %]</label>
241           </td>
242          </tr>
243
244          <tr>
245           <td>
246            <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y">
247            <label for="l_transdate">[% 'Transdate' | $T8 %]</label>
248           </td>
249           <td>
250            <input name="l_subtotal" id="l_subtotal" class="checkbox" type="checkbox" value="Y">
251            <label for="l_subtotal">[% 'Subtotal' | $T8 %]</label>
252           </td>
253           <td>
254            <input name="l_soldtotal" id="l_soldtotal" class="checkbox" type="checkbox" value="Y">
255            <label for="l_soldtotal">[% 'soldtotal' | $T8 %]</label>
256           </td>
257           <td>
258            <input name="l_ean" id="l_ean" class="checkbox" type="checkbox" value="Y">
259            <label for="l_ean">[% 'EAN' | $T8 %]</label>
260           </td>
261          </tr>
262
263          [% CUSTOM_VARIABLES_INCLUSION_CODE %]
264         </table>
265        </td>
266       </tr>
267      </table>
268     </td>
269    </tr>
270    <tr><td colspan="4"><hr size="3" noshade></td></tr>
271   </table>
272
273   <script type="text/javascript">
274    <!--
275        Calendar.setup({ inputField : "transdatefrom",  ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger1" });
276        Calendar.setup({ inputField : "transdateto",    ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" });
277        //-->
278   </script>
279
280   <p>
281    <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">
282    <input class="submit" type="submit" name="action" value="[% 'TOP100' | $T8 %]">
283   </p>
284  </form>
285
286 </body>
287 </html>