Some checks failed
Frontend / Unit Tests & Coverage (push) Has been skipped
Regenerate POT file (translatable strings) / Regenerate POT file (develop) (push) Failing after 1m13s
Regenerate POT file (translatable strings) / Regenerate POT file (main-hotfix) (push) Failing after 6s
Server / Tests (frappe ${{ matrix.frappe-branch }}) (push) Has been skipped
Server / Resolve frappe matrix (push) Failing after 1s
Frontend / Lint (push) Failing after 1s
Frontend / Production Build (push) Failing after 1s
Server / Coverage Wrap Up (push) Has been skipped
Frontend / Coverage Wrap Up (push) Has been skipped
108 lines
2.1 KiB
JavaScript
108 lines
2.1 KiB
JavaScript
export const leadFields = [
|
|
{
|
|
fieldname: 'lead_name',
|
|
fieldtype: 'Data',
|
|
label: 'Lead Name',
|
|
reqd: 1,
|
|
parent: 'CRM Lead',
|
|
},
|
|
{
|
|
fieldname: 'status',
|
|
fieldtype: 'Select',
|
|
label: 'Status',
|
|
options: 'New\nContacted\nQualified\nLost',
|
|
reqd: 1,
|
|
parent: 'CRM Lead',
|
|
},
|
|
{
|
|
fieldname: 'email',
|
|
fieldtype: 'Data',
|
|
label: 'Email',
|
|
options: 'Email',
|
|
parent: 'CRM Lead',
|
|
},
|
|
{
|
|
fieldname: 'lead_owner',
|
|
fieldtype: 'Link',
|
|
label: 'Lead Owner',
|
|
options: 'User',
|
|
parent: 'CRM Lead',
|
|
},
|
|
{
|
|
fieldname: 'annual_revenue',
|
|
fieldtype: 'Currency',
|
|
label: 'Annual Revenue',
|
|
precision: '2',
|
|
parent: 'CRM Lead',
|
|
},
|
|
{
|
|
fieldname: 'source',
|
|
fieldtype: 'Link',
|
|
label: 'Source',
|
|
options: 'Lead Source',
|
|
parent: 'CRM Lead',
|
|
},
|
|
{
|
|
fieldname: 'lost_reason',
|
|
fieldtype: 'Link',
|
|
label: 'Lost Reason',
|
|
options: 'CRM Lost Reason',
|
|
hidden: 1,
|
|
parent: 'CRM Lead',
|
|
},
|
|
{
|
|
fieldname: 'mobile_no',
|
|
fieldtype: 'Data',
|
|
label: 'Mobile No',
|
|
parent: 'CRM Lead',
|
|
},
|
|
{
|
|
fieldname: 'is_deal_created',
|
|
fieldtype: 'Check',
|
|
label: 'Is Deal Created',
|
|
parent: 'CRM Lead',
|
|
},
|
|
{
|
|
fieldname: 'lead_summary',
|
|
fieldtype: 'HTML',
|
|
label: 'Lead Summary',
|
|
parent: 'CRM Lead',
|
|
},
|
|
{
|
|
fieldname: 'send_brochure',
|
|
fieldtype: 'Button',
|
|
label: 'Send Brochure',
|
|
parent: 'CRM Lead',
|
|
},
|
|
{
|
|
fieldname: 'salary',
|
|
fieldtype: 'Currency',
|
|
label: 'Salary',
|
|
permlevel: 1,
|
|
parent: 'CRM Lead',
|
|
},
|
|
{
|
|
fieldname: 'priority',
|
|
fieldtype: 'Select',
|
|
label: 'Priority',
|
|
options: 'Low\nMedium\nHigh\nUrgent',
|
|
reqd: 1,
|
|
parent: 'CRM Lead',
|
|
},
|
|
{
|
|
fieldname: 'website',
|
|
fieldtype: 'Data',
|
|
label: 'Website',
|
|
parent: 'CRM Lead',
|
|
mandatory_depends_on: 'eval:doc.source === "Website"',
|
|
},
|
|
{
|
|
fieldname: 'no_of_employees',
|
|
fieldtype: 'Select',
|
|
label: 'No. of Employees',
|
|
options:
|
|
'1-10\n11-50\n51-200\n201-500\n501-1000\n1001-5000\n5001-10000\n10000+',
|
|
parent: 'CRM Lead',
|
|
},
|
|
]
|