Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 54a2608c

Von Werner Hahn vor mehr als 2 Jahren hinzugefügt

  • ID 54a2608cd1ca909e14a147aeefc5e5687dec1c95
  • Vorgänger 3839b495
  • Nachfolger 2611d434

Reclamation: Workflow Reclamation→Lieferschein ...

neuen DeliveryOrderController benutzen einlagern geht nicht

Unterschiede anzeigen:

SL/Controller/Reclamation.pm
# save the reclamation and redirect to the frontend subroutine for a new
# delivery order
sub action_save_and_delivery_order {
my ($self) = @_;
my $to_type = $self->reclamation->is_sales ? 'sales_delivery_order'
: 'purchase_delivery_order';
my $to_type = $self->reclamation->is_sales ? 'rma_delivery_order'
: 'supplier_delivery_order';
$self->save_and_redirect_to(
controller => 'do.pl',
action => 'add_from_reclamation',
controller => 'controller.pl',
action => 'DeliveryOrder/add_from_reclamation',
type => $to_type,
from_id => $self->reclamation->id,
);

Auch abrufbar als: Unified diff