X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/2d975c005034c80400abd22cfd6cd737d172045a..b90ff6b18df92c98b1b875d14835d1fdf9ff339a:/SL/PriceSource/MasterData.pm 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, ); }