my $prices = SL::DB::Manager::Price->get_all(
query => [ parts_id => $item->parts_id, price => { gt => 0 } ],
with_objects => 'pricegroup',
- order_by => 'pricegroun.id',
+ order_by => 'pricegroup.id',
);
return () unless @$prices;
return $self->make_price($price);
}
+sub discount_from_source { }
+
sub best_price {
my ($self, %params) = @_;