X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FPriceSource%2FMasterData.pm;h=bf22c99eac07dda0fce3952a11d65d9b08a32f4a;hb=b775c378552e6b5bf59f98046cdf4e577cd351df;hp=14fe88f34787010985f5be3c98ffc0b52a05d55f;hpb=2d975c005034c80400abd22cfd6cd737d172045a;p=kivitendo-erp.git diff --git a/SL/PriceSource/MasterData.pm b/SL/PriceSource/MasterData.pm index 14fe88f34..bf22c99ea 100644 --- a/SL/PriceSource/MasterData.pm +++ b/SL/PriceSource/MasterData.pm @@ -31,6 +31,8 @@ sub price_from_source { : do { die "unknown spec '$spec'" }; } +sub discount_from_source { } + sub best_price { $_[0]->record->is_sales ? $_[0]->make_sellprice @@ -73,6 +75,7 @@ sub make_lastcost { spec => 'lastcost', description => t8('Lastcost'), price_source => $self, + priority => 2, ); }