<table>
<tr>
<th align="left">[% 'Part Notes' | $T8 %]</th>
- [%- UNLESS is_service %]
<th align="left">[% 'Formula' | $T8 %]</th>
- [%- END %]
</tr>
<tr>
<td>
<textarea name="notes" rows="[% HTML.escape(notes_rows) %]" cols="45" wrap="soft">[% HTML.escape(notes) %]</textarea>
</td>
- [%- UNLESS is_service %]
<td>
<ilayer>
<layer onmouseover="this.T_STICKY=true;this.T_STATIC=true;return escape('[% 'The formula needs the following syntax:<br>For regular article:<br>Variablename= Variable Unit;<br>Variablename2= Variable2 Unit2;<br>...<br>###<br>Variable + ( Variable2 / Variable )<br><b>Please be beware of the spaces in the formula</b><br>' | $T8 %]')">
<textarea name="formel" rows="[% HTML.escape(notes_rows) %]" cols="30" wrap="soft">[% HTML.escape(formel) %]</textarea></layer></ilayer>
</td>
- [%- END %]
</tr>
</table>
</td>
[% HTML.escape(defaults.weightunit) %]
</td>
</tr>
- [%- END %]
<tr>
<th align="right" nowrap>[% 'On Hand' | $T8 %]</th>
<th align="left" nowrap class="plus[% IF onhand > 0 %]1[% ELSE %]0[% END %]"> [% LxERP.format_amount(onhand) %]</th>
<th align="right" nowrap="true">[% 'Bin' | $T8 %]</th>
<td><input name="bin" size="10" value="[% HTML.escape(bin) %]"></td>
</tr>
+ [%- END %]
<tr>
<th align="right" nowrap="true">[% 'Verrechnungseinheit' | $T8 %]</th>
<td><input name="ve" size="10" value="[% HTML.escape(ve) %]"></td>
<td><input name="obsolete" id="obsolete" type="checkbox" class="checkbox" value="1" [% IF obsolete %]checked[% END %]></td>
</tr>
[%- END %]
+ [%- UNLESS is_service %]
<tr>
<th align="right" nowrap><label for="has_sernumber">[% 'Has serial number' | $T8 %]</label></th>
<td><input class="checkbox" type="checkbox" name="has_sernumber" id="has_sernumber" value="1" [% IF has_sernumber %]checked[% END %]></td>
</tr>
+ [%- END %]
<tr>
<th align="right" nowrap><label for="shop">[% 'Shopartikel' | $T8 %]</label></th>
<td><input class="checkbox" type="checkbox" name="shop" id="shop" value="1" [% IF shop %]checked[% END %]></td>
</tr>
- [% UNLESS is_service %]
<tr>
<td>
<table>
</table>
</td>
</tr>
- [%- END %]
<script type="text/javascript">
<!-- Calendar.setup({ inputField : "priceupdate", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger1" }); //-->
<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="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>
</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>
<input class="submit" type="submit" name="action" value="[% 'TOP100' | $T8 %]">
</p>
</form>
-