diff --git a/public/js/relatorios/historicoChamadas/index.js b/public/js/relatorios/historicoChamadas/index.js index bdaf342..bdeaf07 100644 --- a/public/js/relatorios/historicoChamadas/index.js +++ b/public/js/relatorios/historicoChamadas/index.js @@ -58,19 +58,27 @@ function montaChat(messages, cliente_id) { if (message.type == "transfer") { chat.innerHTML += `
- ${message.content} por ${message.profile_name}, ${datesend}. + ${message.content}, ${datesend}.

`; } - if (message.type == "finish" || message.type == "re_start" || message.type == "recover") { + if (message.type == "finish" || message.type == "recover") { chat.innerHTML += `
- ${message.content} + ${message.content} ${message.profile_name}, ${datesend}.

`; } + if (message.type == "re_start") { + chat.innerHTML += ` +
+ ${message.content} ${datesend}. +
+
+ `; + } if (message.type != "text") { const sendobj = { filename: message.file_name,