From cbb3aa422df73984c5044571589be7a0319cf034 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Wed, 18 Aug 2021 09:01:53 +0200 Subject: [PATCH] Da Seriennummer ein Pflichtfeld sein kann -> 1. Zeile --- bin/mozilla/io.pl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index fda1fd6fe..a69521b12 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -170,6 +170,12 @@ sub display_row { my @row2_sort = qw( serialnr projectnr reqdate subtotal marge listprice lastcost onhand ); + # serialnr is important for delivery_orders + if ($form->{type} eq 'sales_delivery_order') { + splice @row2_sort, 0, 1; + splice @header_sort, 4, 0, "serialnr"; + } + my %column_def = ( runningnumber => { width => 5, value => $locale->text('No.'), display => 1, }, partnumber => { width => 8, value => $locale->text('Number'), display => 1, }, -- 2.20.1