From 7cdd3f9bb85b89dadb674473f7f6d1dbc48ec10c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 15 May 2009 13:45:15 +0000 Subject: [PATCH 1/1] =?utf8?q?stock=5Finfo=20Werte=20m=C3=BCssen=20in=20Li?= =?utf8?q?eferscheinen=20rchtig=20exportiert=20werden.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Teilfix für Bug 960. --- SL/DO.pm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/SL/DO.pm b/SL/DO.pm index 50905ec01..f6d268713 100644 --- a/SL/DO.pm +++ b/SL/DO.pm @@ -819,14 +819,14 @@ sub order_details { do_statement($form, $h_bin_wh, $q_bin_wh, conv_i($si->{bin_id}), conv_i($si->{warehouse_id})); my $bin_wh = $h_bin_wh->fetchrow_hashref(); - push @{ $form->{si_runningnumber} }, $num_si; - push @{ $form->{si_number} }, $form->{"partnumber_$i"}; - push @{ $form->{si_description} }, $form->{"description_$i"}; - push @{ $form->{si_warehouse} }, $bin_wh->{warehouse}; - push @{ $form->{si_bin} }, $bin_wh->{bin}; - push @{ $form->{si_chargenumber} }, $si->{chargenumber}; - push @{ $form->{si_qty} }, $form->format_amount($myconfig, $si->{qty} * 1); - push @{ $form->{si_unit} }, $si->{unit}; + push @{ $form->{si_runningnumber}[$position-1] }, $num_si; + push @{ $form->{si_number}[$position-1] }, $form->{"partnumber_$i"}; + push @{ $form->{si_description}[$position-1] }, $form->{"description_$i"}; + push @{ $form->{si_warehouse}[$position-1] }, $bin_wh->{warehouse}; + push @{ $form->{si_bin}[$position-1] }, $bin_wh->{bin}; + push @{ $form->{si_chargenumber}[$position-1] }, $si->{chargenumber}; + push @{ $form->{si_qty}[$position-1] }, $form->format_amount($myconfig, $si->{qty} * 1); + push @{ $form->{si_unit}[$position-1] }, $si->{unit}; } } } -- 2.20.1