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:
80e089c
)
Bei Stornos das aktuelle Datum nehmen und nicht das Rechnungsdatum
author
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 12 Dec 2013 16:01:10 +0000
(17:01 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 12 Dec 2013 16:02:07 +0000
(17:02 +0100)
bin/mozilla/is.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/is.pl
b/bin/mozilla/is.pl
index
b8851ff
..
e7515e1
100644
(file)
--- a/
bin/mozilla/is.pl
+++ b/
bin/mozilla/is.pl
@@
-36,6
+36,7
@@
use SL::IS;
use SL::PE;
use SL::OE;
use Data::Dumper;
+use DateTime;
use List::Util qw(max sum);
use SL::DB::Default;
@@
-857,6
+858,7
@@
sub storno {
$form->{storno} = 1;
$form->{id} = "";
$form->{invnumber} = "Storno zu " . $form->{invnumber};
+ $form->{invdate} = DateTime->today->to_lxoffice;
$form->{rowcount}++;
post();