projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git]
/
SL
/
DB
/
Contact.pm
diff --git
a/SL/DB/Contact.pm
b/SL/DB/Contact.pm
index
81b743f
..
bed7e9c
100644
(file)
--- a/
SL/DB/Contact.pm
+++ b/
SL/DB/Contact.pm
@@
-45,4
+45,10
@@
sub full_name_dep {
. join '', map { " ($_)" } grep $_, $self->cp_abteilung;
}
+sub formal_greeting {
+ my ($self) = @_;
+ die 'not an accessor' if @_ > 1;
+ join ' ', grep $_, $self->cp_title, $self->cp_givenname, $self->cp_name;
+}
+
1;