projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PriceSource: Bei Kundenrabatten nicht rabattierfähige Artikel ignorieren
[kivitendo-erp.git]
/
SL
/
PriceSource
/
Customer.pm
diff --git
a/SL/PriceSource/Customer.pm
b/SL/PriceSource/Customer.pm
index
6bf06bc
..
52d35ee
100644
(file)
--- a/
SL/PriceSource/Customer.pm
+++ b/
SL/PriceSource/Customer.pm
@@
-16,6
+16,7
@@
sub available_prices { }
sub available_discounts {
my ($self, %params) = @_;
+ return if $self->part->not_discountable;
return unless $self->record->is_sales;
return unless $self->record->customer;
return unless $self->record->customer->discount != 0;