]> wagnertech.de Git - mfinanz.git/blobdiff - SL/PriceSource/Base.pm
Presenter: Neue Struktur in weiteren Belegen
[mfinanz.git] / SL / PriceSource / Base.pm
index 8233c58bd945d6a938167dfce2322a6d96a37412..9382f108fa8c6713e21febfbb23d5b38b894666c 100644 (file)
@@ -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;
 }
@@ -162,7 +164,7 @@ Note that constraints from the rest of the C<record> do not apply anymore. If
 information needed for the retrieval can be deleted elsewhere, then you must
 guard against that.
 
-If the price for the same coditions changed, return the new price. It will be
+If the price for the same conditions changed, return the new price. It will be
 presented as an option to the user if the record is still editable.
 
 If the price is not valid anymore or not reconstructable, return a price with