Revision 78425410
Von Niclas Zimmermann vor etwa 12 Jahren hinzugefügt
templates/webpages/ic/form_header.html | ||
---|---|---|
169 | 169 |
|
170 | 170 |
<tr> |
171 | 171 |
<th align="right" nowrap="true">[% 'List Price' | $T8 %]</th> |
172 |
<td><input name="listprice" size="11" value="[% LxERP.format_amount(listprice, -2) %]"></td>
|
|
172 |
<td><input name="listprice" size="11" value="[% LxERP.format_amount(listprice, 2) %]"></td> |
|
173 | 173 |
</tr> |
174 | 174 |
|
175 | 175 |
<tr> |
176 | 176 |
<th align="right" nowrap="true">[% 'Sell Price' | $T8 %]</th> |
177 |
<td><input name="sellprice" size="11" value="[% LxERP.format_amount(sellprice, -2) %]"></td>
|
|
177 |
<td><input name="sellprice" size="11" value="[% LxERP.format_amount(sellprice, 2) %]"></td> |
|
178 | 178 |
</tr> |
179 | 179 |
|
180 | 180 |
[%- UNLESS is_assembly %] |
181 | 181 |
<tr> |
182 | 182 |
<th align="right" nowrap="true">[% 'Last Cost' | $T8 %]</th> |
183 |
<td><input name="lastcost" size="11" value="[% LxERP.format_amount(lastcost, -2) %]"></td>
|
|
183 |
<td><input name="lastcost" size="11" value="[% LxERP.format_amount(lastcost, 2) %]"></td> |
|
184 | 184 |
</tr> |
185 | 185 |
[%- END %] |
186 | 186 |
|
templates/webpages/ic/makemodel.html | ||
---|---|---|
24 | 24 |
-%] |
25 | 25 |
</td> |
26 | 26 |
<td><input name="model_[% loop.count %]" size="30" value="[% HTML.escape(row.model) %]"></td> |
27 |
<td><input type="hidden" name="old_lastcost_[% loop.count %]" value="[% LxERP.format_amount(row.lastcost, -2) %]">
|
|
28 |
<input name="lastcost_[% loop.count %]" size="10" value="[% LxERP.format_amount(row.lastcost, -2) %]"></td>
|
|
27 |
<td><input type="hidden" name="old_lastcost_[% loop.count %]" value="[% LxERP.format_amount(row.lastcost, 2) %]"> |
|
28 |
<input name="lastcost_[% loop.count %]" size="10" value="[% LxERP.format_amount(row.lastcost, 2) %]"></td> |
|
29 | 29 |
<td><input name="lastupdate_[% loop.count %]" size="10" value="[% HTML.escape(row.lastupdate) %]"></td> |
30 | 30 |
<td><input name="sortorder_[% loop.count %]" size="3" value="[% HTML.escape(row.sortorder) %]"></td> |
31 | 31 |
</tr> |
templates/webpages/ic/price_row.html | ||
---|---|---|
12 | 12 |
[%- FOREACH row = PRICES %] |
13 | 13 |
<tr> |
14 | 14 |
<td width=50%><input type=hidden name="pricegroup_[% loop.count %]" size=30 value="[% HTML.escape(row.pricegroup) %]">[% HTML.escape(row.pricegroup) %]</td> |
15 |
<td width=50%><input name="price_[% loop.count %]" size=11 value="[% LxERP.format_amount(row.price, -2) %]"></td>
|
|
15 |
<td width=50%><input name="price_[% loop.count %]" size=11 value="[% LxERP.format_amount(row.price, 2) %]"></td> |
|
16 | 16 |
<input type="hidden" name="pricegroup_id_[% loop.count %]" value="[% HTML.escape(row.pricegroup_id) %]"> |
17 | 17 |
</tr> |
18 | 18 |
[%- END %] |
Auch abrufbar als: Unified diff
Falsche Rundungen
Ähnliche Fehler wie im Bug 2019 tauchten auch in der Detailansicht
einer Ware auf. Hier wurden EK-Preis und EK-Preis der Lieferanten
bei großen Zahlen mit Nachkommastellen nicht richtig angezeigt.