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