New | personal and professional titles added for employee users in vcard
personal and professional titles added for employee users in vcard
This commit is contained in:
parent
6d2159e8f0
commit
f035bd774d
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ $v = new vCard();
|
|||
$v->setProdId('Dolibarr '.DOL_VERSION);
|
||||
|
||||
$v->setUid('DOLIBARR-USERID-'.$user2->id);
|
||||
$v->setName($user2->lastname, $user2->firstname, "", $user2->civility, "");
|
||||
$v->setName($user2->lastname, $user2->firstname, "", $user2->civility_code, "");
|
||||
$v->setFormattedName($user2->getFullName($langs, 1));
|
||||
|
||||
$v->setPhoneNumber($user2->phone_pro, "TYPE=WORK;VOICE");
|
||||
|
|
|
|||
Loading…
Reference in a new issue