fix template

This commit is contained in:
CHIEFSOFT\ameye
2024-06-15 14:16:31 -04:00
parent 6bbcb0ad5d
commit ac727f0af5
+7 -5
View File
@@ -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" +
"<br><br>\n" +
"\n" +
"We hope this email meets you well. " +
"This serves as an employers 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 employers commitment to notify you that your staff (<b>"+employee_name+"</b>) 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 " +
"<br><br>\n" +
"***<a href='"+approve_link+"/"+application_uid+"'>Employer commitment link</a> (You are to login with this email address and default password "+approve_password+")\n " +
"***<a href='"+approve_link+"/"+application_uid+"'>Employer commitment link</a> (You are to login with this email address and default password "+approve_password+" )\n " +
"<br><br>\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,<br><br>\n" +
"Finance team, <br> FCMB<br>\n";
"If you have any questions or concerns with respect to this email, please contact our finance department at <b>"+req.body.processing_bank_email+"</b>.\n \n Kind Regards,<br><br>\n" +
"Finance team, <br> "+req.body.processing_bank_name+"<br>\n";
try {
console.log("verifyEmployer REQ-----------------------------------------");