Revision 0a50b37c
Von Sven Schöling vor mehr als 8 Jahren hinzugefügt
bin/mozilla/is.pl | ||
---|---|---|
1174 | 1174 |
|
1175 | 1175 |
$main::lxdebug->leave_sub(); |
1176 | 1176 |
} |
1177 |
|
|
1178 |
sub dispatcher { |
|
1179 |
for my $action (qw( |
|
1180 |
print update ship_to e_mail storno post_payment use_as_new credit_note |
|
1181 |
delete post order preview post_and_e_mail print_and_post save_draft |
|
1182 |
mark_as_paid |
|
1183 |
)) { |
|
1184 |
if ($::form->{"action_$action"}) { |
|
1185 |
call_sub($action); |
|
1186 |
return; |
|
1187 |
} |
|
1188 |
} |
|
1189 |
|
|
1190 |
$::form->error($::locale->text('No action defined.')); |
|
1191 |
} |
Auch abrufbar als: Unified diff
Rechnungsmasken auf dispatcher Mechanismus umgestellt