X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9595eb7cb095775baae8a289dbf628ef75b3abed..b535245ea43c412ea0912fbe3c25d90d5f285233:/bin/mozilla/io.pl diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index a77632b7e..bbbf5f318 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -898,7 +898,7 @@ sub order { $form->{old_employee_id} = $form->{employee_id}; $form->{old_salesman_id} = $form->{salesman_id}; - delete $form->{$_} foreach (qw(printed emailed queued)); + delete $form->{$_} foreach (qw(id printed emailed queued)); # When creating a new sales order from a saved sales invoice, reset id, # ordnumber, transdate and deliverydate as we are creating a new order. This @@ -979,7 +979,7 @@ sub quotation { if ($form->{second_run}) { $form->{print_and_post} = 0; } - delete $form->{$_} foreach (qw(printed emailed queued)); + delete $form->{$_} foreach (qw(id printed emailed queued)); my $buysell; if ($form->{script} eq 'ir.pl' || $form->{type} eq 'purchase_order') {