28 lines
1.2 KiB
TypeScript
28 lines
1.2 KiB
TypeScript
import { Text, Section } from "@react-email/components";
|
|
import { EmailLayout } from "./layout";
|
|
|
|
interface Props {
|
|
po: { poNumber: string; title: string };
|
|
}
|
|
|
|
export function VendorIdNeededEmail({ po }: Props) {
|
|
return (
|
|
<EmailLayout>
|
|
<Text style={{ fontSize: "16px", color: "#111827", marginTop: 0 }}>
|
|
A vendor ID is required before purchase order <strong>{po.poNumber}</strong> can proceed.
|
|
</Text>
|
|
<Section style={{ backgroundColor: "#fffbeb", borderRadius: "8px", padding: "16px", border: "1px solid #fef3c7" }}>
|
|
<Text style={{ margin: "0 0 4px", fontSize: "13px", color: "#6b7280" }}>PO Number</Text>
|
|
<Text style={{ margin: "0 0 12px", fontWeight: "600", fontFamily: "monospace" }}>{po.poNumber}</Text>
|
|
<Text style={{ margin: "0 0 4px", fontSize: "13px", color: "#6b7280" }}>Title</Text>
|
|
<Text style={{ margin: 0 }}>{po.title}</Text>
|
|
</Section>
|
|
<Text style={{ fontSize: "14px", color: "#374151" }}>
|
|
Please log in to PPMS, update the vendor details on this order, and the manager
|
|
will be notified to continue the review.
|
|
</Text>
|
|
</EmailLayout>
|
|
);
|
|
}
|
|
|
|
export default VendorIdNeededEmail;
|