From: Bernd Bleßmann Date: Wed, 17 Mar 2021 15:03:54 +0000 (+0100) Subject: SL::DN: print_original_invoices in print_original_invoice umbenannt, … X-Git-Tag: kivitendo-mebil_0.1-0~9^2~426 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=25b2b861273d65704ffdf26cd981f9d19ca56bb4;p=kivitendo-erp.git SL::DN: print_original_invoices in print_original_invoice umbenannt, … … da nur eine Rechnung gedruckt wird. --- diff --git a/SL/DN.pm b/SL/DN.pm index 646b9e0c7..ed196c08b 100644 --- a/SL/DN.pm +++ b/SL/DN.pm @@ -416,7 +416,7 @@ sub _save_dunning { $self->print_dunning($myconfig, $form, $dunning_id, $dbh); if ($print_invoice) { - $self->print_original_invoices($myconfig, $form, $_) for @invoice_ids; + $self->print_original_invoice($myconfig, $form, $_) for @invoice_ids; } if ($send_email) { @@ -1202,7 +1202,7 @@ sub set_customer_cvars { } -sub print_original_invoices { +sub print_original_invoice { my ($self, $myconfig, $form, $invoice_id) = @_; # get one invoice as object and print to pdf my $invoice = SL::DB::Invoice->new(id => $invoice_id)->load;