import { Text, Section } from "@react-email/components"; import { EmailLayout } from "./layout"; interface Props { po: { poNumber: string; title: string; paymentRef?: string | null }; } export function PaymentProcessedEmail({ po }: Props) { return ( Payment has been confirmed for purchase order {po.poNumber}.
Title {po.title} {po.paymentRef && ( <> Payment Reference {po.paymentRef} )}
Please confirm receipt in PPMS once you have received the goods or services. This will close the purchase order.
); } export default PaymentProcessedEmail;