From 098e73fe719291263d4dce4a8e276869ca039eae Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Fri, 29 Nov 2013 11:29:39 +0100 Subject: [PATCH] =?utf8?q?Auftrags-Import:=20Ver.=20und=20Einkaufspreis=20?= =?utf8?q?von=20Artikel=20=C3=BCbernehmen,=20...?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ... falls nicht angegeben. --- SL/Controller/CsvImport/Order.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SL/Controller/CsvImport/Order.pm b/SL/Controller/CsvImport/Order.pm index 907d900a2..c8cb5b30c 100644 --- a/SL/Controller/CsvImport/Order.pm +++ b/SL/Controller/CsvImport/Order.pm @@ -416,6 +416,8 @@ sub handle_item { $object->description($part_obj->description) unless $object->description; $object->longdescription($part_obj->notes) unless $object->longdescription; $object->unit($part_obj->unit) unless $object->unit; + $object->sellprice($part_obj->sellprice) unless defined $object->sellprice; + $object->lastcost($part_obj->lastcost) unless defined $object->lastcost; # set to 0 if not given $object->discount(0) unless $object->discount; -- 2.20.1