pelagia-portal/App/pelagia-portal/emails/po-submitted.tsx
Hardik a5fb7d088c rebrand: Pelagia Portal → PPMS (Pelagia Payment Management System)
Rename the application to PPMS across all user-facing surfaces:
- Browser title / metadata
- Login page (with tagline: "PMS — it runs the ship.")
- Sidebar logo text
- Email header, footer, and body copy in all transactional emails
- PDF/XLSX workbook creator field
- Reports export page title and heading
- Notifier FROM display name and default email domain

Legal company name ("Pelagia Marine Services Pvt. Ltd.") on PO documents
is unchanged — that is the issuing entity, not the application brand.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 21:00:15 +05:30

39 lines
1.4 KiB
TypeScript

import { Text, Section } from "@react-email/components";
import { EmailLayout } from "./layout";
interface Props {
po: { poNumber: string; title: string };
submitterName: string;
}
export function PoSubmittedEmail({ po, submitterName }: Props) {
return (
<EmailLayout>
<Text style={{ fontSize: "16px", color: "#111827", marginTop: 0 }}>
A new purchase order has been submitted for your review.
</Text>
<Section
style={{
backgroundColor: "#f3f4f6",
borderRadius: "8px",
padding: "16px",
marginTop: "16px",
}}
>
<Text style={{ margin: "0 0 4px", fontSize: "13px", color: "#6b7280" }}>PO Number</Text>
<Text style={{ margin: "0 0 12px", fontSize: "15px", fontWeight: "600", color: "#111827", fontFamily: "monospace" }}>
{po.poNumber}
</Text>
<Text style={{ margin: "0 0 4px", fontSize: "13px", color: "#6b7280" }}>Title</Text>
<Text style={{ margin: "0 0 12px", fontSize: "15px", color: "#111827" }}>{po.title}</Text>
<Text style={{ margin: "0 0 4px", fontSize: "13px", color: "#6b7280" }}>Submitted by</Text>
<Text style={{ margin: 0, fontSize: "15px", color: "#111827" }}>{submitterName}</Text>
</Section>
<Text style={{ fontSize: "14px", color: "#374151" }}>
Please log in to PPMS to review and take action on this order.
</Text>
</EmailLayout>
);
}
export default PoSubmittedEmail;