From a5acc10b64118e7cdfeeec724346f4e9f74ab50e Mon Sep 17 00:00:00 2001
From: Marjolaine Le Bon <marjolaine@happy-dev.fr>
Date: Fri, 21 May 2021 12:20:06 +0200
Subject: [PATCH] patch: add customer complete address on the project profile

---
 src/views/partials/project/page-project-profile.pug | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/views/partials/project/page-project-profile.pug b/src/views/partials/project/page-project-profile.pug
index c8671313..a45d792e 100644
--- a/src/views/partials/project/page-project-profile.pug
+++ b/src/views/partials/project/page-project-profile.pug
@@ -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'
       )
-- 
GitLab