X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/70ff48b402fcd79c156c7594c43acf12d78a4480..dfb76ebf04df9aed8ba63d7b51bc558d2928030e:/SL/DB/Customer.pm diff --git a/SL/DB/Customer.pm b/SL/DB/Customer.pm index 0adffbddd..f9f890167 100644 --- a/SL/DB/Customer.pm +++ b/SL/DB/Customer.pm @@ -50,4 +50,10 @@ sub short_address { return join ', ', grep { $_ } $self->street, $self->zipcode, $self->city; } +sub displayable_name { + my $self = shift; + + return join ' ', grep $_, $self->customernumber, $self->name; +} + 1;