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(.))