X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c781fb44ddffd751ae494781cbd239c44c844e15..47efccc56929df26521e5cdfa4b7204ca7cc8a52:/bin/mozilla/do.pl diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index e95aaf82c..54c650c31 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -364,10 +364,13 @@ sub update_delivery_order { } else { + my $mode; if ($form->{type} eq 'purchase_delivery_order') { IR->retrieve_item(\%myconfig, $form); + $mode = 'IR'; } else { IS->retrieve_item(\%myconfig, $form); + $mode = 'IS'; } my $rows = scalar @{ $form->{item_list} }; @@ -377,7 +380,7 @@ sub update_delivery_order { if ($rows > 1) { - select_item(); + select_item(mode => $mode); ::end_of_request(); } else {