Revision 15aab04c
Von Bernd Bleßmann vor mehr als 2 Jahren hinzugefügt
SL/Controller/DeliveryOrder.pm | ||
---|---|---|
861 | 861 |
flash_later('info', t8('You are adding a new part while you are editing another document. You will be redirected to your document when saving the new part or aborting this form.')); |
862 | 862 |
|
863 | 863 |
my @redirect_params = ( |
864 |
controller => 'Part', |
|
865 |
action => 'add', |
|
866 |
part_type => $::form->{add_item}->{create_part_type}, |
|
867 |
callback => $callback, |
|
868 |
show_abort => 1,
|
|
864 |
controller => 'Part',
|
|
865 |
action => 'add',
|
|
866 |
part_type => $::form->{add_item}->{create_part_type},
|
|
867 |
callback => $callback,
|
|
868 |
inline_create => 1,
|
|
869 | 869 |
); |
870 | 870 |
|
871 | 871 |
$self->redirect_to(@redirect_params); |
Auch abrufbar als: Unified diff
neuen Artikel aus Angebots-/Auftrags-Maske anlegen: Variable besser benannt