]> wagnertech.de Git - mfinanz.git/blobdiff - SL/PriceSource/Pricegroup.pm
Locale: Bei parase_date_string undef sofort undef zurückgeben.
[mfinanz.git] / SL / PriceSource / Pricegroup.pm
index 127ec660e3036d7ae54b8ba65f5abe37a1c5d446..2a8adae13395a5beae6668ea4994f16ffae974e3 100644 (file)
@@ -23,7 +23,7 @@ sub available_prices {
   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;
@@ -33,6 +33,8 @@ sub available_prices {
   } @$prices;
 }
 
+sub available_discounts { }
+
 sub price_from_source {
   my ($self, $source, $spec) = @_;
 
@@ -57,6 +59,8 @@ sub best_price {
   return $best_price || ();
 }
 
+sub best_discount { }
+
 sub make_price {
   my ($self, $price_obj) = @_;