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