Revision d946f59b
Von Sven Schöling vor fast 18 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
2509 | 2509 |
$lxdebug->leave_sub(); |
2510 | 2510 |
} |
2511 | 2511 |
|
2512 |
sub e_mail { |
|
2513 |
$lxdebug->enter_sub(); |
|
2514 |
|
|
2515 |
$form->{saveasnew} = 1; |
|
2516 |
$form->{closed} = 0; |
|
2517 |
$form->{print_and_save} = 1; |
|
2518 |
map { delete $form->{$_} } qw(printed emailed queued); |
|
2519 |
|
|
2520 |
# Let Lx-Office assign a new order number if the user hasn't changed the |
|
2521 |
# previous one. If it has been changed manually then use it as-is. |
|
2522 |
my $idx = $form->{type} =~ /_quotation$/ ? "quonumber" : "ordnumber"; |
|
2523 |
if ($form->{saved_xyznumber} && |
|
2524 |
($form->{saved_xyznumber} eq $form->{$idx})) { |
|
2525 |
delete($form->{$idx}); |
|
2526 |
} |
|
2527 |
|
|
2528 |
&save; |
|
2529 |
|
|
2530 |
&edit_e_mail; |
|
2531 |
|
|
2532 |
$lxdebug->leave_sub(); |
|
2533 |
} |
|
2534 |
|
Auch abrufbar als: Unified diff
is.pl->post entwirrt.
emails speichern/buchen nun rechnungen/auftraege vor dem aufrufen der maske