Revision 15aab04c
Von Bernd Bleßmann vor mehr als 2 Jahren hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
1165 | 1165 |
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.')); |
1166 | 1166 |
|
1167 | 1167 |
my @redirect_params = ( |
1168 |
controller => 'Part', |
|
1169 |
action => 'add', |
|
1170 |
part_type => $::form->{add_item}->{create_part_type}, |
|
1171 |
callback => $callback, |
|
1172 |
show_abort => 1,
|
|
1168 |
controller => 'Part',
|
|
1169 |
action => 'add',
|
|
1170 |
part_type => $::form->{add_item}->{create_part_type},
|
|
1171 |
callback => $callback,
|
|
1172 |
inline_create => 1,
|
|
1173 | 1173 |
); |
1174 | 1174 |
|
1175 | 1175 |
$self->redirect_to(@redirect_params); |
Auch abrufbar als: Unified diff
neuen Artikel aus Angebots-/Auftrags-Maske anlegen: Variable besser benannt