[%- USE T8 %]
[%- USE HTML %]
[%- USE LxERP %]
-<body>
+[%- USE L %]
<form method="post" action="ic.pl">
<tr>
<th align="right" nowrap>[% 'Group' | $T8 %]</th>
- <td><input name="partsgroup" size="20"></td>
+ <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>
</tr>
<input name="itemstatus" id="itemstatus_active" class="radio" type="radio" value="active" checked>
<label for="itemstatus_active">[% 'Active' | $T8 %]</label>
<input name="itemstatus" id="itemstatus_onhand" class="radio" type="radio" value="onhand">
+ [%- UNLESS is_service %]
<label for="itemstatus_onhand">[% 'On Hand' | $T8 %]</label>
<input name="itemstatus" id="itemstatus_short" class="radio" type="radio" value="short">
<label for="itemstatus_short">[% 'Short' | $T8 %]</label>
<input name="itemstatus" id="itemstatus_obsolete" class="radio" type="radio" value="obsolete">
+ [%- END %]
<label for="itemstatus_obsolete">[% 'Obsolete' | $T8 %]</label>
<input name="itemstatus" id="itemstatus_orphaned" class="radio" type="radio" value="orphaned">
<label for="itemstatus_orphaned">[% 'Orphaned' | $T8 %]</label>
+ <input name="itemstatus" id="itemstatus_all" class="radio" type="radio" value="">
+ <label for="itemstatus_all">[% 'All' | $T8 %]</label>
</td>
</tr>
<table>
<tr>
<th>[% 'From' | $T8 %]</th>
- <td><input name="transdatefrom" id="transdatefrom" size="11" title="[% HTML.escape(dateformat) %]"></td>
- <td><input type="button" name="transdatefrom" id="trigger1" value="[% 'button' | $T8 %]"></td>
+ <td>[% L.date_tag('transdatefrom') %]</td>
<th>[% 'To (time)' | $T8 %]</th>
- <td><input name="transdateto" id="transdateto" size="11" title="[% HTML.escape(dateformat) %]"></td>
- <td><input type="button" name="transdateto" name="transdateto" id="trigger2" value="[% 'button' | $T8 %]"></td>
+ <td>[% L.date_tag('transdateto') %]</td>
</tr>
</table>
</td>
<input name="l_description" id="l_description" class="checkbox" type="checkbox" value="Y" checked>
<label for="l_description">[% 'Part Description' | $T8 %]</label>
</td>
+ [%- UNLESS is_service %]
<td>
<input name="l_serialnumber" id="l_serialnumber" class="checkbox" type="checkbox" value="Y">
<label for="l_serialnumber">[% 'Serial Number' | $T8 %]</label>
</td>
+ [%- END %]
<td>
<input name="l_unit" id="l_unit" class="checkbox" type="checkbox" value="Y" checked>
<label for="l_unit">[% 'Unit of measure' | $T8 %]</label>
<input name="l_deliverydate" id="l_deliverydate" class="checkbox" type="checkbox" value="Y">
<label for="l_deliverydate">[% 'deliverydate' | $T8 %]</label>
</td>
+ [%- UNLESS is_service %]
<td>
<input name="l_rop" id="l_rop" class="checkbox" type="checkbox" value="Y">
<label for="l_rop">[% 'ROP' | $T8 %]</label>
<input name="l_weight" id="l_weight" class="checkbox" type="checkbox" value="Y">
<label for="l_weight">[% 'Weight' | $T8 %]</label>
</td>
+ [%- END %]
</tr>
<tr>
<td>
- <input name="l_image" id="l_image" class="checkbox" type="checkbox" value="Y">
+ <input name="l_image" id="l_image" class="checkbox"[%- IF conf_parts_listing_images %] checked="checked"[% END %] type="checkbox" value="Y">
<label for="l_image">[% 'Image' | $T8 %]</label>
</td>
<td>
</td>
<td>
<input name="l_soldtotal" id="l_soldtotal" class="checkbox" type="checkbox" value="Y">
- <label for="l_soldtotal">[% 'soldtotal' | $T8 %]</label>
+ <label for="l_soldtotal">[% 'Qty in Selected Records' | $T8 %]</label>
</td>
<td>
<input name="l_ean" id="l_ean" class="checkbox" type="checkbox" value="Y">
</td>
</tr>
+ <tr>
+ [%- UNLESS is_service %]
+ <td>
+ <input name="l_onhand" id="l_onhand" class="checkbox" type="checkbox" value="Y">
+ <label for="l_onhand">[% 'Stocked Qty' | $T8 %]</label>
+ </td>
+ [%- END %]
+ <td>
+ <input name="l_projectnumber" id="l_projectnumber" class="checkbox" type="checkbox" value="Y">
+ <label for="l_projectnumber">[% 'Project Number' | $T8 %]</label>
+ </td>
+ <td>
+ <input name="l_projectdescription" id="l_projectdescription" class="checkbox" type="checkbox" value="Y">
+ <label for="l_projectdescription">[% 'Project Description' | $T8 %]</label>
+ </td>
+ <td>
+ <input name="l_pricegroups" id="l_pricegroups" class="checkbox" type="checkbox" value="Y" checked>
+ <label for="l_pricegroups">[% 'Pricegroups' | $T8 %]</label>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <input name="l_notes" id="l_notes" class="checkbox" type="checkbox" value="Y">
+ <label for="l_notes">[% 'Notes' | $T8 %]</label>
+ </td>
+ </tr>
+
[% CUSTOM_VARIABLES_INCLUSION_CODE %]
</table>
</td>
<tr><td colspan="4"><hr size="3" noshade></td></tr>
</table>
- <script type="text/javascript">
- <!--
- Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger1" });
- Calendar.setup({ inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" });
- //-->
- </script>
-
<p>
<input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">
<input class="submit" type="submit" name="action" value="[% 'TOP100' | $T8 %]">
</p>
</form>
-
-</body>
-</html>