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.

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

// Preview fixture — mirrors what getNotificationContent builds for the
// ProcedureAssignment event. Not shipped (not exported from index.ts).
export default function ProcedureAssignmentPreview() {
  return (
    <NotificationEmail
      heading={"Procedure assigned to you"}
      preview={"Procedure assigned to you"}
      message={"Procedure Calibration SOP version 3 assigned to you"}
      reference={"Calibration SOP"}
      recipientName={"John Doe"}
      ctaLabel={"View details"}
      ctaUrl={"https://app.carbon.ms/x/procedure/1"}
      details={[
        {
          label: "Version",
          value: "v3"
        },
        {
          label: "Status",
          value: "Active"
        },
        {
          label: "Process",
          value: "Final Inspection"
        },
        {
          label: "Assigned by",
          value: "Tom Sawyer"
        }
      ]}
    />
  );
}