format_address
Formats an address.
Example
1
{{ $partner | format_address }} => abc,DK
Input
| Type | Parameter | Description | Required |
|---|---|---|---|
| object | partner | The partner to format the address for. Comes before the | sign. | Required |
| array | partnerLocation | The location of the partner to format the address for | |
| bool | showLocationContact | Whether to show the location contact, defaults to true | |
| string | originCountry | The origin country to format the address for, defaults to null |
Output
| Type | Description |
|---|---|
| string | The formatted address |