]> wagnertech.de Git - kivitendo-erp.git/blobdiff - templates/webpages/rp/report.html
Simple Übergaben von globals an templates in templates verschoben
[kivitendo-erp.git] / templates / webpages / rp / report.html
index 93ef0a9ea91665a6bf75a6849773b5231e1f2ba6..2e9775a969a37139cd4a07eeaba09f8c96cae473 100644 (file)
@@ -62,8 +62,8 @@
   <tr>
     <th align=left>[% 'Method' | $T8 %]</th>
     <td colspan=3>
-      [% L.radio_button_tag('method', value='accrual', checked=accrual, label=LxERP.t8('Accrual')) %]
-      [% L.radio_button_tag('method', value='cash', checked=cash, label=LxERP.t8('cash')) %]
+      [% L.radio_button_tag('method', value='accrual', checked=(INSTANCE_CONF.get_accounting_method=='accrual'), label=LxERP.t8('Accrual')) %]
+      [% L.radio_button_tag('method', value='cash', checked=(INSTANCE_CONF.get_accounting_method=='cash'), label=LxERP.t8('cash')) %]
     </td>
   </tr>
 [%- END %]