[%- USE HTML %]
[%- USE LxERP %]
[%- USE L %]
+[%- USE P %]
+[% SET style="width: 250px" %]
+[%- INCLUDE 'common/flash.html' %]
+<h1>[% title %]</h1>
- <form method="post" action="ic.pl">
+ <form method="post" action="ic.pl" id="form">
<input type="hidden" name="searchitems" value="[% HTML.escape(searchitems) %]">
<input type="hidden" name="title" value="[% HTML.escape(title) %]">
<input type="hidden" name="revers" value="[% HTML.escape(revers) %]">
<input type="hidden" name="lastsort" value="[% HTML.escape(lastsort) %]">
- <input type="hidden" name="nextsub" value="generate_report">
<input type="hidden" name="sort" value="description">
<input type="hidden" name="ndxs_counter" value="[% HTML.escape(ndxs_counter) %]">
- <div class="listtop">[% title %]</div>
-
<table width="100%">
- <tr height="5"></tr>
<tr valign="top">
<td>
<table>
+ <tr>
+ <th align="right" nowrap>[% 'Part Type' | $T8 %]</th>
+ <td colspan="4" ><table><tr>
+ <td>
+ <input name="l_part" id="l_part" class="checkbox" type="checkbox" value="Y" checked>
+ <label for="l_part">[% 'Part' | $T8 %]</label>
+ </td>
+ <td>
+ <input name="l_service" id="l_service" class="checkbox" type="checkbox" value="Y" checked>
+ <label for="l_service">[% 'Service' | $T8 %]</label>
+ </td>
+ <td>
+ <input name="l_assembly" id="l_assembly" class="checkbox" type="checkbox" value="Y" checked>
+ <label for="l_assembly">[% 'Assembly' | $T8 %]</label>
+ </td>
+ [%- IF INSTANCE_CONF.get_feature_experimental_assortment %]
+ <td>
+ <input name="l_assortment" id="l_assortment" class="checkbox" type="checkbox" value="Y" checked>
+ <label for="l_assortment">[% 'Assortment' | $T8 %]</label>
+ </td>
+ [%- END %]
+ </tr></table></td>
+ </tr>
<tr>
<th align="right" nowrap>[% 'Part Number' | $T8 %]</th>
- <td><input name="partnumber" size="20"></td>
+ <td>[% L.input_tag("partnumber", "", style=style) %]</td>
<th align="right" nowrap>[% 'EAN' | $T8 %]</th>
- <td><input name="ean" size="20"></td>
+ <td>[% L.input_tag("ean", "", style=style) %]</td>
+ </tr>
+ <tr>
+ <th align="right" nowrap>[% 'Part Classification' | $T8 %]:</th>
+ <td>[% P.part.select_classification('classification_id', style=style) %]</td>
</tr>
-
<tr>
<th align="right" nowrap>[% 'Part Description' | $T8 %]</th>
- <td colspan="3"><input name="description" size="40"></td>
+ <td colspan="3">[% L.input_tag("description", "", style=style, class="initial_focus") %]</td>
</tr>
-
<tr>
- <th align="right" nowrap>[% 'Group' | $T8 %]</th>
- <td>
- [%- INCLUDE generic/multibox.html
- name = 'partsgroup',
- select_name = 'partsgroup_id',
- DATA = ALL_PARTSGROUPS,
- show_empty = 1,
- id_key = 'id',
- label_key = 'partsgroup',
- style = 'width:250px',
- limit = limit,
- allow_textbox = 1
- -%]
- </td>
- <th align="right" nowrap>[% 'Serial Number' | $T8 %]</th> <td><input name="serialnumber" size="20"></td>
+ <th align="right" nowrap>[% 'Partsgroup' | $T8 %]</th>
+ <td>[% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, with_empty=1, default=partsgroup, title_key="partsgroup", style=style) %]</td>
+ <th align="right" nowrap>[% 'Serial Number' | $T8 %]</th>
+ <td>[% L.input_tag("serialnumber", "", style=style) %]</td>
</tr>
- [%- UNLESS is_service %]
<tr>
- <th align="right" nowrap>[% 'Make' | $T8 %]</th> <td><input name="make" size="20"></td>
- <th align="right" nowrap>[% 'Model' | $T8 %]</th> <td><input name="model" size="20"></td>
+ <th align="right" nowrap>[% 'Make' | $T8 %]</th>
+ <td>[% L.input_tag("make", "", style=style) %]</td>
+ <th align="right" nowrap>[% 'Model' | $T8 %]</th>
+ <td>[% L.input_tag("model", "", style=style) %]</td>
</tr>
- [%- END %]
<tr>
<th align="right" nowrap>[% 'Drawing' | $T8 %]</th>
- <td><input name="drawing" size="20"></td>
+ <td>[% L.input_tag("drawing", "", style=style) %]</td>
<th align="right" nowrap>[% 'Microfiche' | $T8 %]</th>
- <td><input name="microfiche" size="20"></td>
+ <td>[% L.input_tag("microfiche", "", style=style) %]</td>
+ </tr>
+
+ <tr>
+ <th align="right" nowrap>[% 'Shop article' | $T8 %]</th>
+ <td>[% L.yes_no_tag('shop', shop, default='', with_empty=1, empty_title='---', style=style) %]</td>
+ </tr>
+
+ <tr>
+ <th align="right">[% 'Insert Date' | $T8 %]</th>
+ <td>
+ [% L.date_tag('insertdatefrom') %]
+ [% 'Bis' | $T8 %]
+ [% L.date_tag('insertdateto') %]
+ </td>
</tr>
[% CUSTOM_VARIABLES_FILTER_CODE %]
- [%- IF is_assembly %]
<tr>
<td></td>
<td colspan="3">
[% L.radio_button_tag('bom', id='bom_0', value=0, checked=1, label=LxERP.t8('Top Level Designation only')) %]
[% L.radio_button_tag('bom', id='bom_1', value=1, label=LxERP.t8('Individual Items')) %]
+ [% L.radio_button_tag('bom', id='bom_2', value=2, label=LxERP.t8('Search for Items used in Assemblies')) %]
</td>
</tr>
- [%- END %]
<tr>
<td></td>
<td colspan="3">
[%- L.radio_button_tag('itemstatus', value='active', id='itemstatus_active', label=LxERP.t8('Active'), checked=1) %]
- [%- UNLESS is_service %]
[%- L.radio_button_tag('itemstatus', value='onhand', id='itemstatus_onhand', label=LxERP.t8('On Hand')) %]
[%- L.radio_button_tag('itemstatus', value='short', id='itemstatus_short', label=LxERP.t8('Short')) %]
[%- L.radio_button_tag('itemstatus', value='obsolete', id='itemstatus_obsolete', label=LxERP.t8('Obsolete')) %]
- [%- END %]
[%- L.radio_button_tag('itemstatus', value='orphaned', id='itemstatus_orphaned', label=LxERP.t8('Orphaned')) %]
[%- L.radio_button_tag('itemstatus', value='', id='itemstatus_all', label=LxERP.t8('All')) %]
</td>
<td>
<table>
<tr>
- [%- UNLESS is_assembly %]
<td>[%- L.checkbox_tag('bought', label=LxERP.t8('Bought')) %]</td>
- [%- END %]
<td>[%- L.checkbox_tag('sold', label=LxERP.t8('Sold')) %]</td>
</tr>
</tr>
<tr>
- [%- UNLESS is_assembly %]
<td>[%- L.checkbox_tag('onorder', label=LxERP.t8('On Order')) %]</td>
- [%- END %]
<td>[%- L.checkbox_tag('ordered', label=LxERP.t8('Ordered')) %]</td>
</tr>
</tr>
<tr>
- [%- UNLESS is_assembly %]
<td>[%- L.checkbox_tag('rfq', label=LxERP.t8('RFQ')) %]</td>
- [%- END %]
<td>[%- L.checkbox_tag('quoted', label=LxERP.t8('Quoted')) %]</td>
</tr>
</table>
<tr>
<td>[%- L.checkbox_tag('l_partnumber', label=LxERP.t8('Part Number'), checked=1, value='Y') %]</td>
<td>[%- L.checkbox_tag('l_description', label=LxERP.t8('Part Description'), checked=1, value='Y') %]</td>
- [%- UNLESS is_service %]
<td>[%- L.checkbox_tag('l_serialnumber', label=LxERP.t8('Serial Number'), value='Y') %]</td>
- [%- END %]
<td>[%- L.checkbox_tag('l_unit', label=LxERP.t8('Unit of measure'), value='Y', checked=1) %]</td>
</tr>
<tr>
<td>[%- L.checkbox_tag('l_priceupdate', label=LxERP.t8('Updated'), value='Y') %]</td>
- <!-- auskommentiert fuer bug nummer 852 - ggf. fuer einen standardlagerplatz verwertet jb 18.5.09-->
- <!-- <td>[%#- L.checkbox_tag('l_bin', label=LxERP.t8('Bin'), value='Y') %]</td> -->
<td>[%- L.checkbox_tag('l_deliverydate', label=LxERP.t8('Delivery Date'), value='Y') %]</td>
- [%- UNLESS is_service %]
<td>[%- L.checkbox_tag('l_rop', label=LxERP.t8('ROP'), value='Y') %]</td>
<td>[%- L.checkbox_tag('l_weight', label=LxERP.t8('Weight'), value='Y') %]</td>
- [%- END %]
</tr>
<tr>
- <td>[%- L.checkbox_tag('l_image', label=LxERP.t8('Image'), value='Y', checked=(conf_parts_listing_images ? 1 : 0)) %]</td>
+ <td>[%- L.checkbox_tag('l_image', label=LxERP.t8('Image'), value='Y', checked=(INSTANCE_CONF.get_parts_listing_image ? 1 : 0)) %]</td>
<td>[%- L.checkbox_tag('l_drawing', label=LxERP.t8('Drawing'), value='Y') %]</td>
<td>[%- L.checkbox_tag('l_microfiche', label=LxERP.t8('Microfiche'), value='Y') %]</td>
- <td>[%- L.checkbox_tag('l_partsgroup', label=LxERP.t8('Group'), value='Y') %]</td>
+ <td>[%- L.checkbox_tag('l_partsgroup', label=LxERP.t8('Partsgroup'), value='Y') %]</td>
</td>
</tr>
<tr>
- <td>[%- L.checkbox_tag('l_transdate', label=LxERP.t8('Transdate'), value='Y') %]</td>
- <td>[%- L.checkbox_tag('l_subtotal', label=LxERP.t8('Subtotal'), value='Y') %]</td>
- <td>[%- L.checkbox_tag('l_soldtotal', label=LxERP.t8('Qty in Selected Records'), value='Y') %]</td>
+ <td>[%- L.checkbox_tag('l_insertdate', label=LxERP.t8('Insert Date'), value='Y') %]</td>
+ <td>[%- L.checkbox_tag('l_notes', label=LxERP.t8('Notes'), value='Y') %]</td>
<td>[%- L.checkbox_tag('l_ean', label=LxERP.t8('EAN'), value='Y') %]</td>
+ <td>[%- L.checkbox_tag('l_shop', label=LxERP.t8('Shop article'), value='Y') %]</td>
</tr>
<tr>
- [%- UNLESS is_service %]
<td>[%- L.checkbox_tag('l_onhand', label=LxERP.t8('Stocked Qty'), value='Y') %]</td>
- [%- END %]
<td>[%- L.checkbox_tag('l_projectnumber', label=LxERP.t8('Project Number'), value='Y') %]</td>
<td>[%- L.checkbox_tag('l_projectdescription', label=LxERP.t8('Project Description'), value='Y') %]</td>
<td>[%- L.checkbox_tag('l_pricegroups', label=LxERP.t8('Pricegroups'), value='Y', checked=1) %]</td>
</tr>
<tr>
- <td>[%- L.checkbox_tag('l_notes', label=LxERP.t8('Notes'), value='Y') %]</td>
+ <td>[%- L.checkbox_tag('l_subtotal', label=LxERP.t8('Subtotal'), value='Y') %]</td>
+ <td>[%- L.checkbox_tag('l_transdate', label=LxERP.t8('Transdate Record'), value='Y') %]</td>
+ <td>[%- L.checkbox_tag('l_name', label=LxERP.t8('Name in Selected Records'), value='Y') %]</td>
+ <td>[%- L.checkbox_tag('l_soldtotal', label=LxERP.t8('Qty in Selected Records'), value='Y') %]</td>
+ </tr>
+ <tr>
+ <td>[%- L.checkbox_tag('l_warehouse', label=LxERP.t8('Default Warehouse'), value='Y') %]</td>
+ <td>[%- L.checkbox_tag('l_bin', label=LxERP.t8('Default Bin'), value='Y') %]</td>
+ <td>[%- L.checkbox_tag('l_make', label=LxERP.t8('Make'), value='Y') %]</td>
+ <td>[%- L.checkbox_tag('l_model', label=LxERP.t8('Model'), value='Y') %]</td>
</tr>
[% CUSTOM_VARIABLES_INCLUSION_CODE %]
</tr>
<tr><td colspan="4"><hr size="3" noshade></td></tr>
</table>
-
- <p>
- <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">
- <input class="submit" type="submit" name="action" value="[% 'TOP100' | $T8 %]">
- </p>
</form>