X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c6b2257945060625bcb86fa7e2efd27c737480ff..606032ad1617f22d19e7113c40b620b9efaa5286:/SL/DB/Helper/FlattenToForm.pm diff --git a/SL/DB/Helper/FlattenToForm.pm b/SL/DB/Helper/FlattenToForm.pm index 9754d2bb3..198aae5b7 100644 --- a/SL/DB/Helper/FlattenToForm.pm +++ b/SL/DB/Helper/FlattenToForm.pm @@ -52,7 +52,7 @@ sub flatten_to_form { my $idx = 0; my $format_amounts = $params{format_amounts} ? 1 : 0; my $format_notnull = $params{format_amounts} ? 2 : 0; - foreach my $item (@{ $self->items }) { + foreach my $item (@{ $self->items_sorted }) { next if _has($item, 'assemblyitem'); $idx++;