Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

1.0 KB
Raw Blame
import { NotificationEmail } from "../NotificationEmail";

// Preview fixture — mirrors what getNotificationContent builds for the
// SalesOrderAssignment event. Not shipped (not exported from index.ts).
export default function SalesOrderAssignmentPreview() {
  return (
    <NotificationEmail
      heading={"Sales order assigned to you"}
      preview={"Sales order assigned to you"}
      message={"Sales Order SO-00045 assigned to you"}
      reference={"SO-00045"}
      recipientName={"John Doe"}
      ctaLabel={"View details"}
      ctaUrl={"https://app.carbon.ms/x/sales-order/1"}
      details={[
        {
          label: "Customer",
          value: "Acme Corporation"
        },
        {
          label: "Customer ref",
          value: "PO-88921"
        },
        {
          label: "Order date",
          value: "Jul 1, 2026"
        },
        {
          label: "Status",
          value: "Confirmed"
        },
        {
          label: "Assigned by",
          value: "Tom Sawyer"
        }
      ]}
    />
  );
}