[%- USE T8 %]
[%- USE HTML %]
[%- USE LxERP %]
-<body onLoad="fokus()">
-
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/parts_language_selection.js"></script>
- <p><div class="listtop">[% title %]</div></p>
+ <p><div class="listtop">[% title %] [% HTML.escape(partnumber) %] [% HTML.escape(description) %]</div></p>
<form method="post" name="ic" action="[% script %]">
<input name="original_partnumber" type="hidden" value="[% HTML.escape(original_partnumber) %]">
<ul id="maintab" class="shadetabs">
- <li class="selected"><a href="#" rel="master_data">[% 'Master Data' | $T8 %]</a></li>
+ <li class="selected"><a href="#" rel="master_data">[% 'Basic Data' | $T8 %]</a></li>
+ [%- IF id %]
+ <li><a href="#" rel="sales_price_information">[% 'Price information' | $T8 %]</a></li>
+ [%- END %]
[%- IF CUSTOM_VARIABLES.size %]
<li><a href="#" rel="custom_variables">[% 'Custom Variables' | $T8 %]</a></li>
[%- END %]
<table width="100%">
<tr valign="top">
<td>
+[%- IF image && conf_parts_show_image %]
+ <a href="[% image | html %]" target="_blank"><img style="[% conf_parts_image_css %]" src="[% image | html %]"/></a>
+[%- END %]
+
<table>
<tr>
<td colspan="2">
<table>
<tr>
<th align="right">[% 'Part Number' | $T8 %]</th>
- <td><input name="partnumber" value="[% HTML.escape(partnumber) %]" size="40"></td>
+ <td><input id='partnumber' name="partnumber" value="[% HTML.escape(partnumber) %]" size="40"></td>
</tr>
<tr>
<th align="right">[% 'Part Description' | $T8 %]</th>
<td>
<table>
<tr>
- <th align="left">[% 'Notes' | $T8 %]</th>
+ <th align="left">[% 'Part Notes' | $T8 %]</th>
[%- UNLESS is_service %]
<th align="left">[% 'Formula' | $T8 %]</th>
[%- END %]
<tr>
<th align="right" nowrap="true">[% 'List Price' | $T8 %]</th>
- <td><input name="listprice" size="11" value="[% LxERP.format_amount(listprice, -2) %]"></td>
+ <td><input name="listprice" size="11" value="[% LxERP.format_amount(listprice, 2) %]"></td>
</tr>
<tr>
<th align="right" nowrap="true">[% 'Sell Price' | $T8 %]</th>
- <td><input name="sellprice" size="11" value="[% LxERP.format_amount(sellprice, -2) %]"></td>
+ <td><input name="sellprice" size="11" value="[% LxERP.format_amount(sellprice, 2) %]"></td>
</tr>
[%- UNLESS is_assembly %]
<tr>
<th align="right" nowrap="true">[% 'Last Cost' | $T8 %]</th>
- <td><input name="lastcost" size="11" value="[% LxERP.format_amount(lastcost, -2) %]"></td>
+ <td><input name="lastcost" size="11" value="[% LxERP.format_amount(lastcost, 2) %]"></td>
</tr>
[%- END %]
</td>
</tr>
[%- END %]
- [%- UNLESS is_service %]
<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><label for="not_discountable">[% 'Not Discountable' | $T8 %]</label></th>
<td><input class="checkbox" type="checkbox" name="not_discountable" id="not_discountable" value="1" [% IF not_discountable %]checked[% END %]></td>
</tr>
- [%- END %]
[%- IF id %]
<tr>
<th align="right" nowrap="true"><label for="obsolete">[% 'Obsolete' | $T8 %]</label></th>
</tr>
[%- END %]
<tr>
- <th align="right" nowrap><label for="shop">[% 'Has serial number' | $T8 %]</label></th>
+ <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>
<tr>