From a84ad4ee327939451fd090e4e94a48fbed73d098 Mon Sep 17 00:00:00 2001 From: Dave Date: Mon, 2 Feb 2026 17:10:56 -0500 Subject: [PATCH] hotfix/2026-02-02 - remove check on missing line ids --- .../parts-order-modal/parts-order-modal.container.jsx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/client/src/components/parts-order-modal/parts-order-modal.container.jsx b/client/src/components/parts-order-modal/parts-order-modal.container.jsx index d5b647117..d2e3deba3 100644 --- a/client/src/components/parts-order-modal/parts-order-modal.container.jsx +++ b/client/src/components/parts-order-modal/parts-order-modal.container.jsx @@ -93,16 +93,6 @@ export function PartsOrderModalContainer({ }; }); - const missingIdx = forcedLines.findIndex((l) => !l?.job_line_id); - if (missingIdx !== -1) { - notification.error({ - title: t("parts_orders.errors.creating"), - description: `Missing job_line_id for parts line #${missingIdx + 1}` - }); - setSaving(false); - return; - } - let insertResult; try { insertResult = await insertPartOrder({