diff --git a/crm/fcrm/doctype/crm_call_log/crm_call_log.py b/crm/fcrm/doctype/crm_call_log/crm_call_log.py index 0147b9ac..132e9a4a 100644 --- a/crm/fcrm/doctype/crm_call_log/crm_call_log.py +++ b/crm/fcrm/doctype/crm_call_log/crm_call_log.py @@ -69,6 +69,10 @@ class CRMCallLog(Document): "duration", "from", "to", + "note", + "recording_url", + "reference_doctype", + "reference_docname", "creation", ] return {'columns': columns, 'rows': rows} diff --git a/frontend/src/components/Icons/CheckCircleIcon.vue b/frontend/src/components/Icons/CheckCircleIcon.vue new file mode 100644 index 00000000..5daed8c7 --- /dev/null +++ b/frontend/src/components/Icons/CheckCircleIcon.vue @@ -0,0 +1,23 @@ + + + + + + + + + + + + diff --git a/frontend/src/components/ListViews/CallLogsListView.vue b/frontend/src/components/ListViews/CallLogsListView.vue index 7ccd86a6..b8302a50 100644 --- a/frontend/src/components/ListViews/CallLogsListView.vue +++ b/frontend/src/components/ListViews/CallLogsListView.vue @@ -3,10 +3,7 @@ :columns="columns" :rows="rows" :options="{ - getRowRoute: (row) => ({ - name: 'Call Log', - params: { callLogId: row.name }, - }), + onRowClick: (row) => emit('showCallLog', row.name), selectable: options.selectable, showTooltip: options.showTooltip, resizeColumn: options.resizeColumn, diff --git a/frontend/src/components/Modals/CallLogModal.vue b/frontend/src/components/Modals/CallLogModal.vue new file mode 100644 index 00000000..3aa7c4a8 --- /dev/null +++ b/frontend/src/components/Modals/CallLogModal.vue @@ -0,0 +1,185 @@ + + + + + + {{ __('Call Details') }} + + + + + + + + + + + + + {{ field.value.caller.label }} + + + + + {{ field.value.receiver.label }} + + + + {{ field.value }} + + + + + + {{ field.value }} + + + field.link()" + /> + + + + + + + + + + diff --git a/frontend/src/pages/CallLogs.vue b/frontend/src/pages/CallLogs.vue index 28bb5983..280c11a4 100644 --- a/frontend/src/pages/CallLogs.vue +++ b/frontend/src/pages/CallLogs.vue @@ -31,6 +31,7 @@ rowCount: callLogs.data.row_count, totalCount: callLogs.data.total_count, }" + @showCallLog="showCallLog" @loadMore="() => loadMore++" @columnWidthUpdated="() => triggerResize++" @updatePageCount="(count) => (updatedPageCount = count)" @@ -47,6 +48,11 @@ {{ __('No Logs Found') }} +