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:
2651b9c
)
Mahnungen: PDF d. Rechnung über Mahngebühren im DMS speichern
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Tue, 16 Mar 2021 15:32:44 +0000
(16:32 +0100)
committer
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Wed, 17 Mar 2021 16:09:36 +0000
(17:09 +0100)
Die Id der zugehörigen Rechnung ist in $invoice_id,
nicht in $form->{invoice_id}.
SL/DN.pm
patch
|
blob
|
history
diff --git
a/SL/DN.pm
b/SL/DN.pm
index
deeff63
..
3ae10a4
100644
(file)
--- a/
SL/DN.pm
+++ b/
SL/DN.pm
@@
-1105,7
+1105,7
@@
sub print_invoice_for_fees {
my $attachment_filename = $form->get_formname_translation('dunning_invoice') . "_${dunning_id}.pdf";
$form->{attachment_filename} = $attachment_filename;
$form->{attachment_type} = "dunning";
- $form->{attachment_id} = $
form->{invoice_id}
;
+ $form->{attachment_id} = $
invoice_id
;
$form->parse_template($myconfig);
restore_form($saved_form);