Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 6b3d35b1

Von Werner Hahn vor fast 2 Jahren hinzugefügt

  • ID 6b3d35b1ebadc0a3b03cbc1dcecd3e2751c8f217
  • Vorgänger 593b710d
  • Nachfolger b0bd83ba

Reclamation: Workflow Reclamation→Lieferschein ...

neuen DeliveryOrderController benutzen einlagern geht nicht

Unterschiede anzeigen:

SL/Controller/Reclamation.pm
609 609

  
610 610
# save the reclamation and redirect to the frontend subroutine for a new
611 611
# delivery order
612

  
612 613
sub action_save_and_delivery_order {
613 614
  my ($self) = @_;
614 615

  
615
  my $to_type = $self->reclamation->is_sales ? 'sales_delivery_order'
616
                                             : 'purchase_delivery_order';
616
  my $to_type = $self->reclamation->is_sales ? 'rma_delivery_order'
617
                                             : 'supplier_delivery_order';
617 618
  $self->save_and_redirect_to(
618
    controller => 'do.pl',
619
    action     => 'add_from_reclamation',
619
    controller => 'controller.pl',
620
    action     => 'DeliveryOrder/add_from_reclamation',
620 621
    type       => $to_type,
621 622
    from_id    => $self->reclamation->id,
622 623
  );

Auch abrufbar als: Unified diff