X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/3fa948b441ab38d7754c3ec6f14fca72fe51fc54..5ecfae1c3691bbac614fd2dbf2036d5e5f28ba21:/SL/WH.pm diff --git a/SL/WH.pm b/SL/WH.pm index eb3762682..9a0635603 100644 --- a/SL/WH.pm +++ b/SL/WH.pm @@ -626,6 +626,9 @@ sub get_warehouse_report { push @filter_ary, "i.itime <= ?"; push @filter_vars, $filter{date}; } + if (!$filter{include_invalid_warehouses}){ + push @filter_ary, "NOT (w.invalid)"; + } # prepare qty comparison for later filtering my ($f_qty_op, $f_qty, $f_qty_base_unit); @@ -1020,6 +1023,8 @@ An expiration date. Note that this is not by default used by C =head1 BUGS +None yet. + =head1 AUTHOR =cut