projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Doku in SL/DB/Part.pm - Typos und Umschreiben
[kivitendo-erp.git]
/
SL
/
PriceSource
/
PriceRules.pm
diff --git
a/SL/PriceSource/PriceRules.pm
b/SL/PriceSource/PriceRules.pm
index
c9cecf9
..
e1d1c12
100644
(file)
--- a/
SL/PriceSource/PriceRules.pm
+++ b/
SL/PriceSource/PriceRules.pm
@@
-92,7
+92,9
@@
sub make_price_from_rule {
price => $self->price_for_rule($rule),
spec => $rule->id,
description => $rule->name,
price => $self->price_for_rule($rule),
spec => $rule->id,
description => $rule->name,
+ priority => $rule->priority,
price_source => $self,
price_source => $self,
+ (invalid => t8('This Price Rule is no longer valid'))x!!$rule->obsolete,
)
}
)
}
@@
-103,7
+105,9
@@
sub make_discount_from_rule {
discount => $rule->discount / 100,
spec => $rule->id,
description => $rule->name,
discount => $rule->discount / 100,
spec => $rule->id,
description => $rule->name,
+ priority => $rule->priority,
price_source => $self,
price_source => $self,
+ (invalid => t8('This Price Rule is no longer valid'))x!!$rule->obsolete,
)
}
)
}