diff --git a/backend/emails/emails.js b/backend/emails/emails.js index 9f96882..143b8ec 100644 --- a/backend/emails/emails.js +++ b/backend/emails/emails.js @@ -99,17 +99,16 @@ const getSFTicketInfoHTML = async (sf) => { Ticket Code: ${sf.code}
Sponsorship Fund: ${sf.name}
Allocated Funding: CAD ${currencyFormatter.format( - sf.funding_allocation - )}
+ sf.funding_allocation + )}
Funding Spent: CAD ${currencyFormatter.format( - sf.funding_spent - )}
+ sf.funding_spent + )}
${sf.proposal_url ? `Proposal URL: ${sf.proposal_url}
` : ``} - ${ - sf.presentation_url - ? `Presentation URL: ${sf.presentation_url}
` - : `` - } + ${sf.presentation_url + ? `Presentation URL: ${sf.presentation_url}
` + : `` + } Status: ${sf.status}
Reporter: ${reporter.displayName} <${reporter.email}>
Created: ${new Date(sf.createdAt).toDateString()}
@@ -233,7 +232,8 @@ const sendEmailPPRApprovedToReporter = async (ppr) => { const HTMLPart = getMainMessageHTML( `Your Personal Purchase Request has been approved! Please purchase the approved item(s).
- Upload your proof of purchase at the ticket link below to request reimbursement.` + Upload your proof of purchase at the ticket link below and follow the instructions at this link:
+ https://uwaterloo.ca/engineering-endowment-foundation/getting-funding/spending-funding/submitting-reimbursement-request` ) + (await getPPRTicketInfoHTML(ppr)) + getTicketLinkHTML(ppr.path)