Revision 6670c15e
Von Werner Hahn vor 3 Monaten hinzugefügt
SL/Controller/DeliveryOrder.pm | ||
---|---|---|
284 | 284 |
$self->js_reset_order_and_item_ids_after_save; |
285 | 285 |
} |
286 | 286 |
|
287 |
my $redirect_url = $self->url_for( |
|
288 |
action => 'edit', |
|
289 |
type => $self->type, |
|
290 |
id => $self->order->id, |
|
291 |
); |
|
292 |
|
|
287 | 293 |
my $format = $::form->{print_options}->{format}; |
288 | 294 |
my $media = $::form->{print_options}->{media}; |
289 | 295 |
my $formname = $::form->{print_options}->{formname}; |
... | ... | |
358 | 364 |
|
359 | 365 |
$self->save_history('PRINTED'); |
360 | 366 |
|
361 |
$self->js |
|
362 |
->run('kivi.ActionBar.setEnabled', '#save_and_email_action') |
|
363 |
->render; |
|
367 |
$self->js->redirect_to($redirect_url)->render; |
|
364 | 368 |
} |
365 | 369 |
sub action_preview_pdf { |
366 | 370 |
my ($self) = @_; |
Auch abrufbar als: Unified diff
Fix: DeliveryController: Beim Speichern und drucken redirect ...
damit alle Actions und Tabs eines gespeicherten Lieferschein zur
Verfügung stehen.