Waren:
authorSven Schöling <s.schoeling@linet-services.de>
Wed, 20 May 2009 09:57:19 +0000 (09:57 +0000)
committerSven Schöling <s.schoeling@linet-services.de>
Wed, 20 May 2009 09:57:19 +0000 (09:57 +0000)
Preise auf mindestens 2 Stellen runden.

templates/webpages/ic/form_header_de.html
templates/webpages/ic/form_header_master.html

index c7e3146..5b4920a 100644 (file)
 
           <tr>
            <th align="right" nowrap="true">Listenpreis</th>
-           <td><input name="listprice" size="11" value="[% LxERP.format_amount(listprice) %]"></td>
+           <td><input name="listprice" size="11" value="[% LxERP.format_amount(listprice, -2) %]"></td>
           </tr>
 
           <tr>
            <th align="right" nowrap="true">Verkaufspreis</th>
-           <td><input name="sellprice" size="11" value="[% LxERP.format_amount(sellprice) %]"></td>
+           <td><input name="sellprice" size="11" value="[% LxERP.format_amount(sellprice, -2) %]"></td>
           </tr>
 
           [%- UNLESS is_assembly %]
           <tr>
            <th align="right" nowrap="true">Einkaufspreis</th>
-           <td><input name="lastcost" size="11" value="[% LxERP.format_amount(lastcost) %]"></td>
+           <td><input name="lastcost" size="11" value="[% LxERP.format_amount(lastcost, -2) %]"></td>
           </tr>
           [%- END %]
 
index 2d2f947..3d49932 100644 (file)
 
           <tr>
            <th align="right" nowrap="true"><translate>List Price</translate></th>
-           <td><input name="listprice" size="11" value="[% LxERP.format_amount(listprice) %]"></td>
+           <td><input name="listprice" size="11" value="[% LxERP.format_amount(listprice, -2) %]"></td>
           </tr>
 
           <tr>
            <th align="right" nowrap="true"><translate>Sell Price</translate></th>
-           <td><input name="sellprice" size="11" value="[% LxERP.format_amount(sellprice) %]"></td>
+           <td><input name="sellprice" size="11" value="[% LxERP.format_amount(sellprice, -2) %]"></td>
           </tr>
 
           [%- UNLESS is_assembly %]
           <tr>
            <th align="right" nowrap="true"><translate>Last Cost</translate></th>
-           <td><input name="lastcost" size="11" value="[% LxERP.format_amount(lastcost) %]"></td>
+           <td><input name="lastcost" size="11" value="[% LxERP.format_amount(lastcost, -2) %]"></td>
           </tr>
           [%- END %]