From: Sven Schöling Date: Tue, 7 Apr 2015 12:17:52 +0000 (+0200) Subject: PriceSource: Nicht rabbatierfähige Waren beachten. X-Git-Tag: release-3.2.1~9 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=67f06c1e8f18a54acb36e452f00da9cee8223a43;p=kivitendo-erp.git PriceSource: Nicht rabbatierfähige Waren beachten. --- 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; }