url fix
This commit is contained in:
@@ -7,11 +7,11 @@ import nodemailer from "nodemailer";
|
|||||||
//const nodemailer = require("modemailer");
|
//const nodemailer = require("modemailer");
|
||||||
export const verifyEmployer = async (req, res)=>{
|
export const verifyEmployer = async (req, res)=>{
|
||||||
//const nodemailer = require("modemailer");
|
//const nodemailer = require("modemailer");
|
||||||
const employee_name = req.body.firstname + " " + req.body.lastname; // "EMPLOYEE NAME";
|
const employee_name = req.body.firstname + " " + req.body.lastname; // "EMPLOYEE NAME";
|
||||||
const signatory_name = "SIGNATORY_FIRSTNAME";
|
const signatory_name = "SIGNATORY_FIRSTNAME";
|
||||||
const approve_link = "http://localhost:6035";
|
const approve_link = "https://digifi-employer.chiefsoft.net/";
|
||||||
const approve_password = "1234567890";
|
const approve_password = "1234567890";
|
||||||
|
const application_uid = req.body.application_uid;
|
||||||
|
|
||||||
const mainHtml = signatory_name+ ",\n" +
|
const mainHtml = signatory_name+ ",\n" +
|
||||||
"<br><br>\n" +
|
"<br><br>\n" +
|
||||||
@@ -20,7 +20,7 @@ const approve_password = "1234567890";
|
|||||||
"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." +
|
"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 " +
|
" Please click on the link below to confirm this before we can approve his loan\n " +
|
||||||
"<br><br>\n" +
|
"<br><br>\n" +
|
||||||
"***<a href='"+approve_link+"'>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" +
|
"<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" +
|
"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";
|
"Finance team, <br> FCMB<br>\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user