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.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
style: update icons to git icons for get method and save method
Brad Barbin094a976e6df9
diff --git a/apps/erp/app/modules/items/ui/Item/MakeMethodTools.tsx b/apps/erp/app/modules/items/ui/Item/MakeMethodTools.tsxindex 77ac43ee0a..000b058b04 100644--- a/apps/erp/app/modules/items/ui/Item/MakeMethodTools.tsx+++ b/apps/erp/app/modules/items/ui/Item/MakeMethodTools.tsx@@ -20,7 +20,7 @@ import {} from "@carbon/react";import { useFetcher } from "@remix-run/react";import { useEffect, useState } from "react";-import { LuDownload, LuTriangleAlert, LuUpload } from "react-icons/lu";+import { LuGitBranch, LuGitMerge, LuTriangleAlert } from "react-icons/lu";import { Hidden, Item } from "~/components/Form";import { usePermissions } from "~/hooks";import type { MethodItemType } from "~/modules/shared";@@ -62,7 +62,7 @@ const MakeMethodTools = ({ itemId, type }: MakeMethodToolsProps) => {isDisabled={!permissions.can("update", "parts") || isGetMethodLoading}- leftIcon={<LuDownload />}+ leftIcon={<LuGitBranch />}onClick={getMethodModal.onOpen}>Get Method@@ -72,7 +72,7 @@ const MakeMethodTools = ({ itemId, type }: MakeMethodToolsProps) => {!permissions.can("update", "parts") || isSaveMethodLoading}isLoading={isSaveMethodLoading}- leftIcon={<LuUpload />}+ leftIcon={<LuGitMerge />}onClick={saveMethodModal.onOpen}>Save Methoddiff --git a/apps/erp/app/modules/production/ui/Jobs/JobMakeMethodTools.tsx b/apps/erp/app/modules/production/ui/Jobs/JobMakeMethodTools.tsxindex 2124c82c65..81f4130f1d 100644--- a/apps/erp/app/modules/production/ui/Jobs/JobMakeMethodTools.tsx+++ b/apps/erp/app/modules/production/ui/Jobs/JobMakeMethodTools.tsx@@ -34,9 +34,9 @@ import {import type { PostgrestResponse } from "@supabase/supabase-js";import { Suspense, useEffect, useMemo, useState } from "react";import {- LuDownload,- LuExternalLink,- LuSettings,+ LuGitBranch,+ LuGitFork,+ LuGitMerge,LuSquareStack,LuTriangleAlert,LuUpload,@@ -176,14 +176,14 @@ const JobBreadcrumbs = () => {<MenubarItemisLoading={isGetMethodLoading}isDisabled={isDisabled || isGetMethodLoading}- leftIcon={<LuDownload />}+ leftIcon={<LuGitBranch />}onClick={getMethodModal.onOpen}>Get Method</MenubarItem>{isConfigured && isJobMethod && (<MenubarItem- leftIcon={<LuSettings />}+ leftIcon={<LuGitMerge />}isDisabled={isDisabled || !permissions.can("update", "production")}@@ -199,7 +199,7 @@ const JobBreadcrumbs = () => {</MenubarItem>)}{itemLink && (- <MenubarItem leftIcon={<LuExternalLink />} asChild>+ <MenubarItem leftIcon={<LuGitFork />} asChild><Link prefetch="intent" to={itemLink}>Item Master</Link>diff --git a/apps/erp/app/modules/sales/ui/Quotes/QuoteMakeMethodTools.tsx b/apps/erp/app/modules/sales/ui/Quotes/QuoteMakeMethodTools.tsxindex d6f9fc884d..07d7fd7ad2 100644--- a/apps/erp/app/modules/sales/ui/Quotes/QuoteMakeMethodTools.tsx+++ b/apps/erp/app/modules/sales/ui/Quotes/QuoteMakeMethodTools.tsx@@ -29,11 +29,11 @@ import {} from "@remix-run/react";import { Suspense, useEffect, useState } from "react";import {- LuDownload,- LuExternalLink,+ LuGitBranch,+ LuGitFork,+ LuGitMerge,LuSettings,LuTriangleAlert,- LuUpload,} from "react-icons/lu";import { ConfiguratorModal } from "~/components/Configurator/ConfiguratorForm";import { Hidden, Item, Submit } from "~/components/Form";@@ -162,7 +162,7 @@ const QuoteMakeMethodTools = () => {<MenubarItemisLoading={isGetMethodLoading}isDisabled={isGetMethodLoading}- leftIcon={<LuDownload />}+ leftIcon={<LuGitBranch />}onClick={getMethodModal.onOpen}>Get Method@@ -172,7 +172,7 @@ const QuoteMakeMethodTools = () => {!permissions.can("update", "parts") || isSaveMethodLoading}isLoading={isSaveMethodLoading}- leftIcon={<LuUpload />}+ leftIcon={<LuGitMerge />}onClick={saveMethodModal.onOpen}>Save Method@@ -194,7 +194,7 @@ const QuoteMakeMethodTools = () => {</MenubarItem>)}{itemLink && (- <MenubarItem leftIcon={<LuExternalLink />} asChild>+ <MenubarItem leftIcon={<LuGitFork />} asChild><Link prefetch="intent" to={itemLink}>Item Master</Link>