projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14d905e
)
Inventur: beim Zählen/Korrigieren auch Artikel ohne MHD berücksichtigen, …
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Thu, 30 Jan 2020 13:11:56 +0000
(14:11 +0100)
committer
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Thu, 30 Jan 2020 13:11:56 +0000
(14:11 +0100)
…, wenn MHD in der Mandantenkonfiguration eingeschaltet ist.
SL/Controller/Inventory.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/Inventory.pm
b/SL/Controller/Inventory.pm
index
539f34a
..
30ff321
100644
(file)
--- 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,