Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 854d733e

Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt

  • ID 854d733e4adfa524aeaf748b1c1c1f1645fbb91f
  • Vorgänger 1c934069
  • Nachfolger 45823f3f

Records: Workflow-Methoden angepasst und vereinheitlicht

Unterschiede anzeigen:

bin/mozilla/io.pl
sub sales_reclamation {
my $id = $::form->{id};
my $type = $::form->{type};
require SL::Controller::Reclamation;
my $c = SL::Controller::Reclamation->new();
$c->redirect_to(
controller => 'Reclamation',
action => 'add_from_sales_invoice',
from_id => $id,
type => 'sales_reclamation',
action => 'add_from_record',
type => 'sales_reclamation',
from_id => $id,
from_type => $type,
);
}
sub purchase_reclamation {
my $id = $::form->{id};
my $type = $::form->{type};
require SL::Controller::Reclamation;
my $c = SL::Controller::Reclamation->new();
$c->redirect_to(
controller => 'Reclamation',
action => 'add_from_purchase_invoice',
from_id => $id,
type => 'purchase_reclamation',
action => 'add_from_record',
type => 'purchase_reclamation',
from_id => $id,
from_type => $type,
);
}

Auch abrufbar als: Unified diff