From: Sven Schöling Date: Tue, 11 Oct 2011 12:57:21 +0000 (+0200) Subject: displayable_name methode für customer X-Git-Tag: release-2.7.0beta1~244 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e7d2012dd91644d84e9c2b281f1c7b9836180682;p=kivitendo-erp.git displayable_name methode für customer --- 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;