X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Foe.pl;h=452613c8f5f24e8282797758acef958b3129daaa;hb=4cedba163990bd449e05da972691ebf035d61de3;hp=0388aa032ad42f2f7a72fbf664a336e0996924a8;hpb=18da4a96827fd65559a6f64334c3d8a313884f84;p=kivitendo-erp.git diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index 0388aa032..452613c8f 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -1124,12 +1124,10 @@ sub form_footer { |; } - if (1) { print qq| |; -} if ($form->{type} =~ /sales_order$/) { print qq| @@ -1156,14 +1154,6 @@ sub form_footer { . $locale->text('Order') . qq|"> |; } - } elsif ($form->{type} =~ /sales_order$/ && $form->{rowcount} && !$form->{proforma}) { - print qq| -
Workflow $form->{heading}
- - -|; } $form->hide_form("saved_xyznumber"); @@ -2086,8 +2076,8 @@ sub delete { - + @@ -2180,7 +2170,6 @@ sub invoice { $exchangerate = $form->check_exchangerate(\%myconfig, $form->{currency}, $orddate, $buysell); - print(STDERR "CURRENCY $form->{currency} DEFAULT: $form->{defaultcurrency} EXCHANGE $exchangerate\n"); if (!$exchangerate) { &backorder_exchangerate($orddate, $buysell); @@ -2195,7 +2184,7 @@ sub invoice { # 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 '') || ($form->{quonumber} ne '')) { - OE->close_order(\%myconfig, \%$form); + OE->close_order(\%myconfig, \%$form) if ($form->{id}); } else { OE->close_orders(\%myconfig, \%$form); }