[%- USE HTML %]
[%- USE LxERP %]
[%- USE L %]
+[%- USE P %]
<h1>[% title %]</h1>
<form method="post" action="ic.pl">
<tr valign="top">
<td>
<table>
+ <tr>
+ <th align="right" nowrap>[% 'PType' | $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>
+ <td>
+ <input name="l_assortment" id="l_assortment" class="checkbox" type="checkbox" value="Y" checked>
+ <label for="l_assortment">[% 'Assortment' | $T8 %]</label>
+ </td>
+ </tr></table></td>
+ </tr>
<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>[% 'Parts Classification' | $T8 %]:</th>
+ <td>[% P.select_classification('classification_id') %]</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>[% 'Group' | $T8 %]</th>
<td>
id_key = 'id',
label_key = 'partsgroup',
style = 'width:250px',
- limit = limit,
+ limit = MYCONFIG.vclimit,
allow_textbox = 1
-%]
</td>
</tr>
<tr>
- <th align="right" nowrap>[% 'Shopartikel' | $T8 %]</th>
+ <th align="right" nowrap>[% 'Shop article' | $T8 %]</th>
<td>[% L.yes_no_tag('shop', shop, default='', with_empty=1, empty_title='---') %]</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('Shopartikel'), 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>