]> wagnertech.de Git - kivitendo-erp.git/blobdiff - bin/mozilla/io.pl
ZUGFeRD: Feature über Mandantenkonfiguration abschaltbar
[kivitendo-erp.git] / bin / mozilla / io.pl
index 0cde59cec08488435662692efba1846a271afd84..718653383e30664d7597f5d31d58d0101bab42d9 100644 (file)
@@ -2118,6 +2118,8 @@ sub send_sales_purchase_email {
 sub _maybe_attach_zugferd_data {
   my ($form) = @_;
 
+  return if !$::instance_conf->get_create_zugferd_invoices;
+
   my $record = _make_record();
 
   return if !$record || !$record->can('create_pdf_a_print_options') || !$record->can('create_zugferd_data');