From: Sven Schöling Date: Thu, 16 Oct 2014 14:19:28 +0000 (+0200) Subject: PriceRule: Als ungültig markierte Preise flaggen. X-Git-Tag: release-3.2.0beta~120 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=9b8edca08cd8be8a7e4e49b545a7122e5f28c870;p=kivitendo-erp.git PriceRule: Als ungültig markierte Preise flaggen. --- diff --git a/SL/PriceSource/PriceRules.pm b/SL/PriceSource/PriceRules.pm index c9cecf931..140706d47 100644 --- a/SL/PriceSource/PriceRules.pm +++ b/SL/PriceSource/PriceRules.pm @@ -93,6 +93,7 @@ sub make_price_from_rule { spec => $rule->id, description => $rule->name, price_source => $self, + (invalid => t8('This Price Rule is no longer valid'))x!!$rule->obsolete, ) } @@ -104,6 +105,7 @@ sub make_discount_from_rule { spec => $rule->id, description => $rule->name, price_source => $self, + (invalid => t8('This Price Rule is no longer valid'))x!!$rule->obsolete, ) }