projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'rb-wiederkehrende-rechnungen' into 263
[kivitendo-erp.git]
/
SL
/
Form.pm
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
90c8c9b
..
56dc795
100644
(file)
--- a/
SL/Form.pm
+++ b/
SL/Form.pm
@@
-3535,7
+3535,7
@@
sub prepare_for_printing {
$self->{formname} ||= $self->{type};
$self->{media} ||= 'email';
$self->{formname} ||= $self->{type};
$self->{media} ||= 'email';
- die "'media' other than 'email'
or 'file' is not supported yet" unless $self->{media} =~ m/^(?:email|file
)$/;
+ die "'media' other than 'email'
, 'file', 'printer' is not supported yet" unless $self->{media} =~ m/^(?:email|file|printer
)$/;
# set shipto from billto unless set
my $has_shipto = any { $self->{"shipto$_"} } qw(name street zipcode city country contact);
# set shipto from billto unless set
my $has_shipto = any { $self->{"shipto$_"} } qw(name street zipcode city country contact);