Revision f822c107
Von Werner Hahn vor mehr als 2 Jahren hinzugefügt
- ID f822c107ddbe750fc0a9e587ac74a75c7e7fcd55
- Vorgänger cc6300b3
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
Reclamation: Workflow Reclamation→Lieferschein ...
neuen DeliveryOrderController benutzen einlagern geht nicht