Closed
Description
Describe the bug
The address in the orderEdit component is not displayed correctly
To Reproduce
Steps to reproduce the behavior:
- Create an order
- Click on the order in the admin panel
Expected behavior
Order should be displayed correctly
Background (please complete the following information):
- NodeJS Version - 20.7.0
- Postgres Version - 15.4
- EverShop Version - rc7
- OS: [e.g. Window, Ubuntu, Mac-OS] - Debian
- Browser [e.g. Chrome, Safari] - FF
Additional context
shippingAddress.address1
does not show up at all.
This might be different based on locale, but for North America, you would want:
<div>
<span>{shippingAddress.fullName}</span>
</div>
<div>
<span>{shippingAddress.address1}</span>
</div>
<div>
<span>{`${shippingAddress.city}, ${shippingAddress.province.name}`}</span>
</div>
<div>
<span>{`${shippingAddress.postcode}, ${shippingAddress.country.name}`}</span>
</div>
<div>
<span>{shippingAddress.telephone}</span>
</div>