- its sign, not sing :D
Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
@@ -144,7 +144,7 @@ export function TaskUpsertModalContainer({
|
||||
templateStrings: {
|
||||
header: values.title,
|
||||
subHeader: `Assigned by ${currentUser.email} ${values.due_at ? `| Due on ${dayjs(values.due_at).format('MM/DD/YYYY')}` : ''}`,
|
||||
body: `<a href="${window.location.protocol}//${window.location.host}/manage/tasks/alltasks?taskid=${existingTask.id}">Please sing in to your account to view the task details.</a>`
|
||||
body: `<a href="${window.location.protocol}//${window.location.host}/manage/tasks/alltasks?taskid=${existingTask.id}">Please sign in to your account to view the task details.</a>`
|
||||
}
|
||||
}).catch(e => console.error(`Something went wrong sending email to Assigned party on Task creation. ${e.message || ''}`));
|
||||
}
|
||||
@@ -211,7 +211,7 @@ export function TaskUpsertModalContainer({
|
||||
templateStrings: {
|
||||
header: values.title,
|
||||
subHeader: `Assigned by ${currentUser.email} ${values.due_at ? `| Due on ${dayjs(values.due_at).format('MM/DD/YYYY')}` : ''}`,
|
||||
body: `<a href="${window.location.protocol}//${window.location.host}/manage/tasks/alltasks?taskid=${newTaskID}">Please sing in to your account to view the task details.</a>`
|
||||
body: `<a href="${window.location.protocol}//${window.location.host}/manage/tasks/alltasks?taskid=${newTaskID}">Please sign to your account to view the task details.</a>`
|
||||
}
|
||||
}).catch(e => console.error(`Something went wrong sending email to Assigned party on Task edit. ${e.message || ''}`));
|
||||
|
||||
|
||||
@@ -9,6 +9,12 @@ const moment = require("moment");
|
||||
// - footer - The footer of the email
|
||||
// - dateLine - The date line of the email
|
||||
|
||||
// Google cloud scheduler / Hasura Cron Jobs (Preferred)
|
||||
// Reminders every x mins
|
||||
// Event Trigger
|
||||
|
||||
// TODO use InstanceDynamicManager on the footer default to prevent the word IMEX from being hardcoded
|
||||
|
||||
const generateEmailTemplate = (strings) => {
|
||||
|
||||
let now = () =>moment().format('MM/DD/YYYY @ hh:mm a');
|
||||
|
||||
Reference in New Issue
Block a user