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