]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/PriceRule.pm
PriceRule: Priorität auf 2 Werte einschränken
[mfinanz.git] / SL / DB / PriceRule.pm
index 7dfd197037f7d38688c8177f52c75cd0f0d7ec06..5c2552ddbdaa3f024e8c18a90665365f2a48f592 100644 (file)
@@ -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;