projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PriceSource: 0,0000 Preise nicht als best_price erlauben
[kivitendo-erp.git]
/
SL
/
PriceSource.pm
diff --git
a/SL/PriceSource.pm
b/SL/PriceSource.pm
index
5237003
..
9f7c110
100644
(file)
--- a/
SL/PriceSource.pm
+++ b/
SL/PriceSource.pm
@@
-35,7
+35,7
@@
sub available_prices {
}
sub best_price {
- min_by { $_->price } map { $_->best_price } $_[0]->all_price_sources;
+ min_by { $_->price }
grep { $_->price > 0 }
map { $_->best_price } $_[0]->all_price_sources;
}
sub empty_price {