|
[%- USE T8 %]
|
|
[%- USE HTML %]
|
|
[%- USE LxERP %]
|
|
[%- USE L %]
|
|
<h1>[% title %]</h1>
|
|
|
|
<form method="post" action="ic.pl">
|
|
|
|
<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) %]">
|
|
|
|
<table width="100%">
|
|
<tr valign="top">
|
|
<td>
|
|
<table>
|
|
<tr>
|
|
<th align="right" nowrap>[% 'Part Number' | $T8 %]</th>
|
|
<td><input name="partnumber" size="20"></td>
|
|
<th align="right" nowrap>[% 'EAN' | $T8 %]</th>
|
|
<td><input name="ean" size="20"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="right" nowrap>[% 'Part Description' | $T8 %]</th>
|
|
<td colspan="3"><input name="description" size="40" class="initial_focus"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="right" nowrap>[% 'Partsgroup' | $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 = MYCONFIG.vclimit,
|
|
allow_textbox = 1
|
|
-%]
|
|
</td>
|
|
<th align="right" nowrap>[% 'Serial Number' | $T8 %]</th> <td><input name="serialnumber" size="20"></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>
|
|
</tr>
|
|
[%- END %]
|
|
|
|
<tr>
|
|
<th align="right" nowrap>[% 'Drawing' | $T8 %]</th>
|
|
<td><input name="drawing" size="20"></td>
|
|
<th align="right" nowrap>[% 'Microfiche' | $T8 %]</th>
|
|
<td><input name="microfiche" size="20"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="right" nowrap>[% 'Shop article' | $T8 %]</th>
|
|
<td>[% L.yes_no_tag('shop', shop, default='', with_empty=1, empty_title='---') %]</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="right">[% 'Insert Date' | $T8 %]</th>
|
|
<td>
|
|
[% 'From' | $T8 %][% 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')) %]
|
|
</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>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td></td>
|
|
<td colspan="3">
|
|
<table>
|
|
<tr>
|
|
<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>
|
|
<td colspan="2"><hr size="1" noshade></td>
|
|
</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>
|
|
<td colspan="2"><hr size="1" noshade></td>
|
|
</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>
|
|
</td>
|
|
|
|
<td width="5%"> </td>
|
|
|
|
<td>
|
|
<table>
|
|
<tr>
|
|
<th>[% 'From' | $T8 %]</th>
|
|
<td nowrap>[% L.date_tag('transdatefrom') %]</td>
|
|
<th>[% 'To (time)' | $T8 %]</th>
|
|
<td nowrap>[% L.date_tag('transdateto') %]</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td></td>
|
|
<td colspan="3">
|
|
<hr size="1" noshade>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th align="right" nowrap>[% 'Include in Report' | $T8 %]</th> <td colspan="3">
|
|
<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_listprice', label=LxERP.t8('List Price'), value='Y') %]</td>
|
|
<td>[%- L.checkbox_tag('l_sellprice', label=LxERP.t8('Sell Price'), value='Y', checked=1) %]</td>
|
|
<td>[%- L.checkbox_tag('l_lastcost', label=LxERP.t8('Last Cost'), value='Y', checked=1) %]</td>
|
|
<td>[%- L.checkbox_tag('l_linetotal', label=LxERP.t8('Line Total'), value='Y', checked=1) %]</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>[%- L.checkbox_tag('l_priceupdate', label=LxERP.t8('Updated'), 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=(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('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_ean', label=LxERP.t8('EAN'), 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_name', label=LxERP.t8('Name in Selected Records'), value='Y') %]</td>
|
|
<td>[%- L.checkbox_tag('l_shop', label=LxERP.t8('Shop article'), value='Y') %]</td>
|
|
<td>[%- L.checkbox_tag('l_insertdate', label=LxERP.t8('Insert Date'), value='Y') %]</td>
|
|
</tr>
|
|
|
|
[% CUSTOM_VARIABLES_INCLUSION_CODE %]
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</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>
|