Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision bcbdd909

Von Tamino Steinert vor etwa 1 Jahr hinzugefügt

  • ID bcbdd90905edd2aa0086e0912524b329755c96b4
  • Vorgänger 1d11b99c
  • Nachfolger 1c934069

Model::Record: Funktionsaufruf angepasst für new_from_worklow ...

und new_from_workflow_multi

Unterschiede anzeigen:

SL/Controller/Reclamation.pm
125 125
  }
126 126

  
127 127
  my $order = SL::DB::Order->new(id => $::form->{from_id})->load;
128
  my $reclamation = SL::Model::Record->new_from_workflow($order, ref($self->reclamation), $self->type);
128
  my $reclamation = SL::Model::Record->new_from_workflow($order, $self->type);
129 129

  
130 130
  $self->reclamation($reclamation);
131 131

  
......
151 151
  }
152 152

  
153 153
  my $delivery_order = SL::DB::DeliveryOrder->new(id => $::form->{from_id})->load;
154
  my $reclamation = SL::Model::Record->new_from_workflow($delivery_order, ref($self->reclamaiton), $self->type);
154
  my $reclamation = SL::Model::Record->new_from_workflow($delivery_order, $self->type);
155 155

  
156 156
  $self->reclamation($reclamation);
157 157

  
......
177 177
  }
178 178

  
179 179
  my $invoice = SL::DB::Invoice->new(id => $::form->{from_id})->load;
180
  my $reclamation = SL::Model::Record->new_from_workflow($invoice, ref($self->reclamaiton), $self->type);
180
  my $reclamation = SL::Model::Record->new_from_workflow($invoice, $self->type);
181 181

  
182 182
  $self->reclamation($reclamation);
183 183

  

Auch abrufbar als: Unified diff