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:
3fe0232
)
Auftrags-Controller: Steuer inbegriffen nur im Verkauf vorauswählen.
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Mon, 12 Oct 2015 12:30:41 +0000
(14:30 +0200)
committer
G. Richardson
<information@kivitendo-premium.de>
Mon, 16 Nov 2015 15:15:58 +0000
(16:15 +0100)
SL/Controller/Order.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/Order.pm
b/SL/Controller/Order.pm
index
1933827
..
59337da
100644
(file)
--- 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();