From: Bernd Bleßmann Date: Mon, 12 Oct 2015 12:30:41 +0000 (+0200) Subject: Auftrags-Controller: Steuer inbegriffen nur im Verkauf vorauswählen. X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=aa477281a99b055eca1e0124987dc609502fb431;p=kivitendo-erp.git Auftrags-Controller: Steuer inbegriffen nur im Verkauf vorauswählen. --- 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();