From 560d72924c11816fab9b8e18ceca2f3b4ff438b0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 14 Nov 2014 11:01:03 +0100 Subject: [PATCH] PeriodicInvoices: employee aus Quellauftrag setzen --- SL/BackgroundJob/CreatePeriodicInvoices.pm | 1 + 1 file changed, 1 insertion(+) 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); -- 2.20.1