projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Loeschen von Drafts flexibler.
[kivitendo-erp.git]
/
bin
/
mozilla
/
is.pl
diff --git
a/bin/mozilla/is.pl
b/bin/mozilla/is.pl
index
d50d6d0
..
30d0a07
100644
(file)
--- a/
bin/mozilla/is.pl
+++ b/
bin/mozilla/is.pl
@@
-1451,7
+1451,7
@@
sub post {
if (!(IS->post_invoice(\%myconfig, \%$form))) {
$form->error($locale->text('Cannot post invoice!'));
}
if (!(IS->post_invoice(\%myconfig, \%$form))) {
$form->error($locale->text('Cannot post invoice!'));
}
- remove_draft();
+ remove_draft()
if $form->{remove_draft}
;
# saving the history
if(!exists $form->{addition}) {
$form->{addition} = "PRINTED AND POSTED";
# saving the history
if(!exists $form->{addition}) {
$form->{addition} = "PRINTED AND POSTED";
@@
-1461,7
+1461,7
@@
sub post {
} else {
if (IS->post_invoice(\%myconfig, \%$form)){
} else {
if (IS->post_invoice(\%myconfig, \%$form)){
- remove_draft();
+ remove_draft()
if $form->{remove_draft}
;
# saving the history
if(!exists $form->{addition}) {
if($form->{storno}) {
# saving the history
if(!exists $form->{addition}) {
if($form->{storno}) {