From 9d74608bbb538ffa4cab9381ced378e28df23862 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Thu, 30 Jan 2020 14:11:56 +0100 Subject: [PATCH] =?utf8?q?Inventur:=20beim=20Z=C3=A4hlen/Korrigieren=20auc?= =?utf8?q?h=20Artikel=20ohne=20MHD=20ber=C3=BCcksichtigen,=20=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit …, wenn MHD in der Mandantenkonfiguration eingeschaltet ist. --- SL/Controller/Inventory.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Controller/Inventory.pm b/SL/Controller/Inventory.pm index 539f34a9e..30ff321a0 100644 --- a/SL/Controller/Inventory.pm +++ b/SL/Controller/Inventory.pm @@ -953,7 +953,7 @@ sub _already_counted { my %bestbefore_filter; if ($::instance_conf->get_show_bestbefore) { - %bestbefore_filter = (bestbefore => $params{bestbefore}); + %bestbefore_filter = (bestbefore => ($params{bestbefore} || undef)); } SL::DB::Manager::Stocktaking->get_all(query => [and => [parts_id => $part->id, -- 2.20.1