From 67f06c1e8f18a54acb36e452f00da9cee8223a43 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 7 Apr 2015 14:17:52 +0200 Subject: [PATCH] =?utf8?q?PriceSource:=20Nicht=20rabbatierf=C3=A4hige=20Wa?= =?utf8?q?ren=20beachten.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/PriceSource.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/SL/PriceSource.pm b/SL/PriceSource.pm index e7a5906dd..ac419a670 100644 --- 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; } -- 2.20.1