From: Bernd Bleßmann Date: Wed, 16 May 2018 13:20:05 +0000 (+0200) Subject: Workflow aus Kundenstammdaten zum neuen Auftrags-Controller, … X-Git-Tag: release-3.5.4~410 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=34d35b6a56309c556413ca8e8b810e9e64422367;p=kivitendo-erp.git Workflow aus Kundenstammdaten zum neuen Auftrags-Controller, … … wenn experimentelle Features eingeschaltet sind --- diff --git a/SL/Controller/CustomerVendor.pm b/SL/Controller/CustomerVendor.pm index 042ec25bf..3b8f7fc77 100644 --- a/SL/Controller/CustomerVendor.pm +++ b/SL/Controller/CustomerVendor.pm @@ -272,10 +272,16 @@ sub _transaction { my $name = $::form->escape($self->{cv}->name, 1); my $db = $self->is_vendor() ? 'vendor' : 'customer'; + my $action = 'add'; + + if ($::instance_conf->get_feature_experimental && 'oe.pl' eq $script) { + $script = 'controller.pl'; + $action = 'Order/' . $action; + } my $url = $self->url_for( controller => $script, - action => 'add', + action => $action, vc => $db, $db .'_id' => $self->{cv}->id, $db => $name,