X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Foe.pl;h=c55689e72ff1a48b2a5e6c1fb7f753101e95a5ed;hb=3b3ef5ba0b9d0d6fb45e082cbfafa524243ae6f7;hp=65782695b288537e60d6d5a5bc934b1ab2c84dea;hpb=747bdb8004c380b2580deb237a4ee956e411fea5;p=kivitendo-erp.git diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index 65782695b..c55689e72 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -238,7 +238,7 @@ sub order_links { $form->{"old$form->{vc}"} = $form->{$form->{vc}}; - if ($form->{"old$form->{vc}"} !~ m/--\d+$/ && $form->{"$form->{vc_}id}"}) { + if ($form->{"old$form->{vc}"} !~ m/--\d+$/ && $form->{"$form->{vc}_id"}) { $form->{"old$form->{vc}"} .= qq|--$form->{"$form->{vc}_id"}| } @@ -634,7 +634,7 @@ sub search { $form->header(); - print $form->parse_html_template('oe/search'); + print $form->parse_html_template('oe/search', { %myconfig }); $lxdebug->leave_sub(); } @@ -664,7 +664,7 @@ sub orders { $ordnumber = ($form->{type} =~ /_order$/) ? "ordnumber" : "quonumber"; - ($form->{ $form->{vc} }, $form->{"${form->{vc}}_id"}) = split(/--/, $form->{ $form->{vc} }); + ($form->{ $form->{vc} }, $form->{"$form->{vc}_id"}) = split(/--/, $form->{ $form->{vc} }); report_generator_set_default_sort('transdate', 1); @@ -1273,7 +1273,7 @@ sub invoice { require "bin/mozilla/$form->{script}"; - map { $form->{"select$_"} = "" } ($form->{vc}, currency); + map { $form->{"select$_"} = "" } ($form->{vc}, "currency"); $currency = $form->{currency}; &invoice_links; @@ -1657,6 +1657,7 @@ sub delivery_order { require "bin/mozilla/do.pl"; + $form->{script} = 'do.pl'; $form->{cp_id} *= 1; $form->{convert_from_oe_ids} = $form->{id}; $form->{transdate} = $form->current_date(\%myconfig);