From dd5cd96c8b0018f73b6b344b6158bf36c9362898 Mon Sep 17 00:00:00 2001 From: Werner Hahn Date: Mon, 26 Apr 2021 00:20:28 +0200 Subject: [PATCH] =?utf8?q?Bugfix:=20taxinclusive=20mit=20aus=20dem=20Auftr?= =?utf8?q?ag=20=C3=BCbernehmen=20wenn=20aus=20Lieferschein=20eine=20Rechnu?= =?utf8?q?ng=20erstellt=20wird?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/do.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index fc38c52ad..dec786a73 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -1042,7 +1042,8 @@ sub invoice { if (my $order = SL::DB::Manager::Order->find_by(ordnumber => $form->{ordnumber}, $vc_id => $form->{"$vc_id"})) { $order->load; $form->{orddate} = $order->transdate_as_date; - $form->{$_} = $order->$_ for qw(payment_id salesman_id taxzone_id quonumber); + $form->{$_} = $order->$_ for qw(payment_id salesman_id taxzone_id quonumber taxincluded); + $form->{taxincluded_changed_by_user} = 1; } } -- 2.20.1