import title and salutation for person
This commit is contained in:
parent
070e63c7b8
commit
e15d82ac9c
@ -1065,10 +1065,11 @@ public abstract class BaseOfficeDataImport extends CsvDataImport {
|
||||
}
|
||||
|
||||
private HsOfficePersonEntity addPerson(final HsOfficePersonEntity person, final Record contactRecord) {
|
||||
// TODO: title+salutation: add to person
|
||||
person.setGivenName(contactRecord.getString("first_name"));
|
||||
person.setFamilyName(contactRecord.getString("last_name"));
|
||||
person.setTradeName(contactRecord.getString("firma"));
|
||||
person.setSalutation(contactRecord.getString("salut").trim());
|
||||
person.setTitle(contactRecord.getString("title").trim());
|
||||
person.setGivenName(contactRecord.getString("first_name").trim());
|
||||
person.setFamilyName(contactRecord.getString("last_name").trim());
|
||||
person.setTradeName(contactRecord.getString("firma").trim());
|
||||
person.setPersonType(determinePersonType(contactRecord));
|
||||
|
||||
persons.put(contactRecord.getInteger("contact_id"), person);
|
||||
|
Loading…
Reference in New Issue
Block a user