projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
epic-ts
[kivitendo-erp.git]
/
SL
/
Template
/
OpenDocument.pm
diff --git
a/SL/Template/OpenDocument.pm
b/SL/Template/OpenDocument.pm
index
d8823b4
..
66d8f83
100644
(file)
--- a/
SL/Template/OpenDocument.pm
+++ b/
SL/Template/OpenDocument.pm
@@
-653,8
+653,15
@@
sub generate_qr_code {
'countrycode' => $biller_countrycode,
);
'countrycode' => $biller_countrycode,
);
+ my $amount;
+ if ($form->{'qrbill_without_amount'}) {
+ $amount = '';
+ } else {
+ $amount = sprintf("%.2f", $form->parse_amount(\%::myconfig, $form->{'total'}));
+ }
+
my %payment_information = (
my %payment_information = (
- 'amount' =>
sprintf("%.2f", $form->parse_amount(\%::myconfig, $form->{'total'}))
,
+ 'amount' =>
$amount
,
'currency' => $form->{'currency'},
);
'currency' => $form->{'currency'},
);