X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/feef731c40b0b06fd7b566f4dcce322bc68b7946..bce4bcf8584846bdfc22c9d78e1661bd425ebe9f:/SL/DB/Pricegroup.pm diff --git a/SL/DB/Pricegroup.pm b/SL/DB/Pricegroup.pm index 329dc41b2..b3183005f 100644 --- a/SL/DB/Pricegroup.pm +++ b/SL/DB/Pricegroup.pm @@ -5,4 +5,13 @@ use strict; use SL::DB::MetaSetup::Pricegroup; use SL::DB::Manager::Pricegroup; +__PACKAGE__->meta->initialize; + +sub displayable_name { + my $self = shift; + + return join ' ', grep $_, $self->id, $self->pricegroup; +} + + 1;