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