projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Datenbank-Upgrade-Skripte für Release 3.5.5
[kivitendo-erp.git]
/
SL
/
PriceSource
/
Customer.pm
diff --git
a/SL/PriceSource/Customer.pm
b/SL/PriceSource/Customer.pm
index
34f60a7
..
fe67d91
100644
(file)
--- a/
SL/PriceSource/Customer.pm
+++ b/
SL/PriceSource/Customer.pm
@@
-43,7
+43,7
@@
sub discount_from_source {
)
}
)
}
- if (!$self->record->customer) {
+ if (!$self->record->c
an('customer') || !$self->record->c
ustomer) {
return SL::PriceSource::Discount->new(
discount => $customer->discount,
spec => $customer->id,
return SL::PriceSource::Discount->new(
discount => $customer->discount,
spec => $customer->id,