fix: made industry readonly & removed job title from organization
This commit is contained in:
parent
1203990faf
commit
2f6b55e7bd
@ -20,6 +20,7 @@
|
||||
"column_break_lcuv",
|
||||
"lead_owner",
|
||||
"status",
|
||||
"job_title",
|
||||
"source",
|
||||
"converted",
|
||||
"organization_tab",
|
||||
@ -28,7 +29,6 @@
|
||||
"no_of_employees",
|
||||
"column_break_dbsv",
|
||||
"website",
|
||||
"job_title",
|
||||
"annual_revenue",
|
||||
"industry",
|
||||
"contact_tab",
|
||||
@ -185,11 +185,9 @@
|
||||
"search_index": 1
|
||||
},
|
||||
{
|
||||
"fetch_from": "organization.job_title",
|
||||
"fieldname": "job_title",
|
||||
"fieldtype": "Data",
|
||||
"label": "Job Title",
|
||||
"read_only": 1
|
||||
"label": "Job Title"
|
||||
},
|
||||
{
|
||||
"fieldname": "organization_tab",
|
||||
@ -219,7 +217,7 @@
|
||||
"image_field": "image",
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2023-11-09 12:44:18.770076",
|
||||
"modified": "2023-11-13 13:35:35.783003",
|
||||
"modified_by": "Administrator",
|
||||
"module": "FCRM",
|
||||
"name": "CRM Lead",
|
||||
|
||||
@ -11,7 +11,6 @@
|
||||
"organization_logo",
|
||||
"column_break_pnpp",
|
||||
"website",
|
||||
"job_title",
|
||||
"annual_revenue",
|
||||
"industry"
|
||||
],
|
||||
@ -43,11 +42,6 @@
|
||||
"fieldname": "column_break_pnpp",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "job_title",
|
||||
"fieldtype": "Data",
|
||||
"label": "Job Title"
|
||||
},
|
||||
{
|
||||
"fieldname": "annual_revenue",
|
||||
"fieldtype": "Currency",
|
||||
@ -63,7 +57,7 @@
|
||||
"image_field": "organization_logo",
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2023-11-06 15:28:26.610882",
|
||||
"modified": "2023-11-13 13:32:39.029742",
|
||||
"modified_by": "Administrator",
|
||||
"module": "FCRM",
|
||||
"name": "CRM Organization",
|
||||
|
||||
@ -206,7 +206,10 @@
|
||||
:placeholder="field.placeholder"
|
||||
class="form-control"
|
||||
>
|
||||
<template v-if="field.create" #footer="{ value, close }">
|
||||
<template
|
||||
v-if="field.create"
|
||||
#footer="{ value, close }"
|
||||
>
|
||||
<div>
|
||||
<Button
|
||||
variant="ghost"
|
||||
@ -471,6 +474,14 @@ const detailSections = computed(() => {
|
||||
tooltip:
|
||||
'It is a read only field, value is fetched from organization',
|
||||
},
|
||||
{
|
||||
label: 'Industry',
|
||||
type: 'read_only',
|
||||
name: 'industry',
|
||||
value: organization.value?.industry,
|
||||
tooltip:
|
||||
'It is a read only field, value is fetched from organization',
|
||||
},
|
||||
{
|
||||
label: 'Job title',
|
||||
type: 'data',
|
||||
@ -488,19 +499,6 @@ const detailSections = computed(() => {
|
||||
],
|
||||
change: (data) => updateField('source', data.value),
|
||||
},
|
||||
{
|
||||
label: 'Industry',
|
||||
type: 'link',
|
||||
name: 'industry',
|
||||
placeholder: 'Select industry...',
|
||||
options: [
|
||||
{ label: 'Advertising', value: 'Advertising' },
|
||||
{ label: 'Agriculture', value: 'Agriculture' },
|
||||
{ label: 'Banking', value: 'Banking' },
|
||||
{ label: 'Others', value: 'Others' },
|
||||
],
|
||||
change: (data) => updateField('industry', data.value),
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user