Revision 77e57dde
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
bin/mozilla/do.pl | ||
---|---|---|
1352 | 1352 |
|
1353 | 1353 |
sub save_and_reclamation { |
1354 | 1354 |
my $form = $main::form; |
1355 |
my $id = $form->{id}; |
|
1355 | 1356 |
my $type = $form->{type}; |
1356 | 1357 |
|
1357 | 1358 |
# save the delivery order |
... | ... | |
1361 | 1362 |
$type eq 'sales_delivery_order' ? 'sales_reclamation' |
1362 | 1363 |
: 'purchase_reclamation'; |
1363 | 1364 |
$form->{callback} = |
1364 |
'controller.pl?action=Reclamation/add_from_delivery_order' . |
|
1365 |
'&type=' . $to_reclamation_type . |
|
1366 |
'&from_id=' . $form->escape($form->{id}); |
|
1365 |
'controller.pl?action=Reclamation/add_from_record' |
|
1366 |
. '&type=' . $to_reclamation_type |
|
1367 |
. '&from_id=' . $form->escape($id) |
|
1368 |
. '&from_type=' . $form->escape($type) |
|
1369 |
; |
|
1367 | 1370 |
$form->redirect; |
1368 | 1371 |
} |
1369 | 1372 |
|
Auch abrufbar als: Unified diff
Records: Workflow-Methoden angepasst und vereinheitlicht