Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 790ba772

Von Tamino Steinert vor etwa 1 Jahr hinzugefügt

  • ID 790ba772927ec5fc7d713cbaac223c713c804345
  • Vorgänger dee08286
  • Nachfolger d2d06133

Model::Record: new_from_workflow_multi implementiert

Unterschiede anzeigen:

SL/Controller/DeliveryOrder.pm
181 181
  # make new order from given orders
182 182
  my @multi_orders = map { SL::DB::DeliveryOrder->new(id => $_)->load } @multi_ids;
183 183
  $self->{converted_from_oe_id} = join ' ', map { $_->id } @multi_orders;
184
  $self->order(SL::DB::DeliveryOrder->new_from_multi(\@multi_orders, sort_sources_by => 'transdate'));
184
  my $target_type = "sales_delivery_order";
185
  my $delivery_order = SL::Model::Record->new_from_workflow_multi(\@multi_orders, $target_type, sort_sources_by => 'transdate');
186
  $self->order($delivery_order);
185 187

  
186 188
  $self->action_edit();
187 189
}

Auch abrufbar als: Unified diff