projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa91a37
)
Swiss QR-Bill: QrBill.pm: Ă„nderungen Syntax betreffend
author
Steven Schubiger
<stsc@refcnt.org>
Thu, 3 Mar 2022 12:32:48 +0000
(13:32 +0100)
committer
Andreas Rudin
<andreas.rudin@revamp-it.ch>
Mon, 21 Mar 2022 13:01:40 +0000
(14:01 +0100)
SL/Helper/QrBill.pm
patch
|
blob
|
history
diff --git
a/SL/Helper/QrBill.pm
b/SL/Helper/QrBill.pm
index
9351252
..
c448eb2
100644
(file)
--- a/
SL/Helper/QrBill.pm
+++ b/
SL/Helper/QrBill.pm
@@
-108,7
+108,7
@@
sub _init_check {
sub generate {
my $self = shift;
- my $out_file =
defined $_[0] ? $_[0] :
$Config{out_file};
+ my $out_file =
$_[0] //
$Config{out_file};
$self->{qrcode} = $self->_qrcode();
$self->{cross} = $self->_cross();
@@
-202,7
+202,7
@@
SL::Helper::QrBill - Helper methods for generating Swiss QR-Code
\%invoice_recipient_data,
\%ref_nr_data,
);
- $qr_image->generate($outfile);
+ $qr_image->generate($out
_
file);
} or do {
local $_ = $@; chomp; my $error = $_;
$::form->error($::locale->text('QR-Image generation failed: ' . $error));