From 096113b300e72187e5f8ecbd39ee9b2df5e29349 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Wed, 18 Aug 2021 11:38:39 +0200 Subject: [PATCH] Revert "Seriennummer in LS auf Pos. 1, falls Pflichtfeld" This reverts commit e503a1d422ed53d99d68db3ebbc6d4dfe11dea7f. --- bin/mozilla/io.pl | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 = ( -- 2.20.1