From: Jan Büren Date: Wed, 18 Aug 2021 07:01:53 +0000 (+0200) Subject: Da Seriennummer ein Pflichtfeld sein kann -> 1. Zeile X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~395 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=cbb3aa422df73984c5044571589be7a0319cf034;p=kivitendo-erp.git Da Seriennummer ein Pflichtfeld sein kann -> 1. Zeile --- 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, },