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.

style: use truck in used in menu for shipment

Brad Barbinb38789b201af
diff --git a/apps/erp/app/modules/items/ui/Item/UsedIn.tsx b/apps/erp/app/modules/items/ui/Item/UsedIn.tsx
index 45dfb8d0b2..3bf48a2ab1 100644
--- a/apps/erp/app/modules/items/ui/Item/UsedIn.tsx
+++ b/apps/erp/app/modules/items/ui/Item/UsedIn.tsx
@@ -9,7 +9,7 @@ import {
Count,
} from "@carbon/react";
import { useState } from "react";
-import { LuSearch, LuChevronRight, LuShip } from "react-icons/lu";
+import { LuSearch, LuChevronRight, LuTruck } from "react-icons/lu";
import { MethodIcon, Hyperlink } from "~/components";
import { LevelLine } from "~/components/TreeView";
import { usePermissions } from "~/hooks";
@@ -149,7 +149,7 @@ export function UsedInItem({
>
<LevelLine isSelected={false} className="mr-2" />
{child.methodType === "Shipment" ? (
- <LuShip className="mr-2" />
+ <LuTruck className="mr-2 text-indigo-600" />
) : (
<MethodIcon
type={child.methodType ?? "Method"}
@@ -197,6 +197,9 @@ function getUseInLink(
case "salesOrderLines":
if (!child.documentId) return "#";
return path.to.salesOrder(child.documentId);
+ case "shipmentLines":
+ if (!child.documentId) return "#";
+ return path.to.shipment(child.documentId);
default:
return "#";
}