From: Moritz Bunkus Date: Wed, 17 Dec 2008 10:39:18 +0000 (+0000) Subject: Beim Umwandeln in Aufträge die Auftragsnummer auf keinen Fall vorbelegt lassen. X-Git-Tag: release-2.6.0beta2~214 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f4cf3038ce45e76fe75bb433d78586882b0a0834;p=kivitendo-erp.git Beim Umwandeln in Aufträge die Auftragsnummer auf keinen Fall vorbelegt lassen. --- 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);