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.

Adding tooltip

Kartik Bajajf220328a8c6b
diff --git a/apps/erp/app/modules/production/ui/Jobs/JobBillOfProcess.tsx b/apps/erp/app/modules/production/ui/Jobs/JobBillOfProcess.tsx
index 3f8d1448da..7c3bd44afc 100644
--- a/apps/erp/app/modules/production/ui/Jobs/JobBillOfProcess.tsx
+++ b/apps/erp/app/modules/production/ui/Jobs/JobBillOfProcess.tsx
@@ -255,22 +255,29 @@ function makeItem(
</HStack>
<HStack>
<JobOperationTags operation={operation} availableTags={tags} />
- <Link
- to={`${path.to.newIssue}?${new URLSearchParams({
- jobOperationId: operation.id,
- operationSupplierProcessId:
- operation.operationSupplierProcessId ?? "",
- ...urlParams,
- }).toString()}`}
- title="Create Issue"
- >
- <IconButton
- icon={<LuShieldX />}
- variant="secondary"
- aria-label="Create Issue"
- size="sm"
- ></IconButton>
- </Link>
+ <Tooltip>
+ <TooltipTrigger asChild>
+ <Link
+ to={`${path.to.newIssue}?${new URLSearchParams({
+ jobOperationId: operation.id,
+ operationSupplierProcessId:
+ operation.operationSupplierProcessId ?? "",
+ ...urlParams,
+ }).toString()}`}
+ title="Create Issue"
+ >
+ <IconButton
+ icon={<LuShieldX />}
+ variant="secondary"
+ aria-label="Create Issue"
+ size="sm"
+ ></IconButton>
+ </Link>
+ </TooltipTrigger>
+ <TooltipContent>
+ <span>Create Issue</span>
+ </TooltipContent>
+ </Tooltip>
</HStack>
</HStack>
),