From: Jan Büren Date: Wed, 18 Aug 2021 09:38:39 +0000 (+0200) Subject: Revert "Seriennummer in LS auf Pos. 1, falls Pflichtfeld" X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~393 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=096113b300e72187e5f8ecbd39ee9b2df5e29349;p=kivitendo-erp.git Revert "Seriennummer in LS auf Pos. 1, falls Pflichtfeld" This reverts commit e503a1d422ed53d99d68db3ebbc6d4dfe11dea7f. --- diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index e889f2aef..a69521b12 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -172,12 +172,8 @@ sub display_row { ); # serialnr is important for delivery_orders if ($form->{type} eq 'sales_delivery_order') { - for my $i (1 .. $form->{rowcount} - 1) { - next unless $form->{"has_sernumber_$i"}; - splice @row2_sort, 0, 1; - splice @header_sort, 4, 0, "serialnr"; - last; - } + splice @row2_sort, 0, 1; + splice @header_sort, 4, 0, "serialnr"; } my %column_def = (