]> wagnertech.de Git - kivitendo-erp.git/commitdiff
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 c7e3146f5371f8330ca24fa4a467ce38715c5092..5b4920a6fe6870293768112fb5c47bbbcef0684a 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 2d2f947572d3367e0ddcd72ce40814ea4a67b110..3d4993252e8a82fd79f144b8cb0dfe22777ad143 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 %]