projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59c5df7
)
Sammelbestellungen koennen nur aus Auftraegen generiert werden
author
Philip Reetz
<p.reetz@linet-services.de>
Wed, 7 Dec 2005 09:46:00 +0000
(09:46 +0000)
committer
Philip Reetz
<p.reetz@linet-services.de>
Wed, 7 Dec 2005 09:46:00 +0000
(09:46 +0000)
bin/mozilla/oe.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/oe.pl
b/bin/mozilla/oe.pl
index
dbb74a9
..
b4760b2
100644
(file)
--- a/
bin/mozilla/oe.pl
+++ b/
bin/mozilla/oe.pl
@@
-1833,10
+1833,10
@@
sub invoice {
# close orders/quotations
$form->{closed} = 1;
- # save order if
f
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);