From 63e0e34cb761c00638a8e52573ad315e6e73a9df Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Tue, 10 Sep 2024 15:53:51 -0400 Subject: [PATCH] Messaging update and add variables --- mccs-it/thermal/modules/Thermal.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/mccs-it/thermal/modules/Thermal.js b/mccs-it/thermal/modules/Thermal.js index 4ae635f..2a47e8f 100644 --- a/mccs-it/thermal/modules/Thermal.js +++ b/mccs-it/thermal/modules/Thermal.js @@ -3,6 +3,14 @@ const fs = require('fs'); const { spawn } = require('child_process'); 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 = { name: "Contracting Company", email: "helpme@contractor.com", @@ -22,7 +30,7 @@ module.exports = { `Student ID: ${studentId}`, '', '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'); @@ -94,7 +102,7 @@ module.exports = { `${mccContractor.phone}`, `${mccContractor.email}`, `${mccContractor.site}\n`, - 'For other technical support contact IT Support at ITHelp@MaineCC.edu or (207)453-5079' + receiptFooter ]; const infoString = infoArray.join('\n');