projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5ea309
)
displayable_name methode für customer
author
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 11 Oct 2011 12:57:21 +0000
(14:57 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 11 Oct 2011 12:57:21 +0000
(14:57 +0200)
SL/DB/Customer.pm
patch
|
blob
|
history
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;