X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1b803cbdc5f0945a1a942af25e85693a4d15346c..3a13039a9d18b1a07cccbf6c4628671c38816150:/SL/IC.pm diff --git a/SL/IC.pm b/SL/IC.pm index ce5e31e09..e455d38e1 100644 --- a/SL/IC.pm +++ b/SL/IC.pm @@ -897,11 +897,12 @@ sub all_parts { } # Oder Bedingungen fuer Ware Dienstleistung Erzeugnis: - if ($form->{l_part} || $form->{l_assembly} || $form->{l_service}) { + if ($form->{l_part} || $form->{l_assembly} || $form->{l_service} || $form->{l_assortment}) { my @or_tokens = (); - push @or_tokens, "p.part_type = 'service'" if $form->{l_service}; - push @or_tokens, "p.part_type = 'assembly'" if $form->{l_assembly}; - push @or_tokens, "p.part_type = 'part'" if $form->{l_part}; + push @or_tokens, "p.part_type = 'service'" if $form->{l_service}; + push @or_tokens, "p.part_type = 'assembly'" if $form->{l_assembly}; + push @or_tokens, "p.part_type = 'part'" if $form->{l_part}; + push @or_tokens, "p.part_type = 'assortment'" if $form->{l_assortment}; push @where_tokens, join ' OR ', map { "($_)" } @or_tokens; } else {