|
|
@ -6573,6 +6573,8 @@ exports.getDisconnectedIssuesBySupportId = async (req, reply) => {
|
|
|
|
.filter(c => c.customerId === customerId)
|
|
|
|
.filter(c => c.customerId === customerId)
|
|
|
|
.map(c => ({
|
|
|
|
.map(c => ({
|
|
|
|
text: c.text,
|
|
|
|
text: c.text,
|
|
|
|
|
|
|
|
call_status: c.call_status,
|
|
|
|
|
|
|
|
call_time: c.call_time,
|
|
|
|
commentsTime: moment(c.createdAt).tz("Asia/Kolkata").format("DD-MM-YYYY HH:mm")
|
|
|
|
commentsTime: moment(c.createdAt).tz("Asia/Kolkata").format("DD-MM-YYYY HH:mm")
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
|
@ -10070,6 +10072,8 @@ if (!orders.length) {
|
|
|
|
)
|
|
|
|
)
|
|
|
|
.map(c => ({
|
|
|
|
.map(c => ({
|
|
|
|
text: c.text,
|
|
|
|
text: c.text,
|
|
|
|
|
|
|
|
call_status: c.call_status,
|
|
|
|
|
|
|
|
call_time: c.call_time,
|
|
|
|
commentsTime: c.createdAt
|
|
|
|
commentsTime: c.createdAt
|
|
|
|
? moment(c.createdAt).tz("Asia/Kolkata").format("DD-MM-YYYY HH:mm")
|
|
|
|
? moment(c.createdAt).tz("Asia/Kolkata").format("DD-MM-YYYY HH:mm")
|
|
|
|
: null
|
|
|
|
: null
|
|
|
@ -10727,10 +10731,6 @@ exports.updateComments = async (req, reply) => {
|
|
|
|
comment: {
|
|
|
|
comment: {
|
|
|
|
...commentObj,
|
|
|
|
...commentObj,
|
|
|
|
createdAt: moment(commentObj.createdAt).format("DD-MM-YYYY HH:mm")
|
|
|
|
createdAt: moment(commentObj.createdAt).format("DD-MM-YYYY HH:mm")
|
|
|
|
},
|
|
|
|
|
|
|
|
callRecord: {
|
|
|
|
|
|
|
|
...callRecordObj,
|
|
|
|
|
|
|
|
createdAt: moment(callRecordObj.createdAt).format("DD-MM-YYYY HH:mm")
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
} catch (error) {
|
|
|
|
} catch (error) {
|
|
|
|