X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/bdb802cd8e3e47817058fb907f5fe577b3d5cf90..b720e272:/SL/BackgroundJob/CreatePeriodicInvoices.pm?ds=sidebyside 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);