From f4cf3038ce45e76fe75bb433d78586882b0a0834 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 17 Dec 2008 10:39:18 +0000 Subject: [PATCH] =?utf8?q?Beim=20Umwandeln=20in=20Auftr=C3=A4ge=20die=20Au?= =?utf8?q?ftragsnummer=20auf=20keinen=20Fall=20vorbelegt=20lassen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/oe.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index f4f5deaa7..eb1697ea3 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -333,7 +333,6 @@ sub form_header { # business $TMPL_VAR{business_label} = ($form->{vc} eq "customer" ? $locale->text('Customer type') : $locale->text('Vendor type')); - push @custom_hiddens, "ordnumber" if $form->{type} =~ /_quotation$/; push @custom_hiddens, "customer_klass" if $form->{vc} eq 'customer'; $credittext = $locale->text('Credit Limit exceeded!!!'); @@ -1795,7 +1794,8 @@ sub poso { $form->{old_salesman_id} = $form->{salesman_id}; # reset - map { delete $form->{$_} } qw(id subject message cc bcc printed emailed queued customer vendor creditlimit creditremaining discount tradediscount oldinvtotal delivered); + map { delete $form->{$_} } qw(id subject message cc bcc printed emailed queued customer vendor creditlimit creditremaining discount tradediscount oldinvtotal delivered + ordnumber); for $i (1 .. $form->{rowcount}) { map { $form->{"${_}_${i}"} = $form->parse_amount(\%myconfig, $form->{"${_}_${i}"}) if ($form->{"${_}_${i}"}) } qw(ship qty sellprice listprice basefactor); -- 2.20.1