Revision 33e84bd9
Von Philip Reetz vor etwa 19 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
1833 | 1833 |
# close orders/quotations |
1834 | 1834 |
$form->{closed} = 1; |
1835 | 1835 |
|
1836 |
# save order iff one ordnumber has been given
|
|
1836 |
# save order if one ordnumber has been given |
|
1837 | 1837 |
# if not it's most likely a collective order, which can't be saved back |
1838 | 1838 |
# so they just have to be closed |
1839 |
if ($form->{ordnumber} ne '') {
|
|
1839 |
if (($form->{ordnumber} ne '') || ($form->{quonumber} ne '')) {
|
|
1840 | 1840 |
OE->save(\%myconfig, \%$form); |
1841 | 1841 |
} else { |
1842 | 1842 |
OE->close_orders(\%myconfig, \%$form); |
Auch abrufbar als: Unified diff
Sammelbestellungen koennen nur aus Auftraegen generiert werden