X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=SL%2FVK.pm;h=c3a2562fd9fcc518fefbb006ad8cd2582e2afbe7;hb=67079598f8f98a12e12a8acddc3afbf12bb58c5d;hp=13c7d7f99fbc838fb454afab39dc501567de657a;hpb=9e0b2baff3315e53a0e0aa9e66cae85e474def7a;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";