From aa477281a99b055eca1e0124987dc609502fb431 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Mon, 12 Oct 2015 14:30:41 +0200 Subject: [PATCH] =?utf8?q?Auftrags-Controller:=20Steuer=20inbegriffen=20nu?= =?utf8?q?r=20im=20Verkauf=20vorausw=C3=A4hlen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/Order.pm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index 193382790..59337da8a 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -259,9 +259,11 @@ sub action_customer_vendor_changed { $self->order->taxzone_id($self->order->$cv_method->taxzone_id); - $self->order->taxincluded(defined($self->order->$cv_method->taxincluded_checked) - ? $self->order->$cv_method->taxincluded_checked - : $::myconfig{taxincluded_checked}); + if ($self->order->is_sales) { + $self->order->taxincluded(defined($self->order->$cv_method->taxincluded_checked) + ? $self->order->$cv_method->taxincluded_checked + : $::myconfig{taxincluded_checked}); + } $self->_recalc(); -- 2.20.1