Messaging update and add variables

This commit is contained in:
Skylar Grant 2024-09-10 15:53:51 -04:00
parent cf14224a8e
commit 63e0e34cb7

View File

@ -3,6 +3,14 @@ const fs = require('fs');
const { spawn } = require('child_process'); const { spawn } = require('child_process');
const path = require('path'); const path = require('path');
const info = {
deptName: "IT Support",
supportEmail: "ITHelp@MaineCC.edu",
supportPhone: "(207) 453-5079"
}
const receiptFooter = `For other technical support, contact ${info.deptName} at ${info.supportEmail} or ${info.supportPhone}.`;
const mccContractor = { const mccContractor = {
name: "Contracting Company", name: "Contracting Company",
email: "helpme@contractor.com", email: "helpme@contractor.com",
@ -22,7 +30,7 @@ module.exports = {
`Student ID: ${studentId}`, `Student ID: ${studentId}`,
'', '',
'Note: the MyKV Portal uses your username to sign in, not email.', 'Note: the MyKV Portal uses your username to sign in, not email.',
'For technical support contact IT Support at ITHelp@MaineCC.edu or (207)453-5079' receiptFooter
]; ];
const infoString = infoArray.join('\n'); const infoString = infoArray.join('\n');
@ -94,7 +102,7 @@ module.exports = {
`${mccContractor.phone}`, `${mccContractor.phone}`,
`${mccContractor.email}`, `${mccContractor.email}`,
`${mccContractor.site}\n`, `${mccContractor.site}\n`,
'For other technical support contact IT Support at ITHelp@MaineCC.edu or (207)453-5079' receiptFooter
]; ];
const infoString = infoArray.join('\n'); const infoString = infoArray.join('\n');