Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 34d35b6a

Von Bernd Bleßmann vor fast 6 Jahren hinzugefügt

  • ID 34d35b6a56309c556413ca8e8b810e9e64422367
  • Vorgänger 6770b19a
  • Nachfolger 370f1355

Workflow aus Kundenstammdaten zum neuen Auftrags-Controller, …

… wenn experimentelle Features eingeschaltet sind

Unterschiede anzeigen:

SL/Controller/CustomerVendor.pm
272 272

  
273 273
  my $name = $::form->escape($self->{cv}->name, 1);
274 274
  my $db = $self->is_vendor() ? 'vendor' : 'customer';
275
  my $action = 'add';
276

  
277
  if ($::instance_conf->get_feature_experimental && 'oe.pl' eq $script) {
278
    $script = 'controller.pl';
279
    $action = 'Order/' . $action;
280
  }
275 281

  
276 282
  my $url = $self->url_for(
277 283
    controller => $script,
278
    action     => 'add',
284
    action     => $action,
279 285
    vc         => $db,
280 286
    $db .'_id' => $self->{cv}->id,
281 287
    $db        => $name,

Auch abrufbar als: Unified diff