X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/9e0b2baff3315e53a0e0aa9e66cae85e474def7a..df2cb4e9ab3eb6b70a84e09fad5eb6a3a6360bfa:/SL/VK.pm diff --git a/SL/VK.pm b/SL/VK.pm index 13c7d7f99..c3a2562fd 100644 --- a/SL/VK.pm +++ b/SL/VK.pm @@ -62,6 +62,9 @@ sub invoice_transactions { # Stornierte Rechnungen und Stornorechnungen in invoice rausfiltern $where .= " AND ar.storno is not true "; + # Bestandteile von Erzeugnissen herausfiltern + $where .= " AND i.assemblyitem is not true "; + my $sortorder = "cus.name,i.parts_id,ar.transdate"; if ($form->{sortby} eq 'artikelsort') { $sortorder = "i.parts_id,cus.name,ar.transdate";