Skip to content

Commit

Permalink
Add instructions to ppr email
Browse files Browse the repository at this point in the history
  • Loading branch information
ansonjwhe committed Apr 12, 2024
1 parent ff204a4 commit e6e71ca
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions backend/emails/emails.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,16 @@ const getSFTicketInfoHTML = async (sf) => {
Ticket Code: ${sf.code} <br />
Sponsorship Fund: ${sf.name} <br />
Allocated Funding: CAD ${currencyFormatter.format(
sf.funding_allocation
)} <br/ >
sf.funding_allocation
)} <br/ >
Funding Spent: CAD ${currencyFormatter.format(
sf.funding_spent
)} <br />
sf.funding_spent
)} <br />
${sf.proposal_url ? `Proposal URL: ${sf.proposal_url} <br />` : ``}
${
sf.presentation_url
? `Presentation URL: ${sf.presentation_url} <br />`
: ``
}
${sf.presentation_url
? `Presentation URL: ${sf.presentation_url} <br />`
: ``
}
Status: ${sf.status} <br />
Reporter: ${reporter.displayName} &lt;${reporter.email}&gt; <br />
Created: ${new Date(sf.createdAt).toDateString()} <br />
Expand Down Expand Up @@ -233,7 +232,8 @@ const sendEmailPPRApprovedToReporter = async (ppr) => {
const HTMLPart =
getMainMessageHTML(
`Your Personal Purchase Request has been approved! Please purchase the approved item(s).<br>
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:<br>
https://uwaterloo.ca/engineering-endowment-foundation/getting-funding/spending-funding/submitting-reimbursement-request`
) +
(await getPPRTicketInfoHTML(ppr)) +
getTicketLinkHTML(ppr.path)
Expand Down

0 comments on commit e6e71ca

Please sign in to comment.