1
0
forked from test/crm

fix: added more call status

This commit is contained in:
Shariq Ansari 2024-01-13 14:01:38 +05:30
parent 4718843c4c
commit d35f80a2f4
2 changed files with 12 additions and 0 deletions

View File

@ -249,6 +249,9 @@ const breadcrumbs = computed(() => [
const statusLabelMap = {
Completed: 'Completed',
Busy: 'Declined',
Failed: 'Failed',
Queued: 'Queued',
Cancelled: 'Cancelled',
Ringing: 'Ringing',
'No Answer': 'Missed Call',
'In Progress': 'In Progress',
@ -257,6 +260,9 @@ const statusLabelMap = {
const statusColorMap = {
Completed: 'green',
Busy: 'orange',
Failed: 'red',
Queued: 'gray',
Cancelled: 'gray',
Ringing: 'gray',
'No Answer': 'red',
'In Progress': 'blue',

View File

@ -120,6 +120,9 @@ const rows = computed(() => {
const statusLabelMap = {
Completed: 'Completed',
Busy: 'Declined',
Failed: 'Failed',
Queued: 'Queued',
Cancelled: 'Cancelled',
Ringing: 'Ringing',
'No Answer': 'Missed Call',
'In Progress': 'In Progress',
@ -128,6 +131,9 @@ const statusLabelMap = {
const statusColorMap = {
Completed: 'green',
Busy: 'orange',
Failed: 'red',
Queued: 'gray',
Cancelled: 'gray',
Ringing: 'gray',
'No Answer': 'red',
'In Progress': 'blue',