From 9596d4a4c336419ea3259932847d980bf391af2f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Fri, 23 Oct 2015 18:25:51 +0200 Subject: [PATCH] =?utf8?q?PriceSources:=20Namen=20der=20Quellen=20f=C3=BCr?= =?utf8?q?=20Kunden-=20und=20Lieferantenrabatt=20berichtigt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Die Klassen SL::PriceSource::Customer und Vendor verwenden als name 'customer_discount' bzw. 'vendor_discount' während SL::PriceSource::ALL 'customer' und 'vendor' benutzte. Dadurch ließen sich z.B. diese Rabattquellen nicht deaktivieren. --- SL/PriceSource/ALL.pm | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/SL/PriceSource/ALL.pm b/SL/PriceSource/ALL.pm index 09f772d87..dd6ee2faa 100644 --- a/SL/PriceSource/ALL.pm +++ b/SL/PriceSource/ALL.pm @@ -10,19 +10,19 @@ use SL::PriceSource::Business; use SL::PriceSource::PriceRules; my %price_sources_by_name = ( - master_data => 'SL::PriceSource::MasterData', - customer => 'SL::PriceSource::Customer', - vendor => 'SL::PriceSource::Vendor', - pricegroup => 'SL::PriceSource::Pricegroup', - makemodel => 'SL::PriceSource::Makemodel', - business => 'SL::PriceSource::Business', - price_rules => 'SL::PriceSource::PriceRules', + master_data => 'SL::PriceSource::MasterData', + customer_discount => 'SL::PriceSource::Customer', + vendor_discount => 'SL::PriceSource::Vendor', + pricegroup => 'SL::PriceSource::Pricegroup', + makemodel => 'SL::PriceSource::Makemodel', + business => 'SL::PriceSource::Business', + price_rules => 'SL::PriceSource::PriceRules', ); my @price_sources_order = qw( master_data - customer - vendor + customer_discount + vendor_discount pricegroup makemodel business -- 2.20.1