X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b2fad3c4e94141c2b1ccc4dc5951d330a5b455c5..72180323f463c9814fbcf21c3376201e6829b21b:/SL/DB/PriceRule.pm diff --git a/SL/DB/PriceRule.pm b/SL/DB/PriceRule.pm index 7dfd19703..5c2552ddb 100644 --- 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;