projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ZUGFeRD: Feature über Mandantenkonfiguration abschaltbar
[kivitendo-erp.git]
/
bin
/
mozilla
/
io.pl
diff --git
a/bin/mozilla/io.pl
b/bin/mozilla/io.pl
index
0cde59c
..
7186533
100644
(file)
--- a/
bin/mozilla/io.pl
+++ b/
bin/mozilla/io.pl
@@
-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');