From 6a0821a59b7a0bd7fe5c948c4115c61bb5f2ff42 Mon Sep 17 00:00:00 2001 From: Calum Mackervoy Date: Mon, 13 Jan 2020 11:50:45 +0100 Subject: [PATCH] customer dropdown for project create --- src/page-project-create.pug | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/page-project-create.pug b/src/page-project-create.pug index 80cbcea..87182c3 100644 --- a/src/page-project-create.pug +++ b/src/page-project-create.pug @@ -7,24 +7,15 @@ range-members=`${endpoints.users}`, range-team=`${endpoints.users}`, - fields='block-project__info(customer.name, name, customer.logo, description), block-project__fee(fieldset-fee, businessProvider, businessProviderFee), block-project__customer(fieldset-customer, customer.companyRegister, customer.address, customer.firstName, customer.lastName, customer.role, customer.email, customer.phone)', + fields='block-project__info(customer, name, description), block-project__fee(fieldset-fee, businessProvider, businessProviderFee)', - label-customer.name='Customer\'s name', + label-customer='Customer', + range-customer=`${endpoints.customers}`, label-name='Project\'s name', - label-customer.logo='Customer\'s logo', label-description='Project description', widget-fieldset-fee='hd-template-project-title', label-businessProvider='Business provider', label-businessProviderFee='Amount of the contribution', - - widget-fieldset-customer='hd-template-project-title', - label-customer.companyRegister='Company register', - label-customer.address='Address', - label-customer.firstName='Name of the contact at the customer\'s premises', - label-customer.lastName='Firstname of the contact at the customer\'s premises', - label-customer.role='Role within the company', - label-customer.email='Email', - label-customer.phone='Phone' ) \ No newline at end of file