X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FAP.pm;h=3f1818bdc5c113dc815aa15125c742f7da7dc352;hb=41a039692bf1d655df629fd833fd6d6d428eb29b;hp=f5c1e737066df8b5ed2d8aff3add440fdd2344fd;hpb=6715bd15b37ae88ce51576d9319a0c653d8bd824;p=kivitendo-erp.git diff --git a/SL/AP.pm b/SL/AP.pm index f5c1e7370..3f1818bdc 100644 --- a/SL/AP.pm +++ b/SL/AP.pm @@ -415,7 +415,7 @@ sub ap_transactions { qq|LEFT JOIN employee e ON (a.employee_id = e.id) | . qq|LEFT JOIN project pr ON (a.globalproject_id = pr.id) |; - my $where; + my $where = qq| WHERE storno != true |; my @values; if ($form->{vendor_id}) { @@ -466,7 +466,7 @@ sub ap_transactions { } if ($where) { - substr($where, 0, 4) = "WHERE"; +# substr($where, 0, 4) = "WHERE"; $query .= $where; }