X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=SL%2FWH.pm;h=9a0635603af2a34e21b1d476d2083f8d96fb81ca;hb=280cbfe97461e08c8dbc604dd487b08b79ffd8ed;hp=eb376268222ebeb56c02a5a1821d1dfe7a97fa7f;hpb=3fa948b441ab38d7754c3ec6f14fca72fe51fc54;p=kivitendo-erp.git 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