projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PriceRule: Priorität auf 2 Werte einschränken
[kivitendo-erp.git]
/
SL
/
DB
/
PriceRule.pm
diff --git
a/SL/DB/PriceRule.pm
b/SL/DB/PriceRule.pm
index
7dfd197
..
5c2552d
100644
(file)
--- a/
SL/DB/PriceRule.pm
+++ b/
SL/DB/PriceRule.pm
@@
-119,5
+119,12
@@
sub in_use {
|| SL::DB::Manager::InvoiceItem->get_all_count(query => [ active_price_source => $price_source_spec ]);
}
+sub priority_as_text {
+ my ($self) = @_;
+
+ return t8('Override') if $self->priority == 4;
+ t8('Normal');
+}
+
1;