fix: client => customer

This commit is contained in:
jblemee 2018-12-12 17:07:55 +01:00
parent ccdea21ece
commit b8bbe2bd0d
4 changed files with 11 additions and 11 deletions

View File

@ -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/`
)

View File

@ -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',

View File

@ -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,

View File

@ -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'
)