projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71b8b51
)
history_erp Eintrag für Verkaufsrechnung, die storniert wird
author
G. Richardson
<information@kivitendo-premium.de>
Tue, 3 Feb 2015 07:32:25 +0000
(08:32 +0100)
committer
G. Richardson
<information@kivitendo-premium.de>
Wed, 4 Feb 2015 15:59:58 +0000
(16:59 +0100)
bin/mozilla/is.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/is.pl
b/bin/mozilla/is.pl
index
c44351d
..
4adc9f7
100644
(file)
--- a/
bin/mozilla/is.pl
+++ b/
bin/mozilla/is.pl
@@
-861,6
+861,11
@@
sub storno {
$form->error($locale->text('Cannot storno invoice for a closed period!'));
}
+ # save the history of invoice being stornoed
+ $form->{snumbers} = qq|invnumber_| . $form->{invnumber};
+ $form->{addition} = "STORNO";
+ $form->save_history;
+
map({ my $key = $_; delete($form->{$key}) unless (grep({ $key eq $_ } qw(id login password type))); } keys(%{ $form }));
invoice_links();