Auftrags-Controller: weitere Links hierhin bei experimentellen Features
[kivitendo-erp.git] / SL / Controller / FinancialControllingReport.pm
index 7b392f1..31f60f1 100644 (file)
@@ -278,7 +278,11 @@ sub link_to {
     my $type = $object->type;
     my $id   = $object->id;
 
-    return "oe.pl?action=$action&type=$type&vc=customer&id=$id";
+    if ($::instance_conf->get_feature_experimental) {
+      return "controller.pl?action=Order/$action&type=$type&id=$id";
+    } else {
+      return "oe.pl?action=$action&type=$type&vc=customer&id=$id";
+    }
   }
   if ($object->isa('SL::DB::Customer')) {
     my $id     = $object->id;