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.

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

// Preview fixture — mirrors what getNotificationContent builds for the
// ApprovalRejected event. Not shipped (not exported from index.ts).
export default function ApprovalRejectedPreview() {
  return (
    <NotificationEmail
      heading={"Your request was rejected"}
      preview={"Your request was rejected"}
      message={"Purchase order PO-00099 was rejected"}
      reference={"PO-00099"}
      recipientName={"John Doe"}
      ctaLabel={"View decision"}
      ctaUrl={"https://app.carbon.ms/x/purchase-order/1"}
      details={[
        {
          label: "Supplier",
          value: "Globex Inc."
        },
        {
          label: "Supplier ref",
          value: "SREF-55"
        },
        {
          label: "Status",
          value: "Rejected"
        },
        {
          label: "Rejected by",
          value: "Tom Sawyer"
        }
      ]}
    />
  );
}