From ecc8ae310174e6bb053879ee228c2fdf4163430e Mon Sep 17 00:00:00 2001 From: Matheo Bonucia Date: Fri, 9 Aug 2024 13:24:22 +0000 Subject: [PATCH] =?UTF-8?q?O=20agente=20s=C3=B3=20poder=C3=A1=20ter=20aces?= =?UTF-8?q?so=20ao=20clique=20do=20bot=C3=A3o=20para=20alterar=20ramal=20c?= =?UTF-8?q?aso=20ele=20n=C3=A3o=20esteja=20logado.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agente/agentert.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agente/agentert.php b/agente/agentert.php index fcb1d440..387324db 100644 --- a/agente/agentert.php +++ b/agente/agentert.php @@ -385,7 +385,7 @@ if (!IsAjax()) { if ($acao == 'atualiza') { $dadosMonitor["pausa_motivo_ausente"] = 0; //O agente só poderá ter acesso ao clique do botão para alterar ramal caso ele não esteja logado - $dadosMonitor["isAgenteLogado"] = GetStatusAgente() ? sprintf('Configurar Ramal ') : sprintf('Configurar Ramal '); + $dadosMonitor["isAgenteLogado"] = GetStatusAgente() ? sprintf('Configurar Ramal ') : sprintf('Configurar Ramal ', RAMAL_MONITOR_AGENTE, CANAL_MONITOR_AGENTE); $dadosMonitor["dac_padrao"] = $_SESSION["SS_ultimo_dac_agente"] ? $_SESSION["SS_ultimo_dac_agente"] : $_SESSION[SS_DAC_PADRAO_ID]; if ($_SESSION['SS_IS_LOGGED'] == true && $_SESSION[SS_STATUS_AGENTE] == "OFF") {