diff --git a/crm/api/doc.py b/crm/api/doc.py
index a9fc2237..ce611e15 100644
--- a/crm/api/doc.py
+++ b/crm/api/doc.py
@@ -40,12 +40,16 @@ def get_filterable_fields(doctype: str):
"Data",
"Float",
"Int",
+ "Currency",
"Link",
"Long Text",
"Select",
"Small Text",
"Text Editor",
"Text",
+ "Duration",
+ "Date",
+ "Datetime",
]
c = get_controller(doctype)
@@ -84,6 +88,8 @@ def get_filterable_fields(doctype: str):
{"fieldname": "_liked_by", "fieldtype": "Data", "label": "Liked By"},
{"fieldname": "_comments", "fieldtype": "Text", "label": "Comments"},
{"fieldname": "_assign", "fieldtype": "Text", "label": "Assigned To"},
+ {"fieldname": "creation", "fieldtype": "Datetime", "label": "Created On"},
+ {"fieldname": "modified", "fieldtype": "Datetime", "label": "Last Updated On"},
]
for field in standard_fields:
if (
diff --git a/crm/fcrm/doctype/crm_lead/crm_lead.json b/crm/fcrm/doctype/crm_lead/crm_lead.json
index a314c941..127cdfde 100644
--- a/crm/fcrm/doctype/crm_lead/crm_lead.json
+++ b/crm/fcrm/doctype/crm_lead/crm_lead.json
@@ -134,15 +134,13 @@
"fieldname": "no_of_employees",
"fieldtype": "Select",
"label": "No. of Employees",
- "options": "1-10\n11-50\n51-200\n201-500\n501-1000\n1000+",
- "read_only": 1
+ "options": "1-10\n11-50\n51-200\n201-500\n501-1000\n1000+"
},
{
"fetch_from": "organization.annual_revenue",
"fieldname": "annual_revenue",
"fieldtype": "Currency",
- "label": "Annual Revenue",
- "read_only": 1
+ "label": "Annual Revenue"
},
{
"fieldname": "lead_owner",
@@ -294,7 +292,7 @@
"image_field": "image",
"index_web_pages_for_search": 1,
"links": [],
- "modified": "2024-01-22 14:33:21.980634",
+ "modified": "2024-01-28 18:35:02.604536",
"modified_by": "Administrator",
"module": "FCRM",
"name": "CRM Lead",
diff --git a/frontend/src/components/Controls/DatePicker.vue b/frontend/src/components/Controls/DatePicker.vue
new file mode 100644
index 00000000..5ffc45d4
--- /dev/null
+++ b/frontend/src/components/Controls/DatePicker.vue
@@ -0,0 +1,265 @@
+
+