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:
ca6d368
)
PriceSource: Nicht rabbatierfähige Waren beachten.
author
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 7 Apr 2015 12:17:52 +0000
(14:17 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 7 Apr 2015 12:17:52 +0000
(14:17 +0200)
SL/PriceSource.pm
patch
|
blob
|
history
diff --git
a/SL/PriceSource.pm
b/SL/PriceSource.pm
index
e7a5906
..
ac419a6
100644
(file)
--- a/
SL/PriceSource.pm
+++ b/
SL/PriceSource.pm
@@
-35,6
+35,7
@@
sub available_prices {
}
sub available_discounts {
+ return if $_[0]->record_item->part->not_discountable;
map { $_->available_discounts } $_[0]->all_price_sources;
}