<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>
<td><input name="model_[% loop.count %]" size="30" value="[% HTML.escape(row.model) %]"></td>
- <td><input type="hidden" name="old_lastcost_[% loop.count %]" value="[% LxERP.format_amount(row.lastcost, -2) %]">
- <input name="lastcost_[% loop.count %]" size="10" value="[% LxERP.format_amount(row.lastcost, -2) %]"></td>
+ <td><input type="hidden" name="old_lastcost_[% loop.count %]" value="[% LxERP.format_amount(row.lastcost, 2) %]">
+ <input name="lastcost_[% loop.count %]" size="10" value="[% LxERP.format_amount(row.lastcost, 2) %]"></td>
<td><input name="lastupdate_[% loop.count %]" size="10" value="[% HTML.escape(row.lastupdate) %]"></td>
<td><input name="sortorder_[% loop.count %]" size="3" value="[% HTML.escape(row.sortorder) %]"></td>
</tr>
[%- FOREACH row = PRICES %]
<tr>
<td width=50%><input type=hidden name="pricegroup_[% loop.count %]" size=30 value="[% HTML.escape(row.pricegroup) %]">[% HTML.escape(row.pricegroup) %]</td>
- <td width=50%><input name="price_[% loop.count %]" size=11 value="[% LxERP.format_amount(row.price, -2) %]"></td>
+ <td width=50%><input name="price_[% loop.count %]" size=11 value="[% LxERP.format_amount(row.price, 2) %]"></td>
<input type="hidden" name="pricegroup_id_[% loop.count %]" value="[% HTML.escape(row.pricegroup_id) %]">
</tr>
[%- END %]