X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fio.pl;h=86010b14f35edfb524645305980c10c34e078734;hb=b9436847a02c9f8c58383a8a3a1d64ce055ec35d;hp=bfe2819ebb6a20b597dc0206f6baa77efbbc8a57;hpb=9aa58dc1c8cf72ad95a90688ae2245abe589dd78;p=kivitendo-erp.git diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index bfe2819eb..86010b14f 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -142,7 +142,6 @@ sub display_row { $form->{weightunit} = $defaults->{weightunit}; my $is_purchase = (first { $_ eq $form->{type} } qw(request_quotation purchase_order purchase_delivery_order)) || ($form->{script} eq 'ir.pl'); - my $show_min_order_qty = first { $_ eq $form->{type} } qw(request_quotation purchase_order); my $is_delivery_order = $form->{type} =~ /_delivery_order$/; my $is_quotation = $form->{type} =~ /_quotation$/; my $is_invoice = $form->{type} =~ /invoice/; @@ -911,7 +910,7 @@ sub order { _order(); - if ($::instance_conf->get_feature_experimental) { + if ($::instance_conf->get_feature_experimental_order) { my $order = _make_record(); $order->globalproject_id(undef) if !$order->globalproject_id; $order->payment_id(undef) if !$order->payment_id; @@ -1041,7 +1040,7 @@ sub quotation { if ($form->{second_run}) { $form->{print_and_post} = 0; } - delete $form->{$_} foreach (qw(id printed emailed queued)); + delete $form->{$_} foreach (qw(id printed emailed queued quonumber transaction_description)); my $buysell; if ($form->{script} eq 'ir.pl' || $form->{type} eq 'purchase_order') {