diff --git a/src/components/production/WorkerScreen/actions.ts b/src/components/production/WorkerScreen/actions.ts index 8663de8a..0fba02bb 100644 --- a/src/components/production/WorkerScreen/actions.ts +++ b/src/components/production/WorkerScreen/actions.ts @@ -157,7 +157,7 @@ function transformToWorkerScreenFormat(api: WorkOrderApiItem): WorkOrder { nodeName: g.nodeName, items: (g.items || []).map((it) => ({ id: it.id, - itemCode: it.item?.code || null, + itemCode: it.item?.code || it.source_order_item?.item_code || null, itemName: it.item_name, quantity: Number(it.quantity), specification: it.specification,