diff --git a/crm/crm/doctype/crm_call_log/crm_call_log.json b/crm/crm/doctype/crm_call_log/crm_call_log.json index 8ed05487..8eb1ce4d 100644 --- a/crm/crm/doctype/crm_call_log/crm_call_log.json +++ b/crm/crm/doctype/crm_call_log/crm_call_log.json @@ -14,6 +14,7 @@ "call_received_by", "medium", "start_time", + "note", "column_break_ufnp", "type", "to", @@ -99,11 +100,17 @@ "fieldtype": "Link", "label": "Lead/Deal", "options": "CRM Lead" + }, + { + "fieldname": "note", + "fieldtype": "Link", + "label": "Note", + "options": "CRM Note" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-08-28 01:34:24.864624", + "modified": "2023-08-28 11:42:33.487807", "modified_by": "Administrator", "module": "CRM", "name": "CRM Call Log", diff --git a/crm/crm/doctype/crm_note/crm_note.json b/crm/crm/doctype/crm_note/crm_note.json index 2af17976..146852b7 100644 --- a/crm/crm/doctype/crm_note/crm_note.json +++ b/crm/crm/doctype/crm_note/crm_note.json @@ -34,8 +34,13 @@ } ], "index_web_pages_for_search": 1, - "links": [], - "modified": "2023-08-26 19:09:21.850043", + "links": [ + { + "link_doctype": "CRM Call Log", + "link_fieldname": "note" + } + ], + "modified": "2023-08-28 11:48:42.100802", "modified_by": "Administrator", "module": "CRM", "name": "CRM Note", diff --git a/frontend/src/pages/CallLog.vue b/frontend/src/pages/CallLog.vue new file mode 100644 index 00000000..0b22b9b0 --- /dev/null +++ b/frontend/src/pages/CallLog.vue @@ -0,0 +1,147 @@ + + + diff --git a/frontend/src/pages/CallLogs.vue b/frontend/src/pages/CallLogs.vue index 98af5c94..323e09c8 100644 --- a/frontend/src/pages/CallLogs.vue +++ b/frontend/src/pages/CallLogs.vue @@ -39,6 +39,7 @@ const callLogs = createListResource({ type: 'list', doctype: 'CRM Call Log', fields: [ + 'name', 'from', 'to', 'duration', diff --git a/frontend/src/router.js b/frontend/src/router.js index 55ac8790..44da837f 100644 --- a/frontend/src/router.js +++ b/frontend/src/router.js @@ -44,6 +44,12 @@ const routes = [ name: 'Call Logs', component: () => import('@/pages/CallLogs.vue'), }, + { + path: '/call-logs/:callLogId', + name: 'Call Log', + component: () => import('@/pages/CallLog.vue'), + props: true, + }, { path: '/dashboard', name: 'Dashboard',