X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/209100ca065acebaff1294b0c1d2853529773413..818a31fa04ad54812e9cb663108c89a72589b2f8:/SL/DB/PartsGroup.pm diff --git a/SL/DB/PartsGroup.pm b/SL/DB/PartsGroup.pm index cc4508bde..ed3c164fe 100644 --- a/SL/DB/PartsGroup.pm +++ b/SL/DB/PartsGroup.pm @@ -19,4 +19,10 @@ __PACKAGE__->meta->initialize; # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. __PACKAGE__->meta->make_manager_class; +sub displayable_name { + my $self = shift; + + return join ' ', grep $_, $self->id, $self->partsgroup; +} + 1;