From 33e84bd96729a946f818885fcff8d41eaaf616e4 Mon Sep 17 00:00:00 2001 From: Philip Reetz Date: Wed, 7 Dec 2005 09:46:00 +0000 Subject: [PATCH] Sammelbestellungen koennen nur aus Auftraegen generiert werden --- 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 dbb74a9f9..b4760b284 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -1833,10 +1833,10 @@ sub invoice { # close orders/quotations $form->{closed} = 1; - # save order iff one ordnumber has been given + # save order if one ordnumber has been given # if not it's most likely a collective order, which can't be saved back # so they just have to be closed - if ($form->{ordnumber} ne '') { + if (($form->{ordnumber} ne '') || ($form->{quonumber} ne '')) { OE->save(\%myconfig, \%$form); } else { OE->close_orders(\%myconfig, \%$form); -- 2.20.1