patch: add customer complete address on the project profile

This commit is contained in:
Marjolaine Le Bon 2021-05-21 12:20:06 +02:00
parent 79fc3d4c3b
commit a5acc10b64

View File

@ -108,7 +108,7 @@ div(
solid-display.segment.full.labelled-avatar.two-lines.whitespace-normal.children.children-full.sm-children-full.margin-bottom-medium(
bind-resources
fields='customerName(titlecustomername, customer.name), customerAddress(titlecustomeraddress, customer.address)'
fields='customerName(titlecustomername, customer.name), customerAddress(titlecustomeraddress, customer.address, customer.postcode, customer.city, customer.country)'
value-titlecustomername=''
value-titlecustomeraddress=''
@ -117,6 +117,9 @@ div(
class-customerAddress="segment block margin-top-small margin-bottom-medium whitespace-normal"
class-titlecustomername="text-semibold text-color-heading margin-right-xxsmall"
class-titlecustomeraddress="text-semibold text-color-heading margin-right-xxsmall"
class-customer.postcode="margin-left-xxsmall"
class-customer.city="margin-left-xxsmall"
class-customer.country="margin-left-xxsmall"
data-trans='value-titlecustomername=project.profile.customerName;value-titlecustomeraddress=project.profile.customerAddress'
)