From: Sven Schöling Date: Fri, 14 Nov 2014 10:01:03 +0000 (+0100) Subject: PeriodicInvoices: employee aus Quellauftrag setzen X-Git-Tag: release-3.2.0beta~253 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=560d72924c11816fab9b8e18ceca2f3b4ff438b0;p=kivitendo-erp.git PeriodicInvoices: employee aus Quellauftrag setzen --- diff --git a/SL/BackgroundJob/CreatePeriodicInvoices.pm b/SL/BackgroundJob/CreatePeriodicInvoices.pm index 91e8efff9..477702551 100644 --- a/SL/BackgroundJob/CreatePeriodicInvoices.pm +++ b/SL/BackgroundJob/CreatePeriodicInvoices.pm @@ -151,6 +151,7 @@ sub _create_periodic_invoice { $invoice->assign_attributes(deliverydate => $period_start_date, intnotes => $intnotes, + employee => $order->employee, # new_from sets employee to import user ); map { _replace_vars($invoice, $time_period_vars, $_) } qw(notes intnotes transaction_description);