We're updating the issue view to help you get more done. 

Add party:getAddress(party, purpose)

Description

Add a jxpath extension function:

1 party:getAddress(party, purpose)

That returns a formatted address for a party with the given purpose.
If there is no location contact, it should format the first preferred location contact.
If there is no preferred location contact, it should format the first location contact.
If there are no location contacts, it should return an empty string.

Environment

None

Status

Assignee

Tim Anderson

Reporter

Tim Anderson

Labels

None

Fix versions

Priority

Minor