Spaces:
Running
Running
for L2L template email result add this structure:
Browse filesSubject: Servicio Claro - Alta L2L [Bandwith] - N掳 Enlace: [service number] [input Client]
Estimado Cliente:
Le informamos que se ha realizado con 茅xito el ALTA a [bandwith] del servicio solicitado, a continuacion la informaci贸n:
[previous result]
Ante inconvenientes con la puesta en marcha, favor de comunicarse conmigo. Posteriormente, por solicitudes o reclamos, Centro de Gestion Empresarial gestionempresarial@claro.com.ar
Atte.-
script.js
CHANGED
|
@@ -203,6 +203,9 @@ emailText += ` Le informamos que se ha realizado con 茅xito
|
|
| 203 |
emailOutput.textContent = emailText;
|
| 204 |
}
|
| 205 |
function generateL2LEmail() {
|
|
|
|
|
|
|
|
|
|
| 206 |
const siteAAddress = document.getElementById('siteAAddress').value;
|
| 207 |
const siteADevice = document.getElementById('siteADevice').value;
|
| 208 |
const siteAPort = document.getElementById('siteAPort').value;
|
|
@@ -210,16 +213,22 @@ emailOutput.textContent = emailText;
|
|
| 210 |
const siteBDevice = document.getElementById('siteBDevice').value;
|
| 211 |
const siteBPort = document.getElementById('siteBPort').value;
|
| 212 |
|
| 213 |
-
let emailText = `Subject: Servicio Claro - Alta
|
| 214 |
-
emailText += `
|
| 215 |
-
emailText += `
|
|
|
|
|
|
|
|
|
|
|
|
|
| 216 |
emailText += `Direcci贸n: ${siteAAddress}\n`;
|
| 217 |
emailText += `Equipo: ${siteADevice}\n`;
|
| 218 |
emailText += `Puerto de servicio: ${siteAPort}\n\n`;
|
| 219 |
emailText += `Extremo B:\n`;
|
| 220 |
emailText += `Direcci贸n: ${siteBAddress}\n`;
|
| 221 |
emailText += `Equipo: ${siteBDevice}\n`;
|
| 222 |
-
emailText += `Puerto de servicio: ${siteBPort}\n`;
|
|
|
|
|
|
|
| 223 |
|
| 224 |
emailOutput.textContent = emailText;
|
| 225 |
}
|
|
|
|
| 203 |
emailOutput.textContent = emailText;
|
| 204 |
}
|
| 205 |
function generateL2LEmail() {
|
| 206 |
+
const client = document.getElementById('client').value;
|
| 207 |
+
const serviceNumber = document.getElementById('serviceNumber').value;
|
| 208 |
+
const bandwidth = document.getElementById('bandwidth').value;
|
| 209 |
const siteAAddress = document.getElementById('siteAAddress').value;
|
| 210 |
const siteADevice = document.getElementById('siteADevice').value;
|
| 211 |
const siteAPort = document.getElementById('siteAPort').value;
|
|
|
|
| 213 |
const siteBDevice = document.getElementById('siteBDevice').value;
|
| 214 |
const siteBPort = document.getElementById('siteBPort').value;
|
| 215 |
|
| 216 |
+
let emailText = `Subject: Servicio Claro - Alta L2L ${bandwidth} - N掳 Enlace: ${serviceNumber} ${client}\n\n`;
|
| 217 |
+
emailText += `Estimado Cliente:\n\n`;
|
| 218 |
+
emailText += ` Le informamos que se ha realizado con 茅xito el ALTA a ${bandwidth} del servicio solicitado, a continuacion la informaci贸n:\n\n`;
|
| 219 |
+
emailText += `Cliente: ${client}\n`;
|
| 220 |
+
emailText += `N掳 de enlace: ${serviceNumber}\n`;
|
| 221 |
+
emailText += `Ancho de banda: ${bandwidth}\n\n`;
|
| 222 |
+
emailText += `Extremo A:\n`;
|
| 223 |
emailText += `Direcci贸n: ${siteAAddress}\n`;
|
| 224 |
emailText += `Equipo: ${siteADevice}\n`;
|
| 225 |
emailText += `Puerto de servicio: ${siteAPort}\n\n`;
|
| 226 |
emailText += `Extremo B:\n`;
|
| 227 |
emailText += `Direcci贸n: ${siteBAddress}\n`;
|
| 228 |
emailText += `Equipo: ${siteBDevice}\n`;
|
| 229 |
+
emailText += `Puerto de servicio: ${siteBPort}\n\n`;
|
| 230 |
+
emailText += `Ante inconvenientes con la puesta en marcha, favor de comunicarse conmigo. Posteriormente, por solicitudes o reclamos, Centro de Gestion Empresarial gestionempresarial@claro.com.ar\n\n`;
|
| 231 |
+
emailText += `Atte.-`;
|
| 232 |
|
| 233 |
emailOutput.textContent = emailText;
|
| 234 |
}
|