Option für Datev-Check in Mandantenkonfiguration verschoben.
[kivitendo-erp.git] / SL / IS.pm
index 8f00225..db18d5a 100644 (file)
--- a/SL/IS.pm
+++ b/SL/IS.pm
@@ -1077,7 +1077,7 @@ sub post_invoice {
                                'table'   => 'ar',);
 
   # safety check datev export
-  if ($::lx_office_conf{datev_check}{check_on_sales_invoice}) {
+  if ($::instance_conf->get_datev_check_on_sales_invoice) {
     my $transdate = $::form->{invdate} ? DateTime->from_lxoffice($::form->{invdate}) : undef;
     $transdate  ||= DateTime->today;