# undo amount formatting
map { $form->{$_} = $form->parse_amount($myconfig, $form->{$_}) }
- qw(rop weight listprice sellprice gv lastcost stock);
+ qw(rop weight listprice sellprice gv lastcost);
my $makemodel = (($form->{make_1}) || ($form->{model_1})) ? 1 : 0;
<th align="right" nowrap>Auf Lager</th>
<th align="left" nowrap class="plus[% IF onhand > 0 %]1[% ELSE %]0[% END %]"> [% LxERP.format_amount(onhand) %]</th>
</tr>
- [%- IF is_assembly %]
- <tr>
- <th align="right" nowrap>Einlagern</th>
- <td><input name="stock" size="10" value="[% LxERP.format_amount(stock) %]"></td>
- </tr>
- [%- END %]
<tr>
<th align="right" nowrap="true">Mindestlagerbestand</th>
<td><input name="rop" size="10" value="[% LxERP.format_amount(rop) %]"></td>
<th align="right" nowrap><translate>On Hand</translate></th>
<th align="left" nowrap class="plus[% IF onhand > 0 %]1[% ELSE %]0[% END %]"> [% LxERP.format_amount(onhand) %]</th>
</tr>
- [%- IF is_assembly %]
- <tr>
- <th align="right" nowrap><translate>Stock</translate></th>
- <td><input name="stock" size="10" value="[% LxERP.format_amount(stock) %]"></td>
- </tr>
- [%- END %]
<tr>
<th align="right" nowrap="true"><translate>ROP</translate></th>
<td><input name="rop" size="10" value="[% LxERP.format_amount(rop) %]"></td>