X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FPriceSource%2FBase.pm;h=1e8f20d9312b6b07e9e04bedeb1fcac8bce36a68;hb=d64013f4ba48d1f34e1d55f8c5f98d0ab2b5ed2b;hp=8233c58bd945d6a938167dfce2322a6d96a37412;hpb=6a973df2362439a61425f767511cb02395b56737;p=kivitendo-erp.git diff --git a/SL/PriceSource/Base.pm b/SL/PriceSource/Base.pm index 8233c58bd..1e8f20d93 100644 --- a/SL/PriceSource/Base.pm +++ b/SL/PriceSource/Base.pm @@ -21,6 +21,8 @@ sub best_discounts { die 'best_discounts needs to be implemented' } sub price_from_source { die 'price_from_source needs to be implemented:' . "@_" } +sub discount_from_source { die 'discount_from_source needs to be implemented:' . "@_" } + sub part { $_[0]->record_item->part; }