projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
displayable_name methode für customer
[kivitendo-erp.git]
/
SL
/
DB
/
Customer.pm
diff --git
a/SL/DB/Customer.pm
b/SL/DB/Customer.pm
index
0adffbd
..
f9f8901
100644
(file)
--- 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;