topsapp: mostra Circuit-ID do cliente
Signed-off-by: Rodrigo Martins <rodrigo@martinsevieira.adv.br>
This commit is contained in:
1 parent
d8badf1fde
commit
01f1315f9e
2 files changed
+21
No files matched your search
@@ -1145,6 +1145,8 @@ Digite /help para ver todos os comandos disponíveis!
|
|||||||
msg += ` 📦 Plano: ${nomePlano}\n`;
|
msg += ` 📦 Plano: ${nomePlano}\n`;
|
||||||
msg += ` 🔌 Status: ${statusServico}\n`;
|
msg += ` 🔌 Status: ${statusServico}\n`;
|
||||||
if (pppoeLogin) msg += ` 👤 Login PPPoE: \`${pppoeLogin}\`\n`;
|
if (pppoeLogin) msg += ` 👤 Login PPPoE: \`${pppoeLogin}\`\n`;
|
||||||
|
if (servico.dhcp_username) msg += ` 👤 DHCP Username: \`${servico.dhcp_username}\`\n`;
|
||||||
|
if (servico.dhcp_agent_circuit_id) msg += ` 🔗 Agent Circuit ID: \`${servico.dhcp_agent_circuit_id}\`\n`;
|
||||||
if (endereco) msg += ` 📍 Endereço: ${endereco}${cidade ? `, ${cidade}` : ''}\n`;
|
if (endereco) msg += ` 📍 Endereço: ${endereco}${cidade ? `, ${cidade}` : ''}\n`;
|
||||||
msg += '\n';
|
msg += '\n';
|
||||||
|
|
||||||
@@ -5540,6 +5542,19 @@ Digite /help para ver todos os comandos disponíveis!
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Dados DHCP / IPoE
|
||||||
|
if (servico.dhcp_username || servico.dhcp_agent_circuit_id) {
|
||||||
|
message += `\n🔗 Dados IPoE (DHCP Option 82):\n`;
|
||||||
|
|
||||||
|
if (servico.dhcp_username) {
|
||||||
|
message += `👤 DHCP Username: \`${servico.dhcp_username}\`\n`;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (servico.dhcp_agent_circuit_id) {
|
||||||
|
message += `🔌 Agent Circuit ID: \`${servico.dhcp_agent_circuit_id}\`\n`;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Dados de instalação
|
// Dados de instalação
|
||||||
if (servico.instalacao_endereco) {
|
if (servico.instalacao_endereco) {
|
||||||
message += `\n📍 Endereço de Instalação:\n`;
|
message += `\n📍 Endereço de Instalação:\n`;
|
||||||
|
|||||||
@@ -158,6 +158,12 @@ class TopSappManager {
|
|||||||
latitude: servico.latitude || '',
|
latitude: servico.latitude || '',
|
||||||
longitude: servico.longitude || '',
|
longitude: servico.longitude || '',
|
||||||
|
|
||||||
|
// Dados DHCP / IPoE
|
||||||
|
dhcp_username: servico.dhcp_username || '',
|
||||||
|
dhcp_agent_circuit_id: servico.dhcp_agent_circuit_id || '',
|
||||||
|
dhcp_client_id: servico.dhcp_client_id || '',
|
||||||
|
dhcp_liberar: servico.dhcp_liberar,
|
||||||
|
|
||||||
// Datas importantes
|
// Datas importantes
|
||||||
data_cadastro: servico.data_cadastro || '',
|
data_cadastro: servico.data_cadastro || '',
|
||||||
data_ativacao: servico.data_ativacao || '',
|
data_ativacao: servico.data_ativacao || '',
|
||||||
|
|||||||
Reference in new issue
Block a user