Merge branch 'master' of ssh://git-mbunkus@lx-office.linet-services.de/~/lx-office-erp
[kivitendo-erp.git] / templates / webpages / rp / balance_sheet_master.html
index 5890987..fc3b8ee 100644 (file)
@@ -20,9 +20,9 @@
   <tr>
     <td> </td>
     <td>[% row.accno _ ' - ' IF l_accno %][% row.description %]</td>
-    <td align="right">[% LxERP.format_amount(row.this,2) %]</td>
+    <td align="right">[% LxERP.format_amount(row.this, decimalplaces) %]</td>
     [%- IF last_period %]
-    <td align="right">[% LxERP.format_amount(row.last,2) %]</td>
+    <td align="right">[% LxERP.format_amount(row.last, decimalplaces) %]</td>
     [%- END %]
   </tr>
   [% END %]
@@ -36,9 +36,9 @@
 
   <tr valign="top">
     <th align="left" colspan="2"><translate>TOTAL</translate></th>
-    <td align="right">[% LxERP.format_amount(total.A.this,2) %]<hr noshade size="2"></td>
+    <td align="right">[% LxERP.format_amount(total.A.this, decimalplaces) %]<hr noshade size="2"></td>
     [%- IF last_period %]
-    <td align="right">[% LxERP.format_amount(total.A.last,2) %]<hr noshade size="2"></td>
+    <td align="right">[% LxERP.format_amount(total.A.last, decimalplaces) %]<hr noshade size="2"></td>
     [%- END %]
   </tr>
 [% END %]
@@ -51,9 +51,9 @@
   <tr>
     <td></td>
     <td>[% row.accno _ ' - ' IF l_accno %][% row.description %]</td>
-    <td align="right">[% LxERP.format_amount(row.this,2) %]</td>
+    <td align="right">[% LxERP.format_amount(row.this, decimalplaces) %]</td>
     [%- IF last_period %]
-    <td align="right">[% LxERP.format_amount(row.last,2) %]</td>
+    <td align="right">[% LxERP.format_amount(row.last, decimalplaces) %]</td>
     [%- END %]
   </tr>
   [% END %]
@@ -68,9 +68,9 @@
   <tr valign="top">
     <td></td>
     <th align="left"><translate>TOTAL</translate></th>
-    <td align="right">[% LxERP.format_amount(total.L.this,2) %]<br><hr noshade size="2"</td>
+    <td align="right">[% LxERP.format_amount(total.L.this, decimalplaces) %]<br><hr noshade size="2"</td>
     [%- IF last_period %]
-    <td align="right">[% LxERP.format_amount(total.L.last,2) %]<br><hr noshade size="2"</td>
+    <td align="right">[% LxERP.format_amount(total.L.last, decimalplaces) %]<br><hr noshade size="2"</td>
     [%- END %]
   </tr>
 [% END %]
@@ -83,9 +83,9 @@
   <tr>
     <td></td>
     <td>[% row.description %]</td>
-    <td align="right">[% LxERP.format_amount(row.this,2) %]</td>
+    <td align="right">[% LxERP.format_amount(row.this, decimalplaces) %]</td>
     [%- IF last_period %]
-    <td align="right">[% LxERP.format_amount(row.last,2) %]</td>
+    <td align="right">[% LxERP.format_amount(row.last, decimalplaces) %]</td>
     [%- END %]
   </tr>
   [% END  %]
   <tr valign="top">
     <td></td>
     <th align="left"><translate>TOTAL</translate></th>
-    <td align="right">[% LxERP.format_amount(total.Q.this,2) %]<br><hr noshade size="2"</td>
+    <td align="right">[% LxERP.format_amount(total.Q.this, decimalplaces) %]<br><hr noshade size="2"</td>
     [%- IF last_period %]
-    <td align="right">[% LxERP.format_amount(total.Q.last,2) %]<br><hr noshade size="2"</td>
+    <td align="right">[% LxERP.format_amount(total.Q.last, decimalplaces) %]<br><hr noshade size="2"</td>
     [%- END %]
   </tr>
 [% END %]
 
   <tr valign="top">
     <th align="left" colspan="2"><translate>TOTAL</translate> <translate>LIABILITIES</translate> &amp; <translate>EQUITY</translate></th>
-    <td align="right">[% LxERP.format_amount(total.this,2) %]<br><hr noshade size="2"></td>
+    <td align="right">[% LxERP.format_amount(total.this, decimalplaces) %]<br><hr noshade size="2"></td>
     [%- IF last_period %]
-    <td align="right">[% LxERP.format_amount(total.last,2) %]<br><hr noshade size="2"></td>
+    <td align="right">[% LxERP.format_amount(total.last, decimalplaces) %]<br><hr noshade size="2"></td>
     [%- END %]
   </tr>
 </table>