Update party.customerperson to latest functions

Description

The party.customerperson archetype uses:

  • a tortuous derived expression for the name node, that was created before the expr functions were added:

  • multi-line format for the description node
    This displays a single-line in the UI, as the new-line is ignored.

These should be updated to:

  • expr:ifempty(/details/companyName, concat(/details/lastName,',',/details/firstName))

  • concat(party:getBillingAddress(., true()),' - ',party:getHomeTelephone(.))

respectively.

Environment

None

Status

Assignee

Tim Anderson

Reporter

Tim Anderson

Labels

None

Components

Fix versions

Affects versions

Priority

Trivial
Configure