X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/209100ca065acebaff1294b0c1d2853529773413..818a31fa04ad54812e9cb663108c89a72589b2f8:/SL/DB/Business.pm diff --git a/SL/DB/Business.pm b/SL/DB/Business.pm index ada525da5..25a553656 100644 --- a/SL/DB/Business.pm +++ b/SL/DB/Business.pm @@ -18,4 +18,10 @@ sub validate { return @errors; } +sub displayable_name { + my $self = shift; + + return join ' ', grep $_, $self->id, $self->description; +} + 1;