From 009b0731e7b85eec9e259de8534747c17f655dcd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 12 Dec 2013 17:01:10 +0100 Subject: [PATCH] Bei Stornos das aktuelle Datum nehmen und nicht das Rechnungsdatum --- bin/mozilla/is.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index b8851ff6a..e7515e1d0 100644 --- 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(); -- 2.20.1