diff --git a/frontend/src/pages/Lead.vue b/frontend/src/pages/Lead.vue index b513e065..65218285 100644 --- a/frontend/src/pages/Lead.vue +++ b/frontend/src/pages/Lead.vue @@ -4,19 +4,29 @@ - (lead.doc.lead_owner = option.email)" + placeholder="Lead owner" > - - - {{ getUser(lead.doc.lead_owner).full_name }} - - + + + + + + + @@ -93,7 +103,7 @@ class="flex items-center px-3 gap-2 text-base leading-5 first:mt-4.5" > {{ field.label }} - + - (lead.doc[field.name] = option.email) " placeholder="Lead owner" - class="bg-white" > - + + + + - - {{ lead.doc[field.name] }} - + + + + + + + {{ + lead.doc[field.name] + }} + + + + + @@ -320,18 +360,12 @@ const detailSections = computed(() => { label: 'Status', type: 'select', name: 'status', - options: [ - { label: 'New', value: 'New' }, - { label: 'Contact made', value: 'Contact made' }, - { label: 'Proposal made', value: 'Proposal made' }, - { label: 'Negotiation', value: 'Negotiation' }, - { label: 'Converted', value: 'Converted' }, - ], + options: statusDropdownOptions, }, { label: 'Lead Owner', type: 'link', - name: 'full_name', + name: 'lead_owner', }, { label: 'Organization',