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.

794 B
Raw Blame
import { NotificationEmail } from "../NotificationEmail";

// Preview fixture — mirrors what getNotificationContent builds for the
// JobCompleted event. Not shipped (not exported from index.ts).
export default function JobCompletedPreview() {
  return (
    <NotificationEmail
      heading={"Job completed"}
      preview={"Job completed"}
      message={"Job J00105 is complete!"}
      reference={"J00105"}
      recipientName={"John Doe"}
      ctaLabel={"View job"}
      ctaUrl={"https://app.carbon.ms/x/job/1"}
      details={[
        {
          label: "Part",
          value: "PART-1024"
        },
        {
          label: "Completed",
          value: "25"
        },
        {
          label: "Customer",
          value: "Acme Corporation"
        }
      ]}
    />
  );
}