From b8bbe2bd0d621c4d7fd4de72302708c3f510341d Mon Sep 17 00:00:00 2001
From: jblemee <jblemee@gmail.com>
Date: Wed, 12 Dec 2018 17:07:55 +0100
Subject: [PATCH] fix: client => customer

---
 src/page-project-create.pug  |  2 +-
 src/page-project-edit.pug    |  4 ++--
 src/page-project-profile.pug | 12 ++++++------
 src/page-projects.pug        |  4 ++--
 4 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/page-project-create.pug b/src/page-project-create.pug
index 11d7b45e..1e235d64 100644
--- a/src/page-project-create.pug
+++ b/src/page-project-create.pug
@@ -2,7 +2,7 @@ h1 New project
 .form-view
   sib-form.block(
     data-src=`${sdn}/projects/`,
-    range-client=`${sdn}/clients/`,
+    range-customer=`${sdn}/customers/`,
     widget-team='sib-form-multiple-dropdown',
     range-team=`${sdn}/members/`
   )
diff --git a/src/page-project-edit.pug b/src/page-project-edit.pug
index 76032bfc..859cea07 100644
--- a/src/page-project-edit.pug
+++ b/src/page-project-edit.pug
@@ -2,9 +2,9 @@ h1 Edit project
   //- sib-display(data-fields="name" bind-resources)]
 .form-view
   sib-form(
-    range-client=`${sdn}/clients/`,
+    range-customer=`${sdn}/customers/`,
     range-team=`${sdn}/members/`,
-    data-fields=`name, phone, client, description, team, jabberRoom, foaf:jabberID`,
+    data-fields=`name, phone, customer, description, team, jabberRoom, foaf:jabberID`,
     widget-jabberRoom='sib-form-checkbox',
     widget-description='sib-form-textarea',
     widget-team='hdapp-link-more',
diff --git a/src/page-project-profile.pug b/src/page-project-profile.pug
index 1428d151..c7cc89b0 100644
--- a/src/page-project-profile.pug
+++ b/src/page-project-profile.pug
@@ -1,5 +1,5 @@
 .frame
-  template#client-template
+  template#customer-template
     div#clientBox
       div
         h2 Client :
@@ -13,13 +13,13 @@
         h2 Contact :
 
   sib-display(
-    data-fields='title, client.logo, label-description, description, client',
-    set-title='const-title1,phone,client.name,const-title2, name',
-    widget-client.logo='sib-display-img',
-    template-client='client-template',
+    data-fields='title, customer.logo, label-description, description, customer',
+    set-title='const-title1,phone, customer.name,const-title2, name',
+    widget-customer.logo='sib-display-img',
+    template-customer='customer-template',
     widget-team='sib-display-lookuplist',
     value-label-description="Description:",
-    value-label-client="Client:",
+    value-label-customer="Client:",
     value-const-title1="N°:",
     value-const-title2="-",
     bind-resources,
diff --git a/src/page-projects.pug b/src/page-projects.pug
index 1c706c37..4490ae25 100644
--- a/src/page-projects.pug
+++ b/src/page-projects.pug
@@ -3,8 +3,8 @@ div
   h1 Projects
   sib-display(
     data-src=`${sdn}/projects/`,
-    data-fields='phone, client, name',
-    widget-client='hdapp-client',
+    data-fields='phone, customer, name',
+    widget-customer='hdapp-client',
     search-fields='phone, name',
     next='project'
   )
-- 
GitLab