]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/rp.pl
Umstellung von eur zu 3 Variablen in defaults
[mfinanz.git] / bin / mozilla / rp.pl
index 1d8446966b1a55089e9debca34a08f9857a01847..8d0ec94f24463d98577c022a0774172b7b45f07e 100644 (file)
@@ -146,8 +146,8 @@ sub report {
 
   $form->{title} = $locale->text($title{ $form->{report} });
 
-  my $accrual = $::lx_office_conf{system}->{eur} ? ""        : "checked";
-  my $cash    = $::lx_office_conf{system}->{eur} ? "checked" : "";
+  my $accrual =  $::instance_conf->get_accounting_method eq 'cash' ? ""        : "checked";
+  my $cash    =  $::instance_conf->get_accounting_method eq 'cash' ? "checked" : "";
 
   my $year = (localtime)[5] + 1900;