From fd938095aa302bb170d501c07c235c86ae8f0b47 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 14 Oct 2014 17:55:25 +0200 Subject: [PATCH] PriceRule: Anpassung von Preisregeln auf Preisquellenrabatte --- SL/PriceSource/PriceRules.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SL/PriceSource/PriceRules.pm b/SL/PriceSource/PriceRules.pm index 15be4d4b1..697369d0f 100644 --- a/SL/PriceSource/PriceRules.pm +++ b/SL/PriceSource/PriceRules.pm @@ -26,6 +26,8 @@ sub available_prices { map { $self->make_price_from_rule($_) } @$rules; } +sub available_discounts { } + sub price_from_source { my ($self, $source, $spec) = @_; @@ -46,6 +48,8 @@ sub best_price { $self->make_price_from_rule($min_price); } +sub best_discount { } + sub price_for_rule { my ($self, $rule) = @_; $rule->price_or_discount -- 2.20.1