projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PriceSources: discount_from_source analog zu price_from_source implemeniert.
[kivitendo-erp.git]
/
SL
/
PriceSource
/
Customer.pm
diff --git
a/SL/PriceSource/Customer.pm
b/SL/PriceSource/Customer.pm
index
52d35ee
..
c0cfbc0
100644
(file)
--- a/
SL/PriceSource/Customer.pm
+++ b/
SL/PriceSource/Customer.pm
@@
-29,7
+29,9
@@
sub available_discounts {
);
}
-sub price_from_source {
+sub price_from_source { }
+
+sub discount_from_source {
my ($self, $source, $spec) = @_;
my $customer = SL::DB::Customer->load_cached($spec);