X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=SL%2FVK.pm;h=c3a2562fd9fcc518fefbb006ad8cd2582e2afbe7;hb=6de8e1614fb03b63967d06bd8522b4b46260832e;hp=13c7d7f99fbc838fb454afab39dc501567de657a;hpb=7e4b86b179adfce5575093004846b11a61eb65ac;p=kivitendo-erp.git 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";