Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function formSubmitReply(e) {
- var usuarioEmail = 'psi.danielhdez@gmail.com';
- var ss = SpreadsheetApp.getActiveSpreadsheet();
- var sheet = ss.getSheets()[1];
- var msg = "<p>Buen día solicito tu apoyo con el siguiente proceso:</p>"+ "<br>"+
- "Fecha Nacimiento: <b>" +e.values[1]+ "</b><br>"+
- "Puesto: <b>" +e.values[2]+ "</b><br>"+
- "Salario: <b>" +e.values[3]+ "</b><br>"+
- "Salario catorcenal:" +e.values[24]+ "<br>"+
- "Salario diario fiscal:" +e.values[25]+ "<br>"+
- "Salario diario fiscal integrado:" +e.values[31]+ "<br>"+
- "Salario fiscal catorcenal:" +e.values[28]+ "<br>"+
- "Salario efectivo catorcenal :" +e.values[50]+ "<br>"+
- "Salario diario efectivo:" +e.values[32]+ "<br>"+
- "Salario diario TOTAL:" +e.values[33]+ "<br>"+
- MailApp.sendEmail({
- to: usuarioEmail,
- subject: "solicitud de alta de empleado",
- htmlBody: msg
- }
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement