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.

refactor: remove console.logs

Brad Barbin8ddd0535e83f
diff --git a/apps/carbon/app/hooks/useNextItemId.tsx b/apps/carbon/app/hooks/useNextItemId.tsx
index f887e25a36..3ed33cd510 100644
--- a/apps/carbon/app/hooks/useNextItemId.tsx
+++ b/apps/carbon/app/hooks/useNextItemId.tsx
@@ -26,7 +26,6 @@ export function useNextItemId(
.limit(1)
.maybeSingle();
- console.log({ data });
if (data?.readableId) {
const sequence = data.readableId.slice(prefix.length);
const currentSequence = parseInt(sequence);
diff --git a/apps/carbon/app/routes/api+/sales.digital-quote.$id.tsx b/apps/carbon/app/routes/api+/sales.digital-quote.$id.tsx
index 48156ebb37..2396cd9feb 100644
--- a/apps/carbon/app/routes/api+/sales.digital-quote.$id.tsx
+++ b/apps/carbon/app/routes/api+/sales.digital-quote.$id.tsx
@@ -76,12 +76,6 @@ export async function action({ request, params }: ActionFunctionArgs) {
});
}
- console.log(
- digitalQuoteAcceptedBy,
- "notificationGroup: ",
- company.data?.digitalQuoteNotificationGroup
- );
-
if (company.data?.digitalQuoteNotificationGroup?.length) {
try {
await tasks.trigger<typeof notifyTask>("notify", {