diff --git a/controller/verifyEmployer.js b/controller/verifyEmployer.js index 742388a..8ee9147 100644 --- a/controller/verifyEmployer.js +++ b/controller/verifyEmployer.js @@ -17,18 +17,20 @@ export const verifyEmployer = async (req, res)=>{ $api_data["signatory_password"] = "1000011"; $api_data["signatory_email"] = "ameye+signatory@chiefsoft.com"; $api_data["signatory_name"] = "Signatory UBA"; + $api_data["processing_bank_name"] = "Processing Bank"; req.body.processing_bank_name + $api_data["processing_bank_email"] = "processingbank@email.com"; req.body.processing_bank_email */ const mainHtml = signatory_name+ ",\n" + "

\n" + "\n" + - "We hope this email meets you well. " + - "This serves as an employer’s commitment to notify you that your staff ("+employee_name+") who holds the position of software engineer in your organization took a loan facility from our bank and has prompted us to notify you so as to confirm his existence as a staff of your organization." + + " We hope this email meets you well. " + + "This serves as an employer’s commitment to notify you that your staff ("+employee_name+") who holds the position of software engineer in your organization took a loan facility from our bank and has prompted us to notify you so as to confirm his existence as a staff of your organization." + " Please click on the link below to confirm this before we can approve his loan\n " + "

\n" + - "***Employer commitment link (You are to login with this email address and default password "+approve_password+")\n " + + "***Employer commitment link (You are to login with this email address and default password "+approve_password+" )\n " + "

\n" + - "If you have any questions or concerns with respect to this email, please contact our finance department at finance@fcmb.webmail.\n \n Kind Regards,

\n" + - "Finance team,
FCMB
\n"; + "If you have any questions or concerns with respect to this email, please contact our finance department at "+req.body.processing_bank_email+".\n \n Kind Regards,

\n" + + "Finance team,
"+req.body.processing_bank_name+"
\n"; try { console.log("verifyEmployer REQ-----------------------------------------");