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
feat(printing): print kanban cards through printers (#2076)
Brad Barbinbba55134e62b
diff --git a/.claude/rules/kanban-system.md b/.claude/rules/kanban-system.mdindex 0e14d928b7..9fe1126864 100644--- a/.claude/rules/kanban-system.md+++ b/.claude/rules/kanban-system.md@@ -137,8 +137,9 @@ Spec: `.ai/specs/2026-10-06-kanban-internal-replenishment-level.md`.- Label PDF route: `apps/erp/app/routes/file+/kanban+/labels.$action[.]pdf.tsx` — `?ids=` (comma-separated), one `.in()` read of the `kanbans` view scoped by `companyId`, rendered at the company's `kanbanLabelSize` (`?labelSize=` overrides). Thumbnails are fetched for the letter sheet only.- The card is defined once in `packages/documents/src/zpl/KanbanLabelZPL.tsx`: `KanbanLabelItem`, `kanbanLabelCode` (the card's one code for its `action`, with a caption: CREATE, START or COMPLETE), the text helpers, `canHoldKanbanLabel` (3" x 2" and up; 100 x 50 mm passes), `getKanbanLabelLayout` (inches: the code on the right, as large as the label allows (at most 45% of its width), caption under it; a text column on the left — each field cut to the column — the part name up to two lines (`wrapKanbanLabelText`), every other field one line (`fitKanbanLabelText`): name, item ID, bins, `QTY` and `MIN` on their own lines (`kanbanLabelQuantityLines`), supplier — with the kanban ID small at the bottom), `KANBAN_LABEL_COLORS` and `generateKanbanLabelZPL(item, size, baseUrl, action)`. Text is cut by an estimated glyph width (`fitKanbanLabelText`) and escaped with `^FH` (`zplFieldData`, `zpl/utils.ts`). Pinned by `kanbanLabelZPL.test.ts`.- `KanbanLabelPDF` (`packages/documents/src/pdf/KanbanLabelPDF.tsx`, via `@carbon/documents/pdf`): takes the `action`; without `labelSize`, a letter page, **2×3 grid = 6 labels/page** — the action-colored code (like the PNG route) with the item thumbnail beside it, name, item readable id, storage unit/location, `QTY: {quantity} {uom}` (plus `MIN: {replenishmentLevel}` — no unit, because `uom` is the purchase unit and the level is in stock units), and a bottom row with the `kanbanId` (bold, left) and supplier (right). With a `labelSize`, one card per page laid out by `getKanbanLabelLayout`, so the PDF and the ZPL print alike; the PDF colors the code and caption by action (black Create, green Start, blue Complete), and the ZPL (black only) relies on the caption.-- Print job (`print-job/renderers.tsx` `renderKanbanCard`) prints the Create card (a print job has no action): a printer whose media size holds a card prints one at that size — ZPL, or a one-card PDF. A ZPL printer with smaller media fails the job; a PDF printer with smaller or no media prints the company's `kanbanLabelSize`. `resolveKanbanData` uses the `kanbanId` as the job's readable id.-- `KanbansTable` renders Create/Start/Complete per `kanbanOutput`: `label`→PDF links (one card per action), `qrcode`→hover-card iframes (one open at a time: `KanbanQrCodeHoverCard` reads a table-level `OpenQrCodeContext`), `url`→copyable API links; Start/Complete show for Make only. Bulk **Print Labels** prints Create cards: it opens a printer picker and POSTs one `Kanban` print job per kanban to `path.to.manualPrint` when the company has printer routes (the storage-unit list's pattern), else opens the PDF.+- Print job: `resolveKanbanData` (`print-job/resolvers.ts`) returns one `KanbanCardItem` per action — `order`, `start`, `complete` for a Make kanban, `order` only for Buy and Transfer — so each card is its own `printJob` (description ends Create / Start / Complete) and `renderKanbanCard` (`print-job/renderers.tsx`) renders the item's `action`; `kanbanUrl` (BinderyPress data) is that action's scan URL from `kanbanLabelCode`. A printer whose media size holds a card prints one at that size — ZPL, or a one-card PDF. A ZPL printer with smaller media fails the job; a PDF printer with smaller or no media prints the company's `kanbanLabelSize`. `resolveKanbanData` uses the `kanbanId` as the job's readable id.+- `KanbansTable` renders Create/Start/Complete per `kanbanOutput`: `label`→PDF links (one card per action), `qrcode`→hover-card iframes (one open at a time: `KanbanQrCodeHoverCard` reads a table-level `OpenQrCodeContext`), `url`→copyable API links; Start/Complete show for Make only. Bulk **Print Labels** (and the row menu's **Print Label**) prints each kanban's cards (all three for Make) when it goes to a printer, the Create cards when it falls back to the PDF: it opens a printer picker, pre-selecting the location's `kanban` printer context (Settings → Printing → Kanbans row, falling back to the location default), and POSTs one `Kanban` print job per kanban to `path.to.manualPrint` when the company has printer routes (the storage-unit list's pattern), else opens the PDF.+- `createKanban` auto-prints the new kanban's cards through `autoPrint` (`inventory.service.ts`, context `kanban`) when the context's Auto-print is on — like a posted receipt or shipment. Update does not print.## Gotchasdiff --git a/.claude/rules/printing-system.md b/.claude/rules/printing-system.mdindex 091f15a898..3ec9e78ba3 100644--- a/.claude/rules/printing-system.md+++ b/.claude/rules/printing-system.md@@ -76,9 +76,11 @@ a ProxyBox HTTP endpoint. There is no Trigger.dev here.name)`. (`20260326000000_print-manager.sql`; `templateId` added `20260509000000`.)- **Assignments** live in `companySettings.printing` JSONB (`PrintingSettings` →`assignments[locationId]: LocationAssignment`). Contexts (`printerContexts`, `assignments.ts`):- `default | shipping | receiving | inventory | workCenter`. `getPrinterContextForSource` maps- Shipment→shipping, Receipt→receiving, StockTransfer/StorageUnit→inventory, else workCenter if a- workCenterId is present, else default.+ `default | shipping | receiving | inventory | kanban | workCenter`. `getPrinterContextForSource` maps+ Shipment→shipping, Receipt→receiving, StockTransfer/StorageUnit→inventory, Kanban→kanban, else+ workCenter if a workCenterId is present, else default. Stored settings written before a context+ existed have no key for it; every reader uses `?.` and resolution falls back to the default.+ `removePrinterRoute` clears the deleted route from every context.- **Resolution** is shared via `resolveContextAssignment(assignment, context, workCenterId?)` in`assignments.ts` — called by both the server cache (`cache.server.ts`) and the client(`ui/PrintingProvider.tsx` `usePrinting`), so they stay in sync. A context with no printer falls back@@ -128,7 +130,8 @@ Realtime-enabled. RLS gated on `printing_*` permissions (Printing module). CleanAfter a business event, code checks `getCachedPrinterConfig(...).autoPrint` (default `true` when null),wrapped in try/catch that never blocks the parent op, then `trigger("print-job", ...)`:- Receipt post `postReceipt` (receiving); Shipment post `postShipment` (shipping; also prints- `Split` entities); Stock-transfer split, from the line pick operations (Split + Entity reprint) —+ `Split` entities); Kanban create `createKanban` (kanban; one card per action, three for Make) — these three through+ `autoPrint` in `inventory.service.ts`; Stock-transfer split, from the line pick operations (Split + Entity reprint) —all in `apps/erp/app/modules/inventory/inventory.server.ts`; MES first-operation completion of a serial or batch unit,`autoPrintFirstOperationLabel` (`apps/mes/app/services/printing.server.ts`, workCenter), called byevery completion path: the Complete form (`x+/complete.tsx`), the QR / kanban Complete scandiff --git a/apps/erp/app/modules/inventory/inventory.server.ts b/apps/erp/app/modules/inventory/inventory.server.tsindex 67f96e6c46..494342cc8a 100644--- a/apps/erp/app/modules/inventory/inventory.server.ts+++ b/apps/erp/app/modules/inventory/inventory.server.ts@@ -3,7 +3,7 @@// including ports, remain AGPLv3; serving them over a network requires releasing their source.import {- type CarbonError,+ CarbonError,createServiceContext,defineServiceFn} from "@carbon/api/service-fn.server";@@ -5821,7 +5821,9 @@ const kanbanInput = z** @remarks* A Buy kanban needs its supplier; a Transfer kanban needs a from and a to- * storage unit, and only it can have a replenishment level.+ * storage unit, and only it can have a replenishment level. When the+ * location's Kanbans printer auto-prints, the new kanban's Create card is+ * printed.** @mcp*/@@ -5829,13 +5831,23 @@ export const createKanban = defineServiceFn({input: kanbanInput,permission: { create: "inventory" },async run(ctx, { id: _id, ...input }) {- return unwrap(+ const created = unwrap(ctx,await service.upsertKanban(ctx.asCaller.supabase,payload(ctx, input).forCreate() as never));+ if (created instanceof CarbonError || !created) return created;++ await service.autoPrint(ctx, {+ sourceDocument: "Kanban",+ sourceDocumentId: created.id,+ locationId: input.locationId,+ context: "kanban"+ });++ return created;}});diff --git a/apps/erp/app/modules/inventory/inventory.service.ts b/apps/erp/app/modules/inventory/inventory.service.tsindex 8e4c982272..36f57a12bf 100644--- a/apps/erp/app/modules/inventory/inventory.service.ts+++ b/apps/erp/app/modules/inventory/inventory.service.ts@@ -5182,7 +5182,7 @@ export async function salesOrderShipmentLocationOf(};}-/** Print a document's labels when its location's printer auto-prints. */+/** Print a document's labels (or a new kanban's cards) when its location's printer auto-prints. */export async function autoPrint(ctx: ServiceContext,{@@ -5191,10 +5191,10 @@ export async function autoPrint(locationId,context}: {- sourceDocument: "Receipt" | "Shipment";+ sourceDocument: "Receipt" | "Shipment" | "Kanban";sourceDocumentId: string;locationId: string | null;- context: "receiving" | "shipping";+ context: "receiving" | "shipping" | "kanban";}) {if (!locationId) return;diff --git a/apps/erp/app/modules/inventory/ui/Kanbans/KanbansTable.tsx b/apps/erp/app/modules/inventory/ui/Kanbans/KanbansTable.tsxindex 0d1f2e2b71..e51e2b413d 100644--- a/apps/erp/app/modules/inventory/ui/Kanbans/KanbansTable.tsx+++ b/apps/erp/app/modules/inventory/ui/Kanbans/KanbansTable.tsx@@ -630,6 +630,71 @@ const KanbansTable = memo([formatQuantity, items, kanbanOutput, params, people, suppliers, t]);+ /* Printing kanban cards (one row, or the selection): to a configured+ printer, the location's Kanbans printer first (a Zebra prints at its own+ media size), one card per action, so a Make kanban prints Create, Start+ and Complete. With no printer, the Create cards' PDF at the company's+ Label Size. */+ const { printerRoutes, resolvePrinterRoute } = usePrinting();+ const printerModal = useDisclosure();+ const defaultPrinter = resolvePrinterRoute(locationId, "kanban");+ const [printIds, setPrintIds] = useState<string[]>([]);+ const [selectedPrinterId, setSelectedPrinterId] = useState<string>("");+ const [isPrinting, setIsPrinting] = useState(false);++ const handlePrintLabels = useCallback(+ (ids: string[]) => {+ if (ids.length === 0) return;+ if (printerRoutes.length > 0) {+ setPrintIds(ids);+ setSelectedPrinterId(+ defaultPrinter?.id ?? printerRoutes[0]?.id ?? ""+ );+ printerModal.onOpen();+ } else {+ window.open(path.to.file.kanbanLabelsPdf(ids, "order"), "_blank");+ }+ },+ [printerRoutes, defaultPrinter?.id, printerModal]+ );++ // Raw fetch (not a fetcher): parallel submissions don't abort each other+ // and nothing revalidates, so the selection stays intact.+ const handleConfirmPrint = useCallback(async () => {+ if (printIds.length === 0 || !selectedPrinterId) return;++ setIsPrinting(true);+ try {+ const results = await Promise.allSettled(+ printIds.map((id) =>+ fetch(path.to.manualPrint, {+ method: "POST",+ headers: { "Content-Type": "application/json" },+ body: JSON.stringify({+ sourceDocument: "Kanban",+ sourceDocumentId: id,+ locationId,+ printerRouteId: selectedPrinterId+ })+ })+ )+ );++ const failed = results.filter(+ (r) => r.status === "rejected" || !r.value.ok+ ).length;++ if (failed > 0) {+ toast.error(t`${failed} of ${printIds.length} print jobs failed`);+ } else {+ toast.success(t`Queued ${printIds.length} kanbans for printing`);+ }+ } finally {+ setIsPrinting(false);+ printerModal.onClose();+ }+ }, [printIds, selectedPrinterId, locationId, printerModal, t]);+const renderContextMenu = useCallback((row: KanbanRow) => {const canUpdate = permissions.can("update", "inventory");@@ -646,6 +711,10 @@ const KanbansTable = memo(</Link></MenuItem>)}+ <MenuItem onClick={() => handlePrintLabels([row.id!])}>+ <LuPrinter className="mr-2 size-4" />+ <Trans>Print Label</Trans>+ </MenuItem>{/* Phone rows drop the label links column; keep them reachable here */}{isPhone && kanbanOutput === "label" && (<>@@ -727,71 +796,16 @@ const KanbansTable = memo(</>);},- [params, permissions, items.find, isPhone, kanbanOutput]+ [+ params,+ permissions,+ items.find,+ isPhone,+ kanbanOutput,+ handlePrintLabels+ ]);- /* Bulk printing of Create cards: to a configured printer (a Zebra prints- at its own media size), else the PDF at the company's Label Size. */- const { printerRoutes, resolvePrinterRoute } = usePrinting();- const printerModal = useDisclosure();- const defaultPrinter = resolvePrinterRoute(locationId, "default");- const [printIds, setPrintIds] = useState<string[]>([]);- const [selectedPrinterId, setSelectedPrinterId] = useState<string>("");- const [isPrinting, setIsPrinting] = useState(false);-- const handlePrintLabels = useCallback(- (ids: string[]) => {- if (ids.length === 0) return;- if (printerRoutes.length > 0) {- setPrintIds(ids);- setSelectedPrinterId(- defaultPrinter?.id ?? printerRoutes[0]?.id ?? ""- );- printerModal.onOpen();- } else {- window.open(path.to.file.kanbanLabelsPdf(ids, "order"), "_blank");- }- },- [printerRoutes, defaultPrinter?.id, printerModal]- );-- // Raw fetch (not a fetcher): parallel submissions don't abort each other- // and nothing revalidates, so the selection stays intact.- const handleConfirmPrint = useCallback(async () => {- if (printIds.length === 0 || !selectedPrinterId) return;-- setIsPrinting(true);- try {- const results = await Promise.allSettled(- printIds.map((id) =>- fetch(path.to.manualPrint, {- method: "POST",- headers: { "Content-Type": "application/json" },- body: JSON.stringify({- sourceDocument: "Kanban",- sourceDocumentId: id,- locationId,- printerRouteId: selectedPrinterId- })- })- )- );-- const failed = results.filter(- (r) => r.status === "rejected" || !r.value.ok- ).length;-- if (failed > 0) {- toast.error(t`${failed} of ${printIds.length} print jobs failed`);- } else {- toast.success(t`Queued ${printIds.length} labels for printing`);- }- } finally {- setIsPrinting(false);- printerModal.onClose();- }- }, [printIds, selectedPrinterId, locationId, printerModal, t]);-const renderActions = useCallback((selectedRows: typeof data) => (<DropdownMenuContent align="end" className="min-w-[200px]">@@ -908,7 +922,7 @@ const KanbansTable = memo(disabled={!selectedPrinterId || isPrinting}onClick={handleConfirmPrint}>- <Trans>Print {printIds.length} Labels</Trans>+ <Trans>Print {printIds.length} Kanbans</Trans></Button><Button variant="solid" onClick={printerModal.onClose}><Trans>Cancel</Trans>diff --git a/apps/erp/app/modules/settings/settings.server.ts b/apps/erp/app/modules/settings/settings.server.tsindex f6420ac823..7b90760c9b 100644--- a/apps/erp/app/modules/settings/settings.server.ts+++ b/apps/erp/app/modules/settings/settings.server.ts@@ -1249,13 +1249,17 @@ export const removePrinterRoute = defineServiceFn({next.defaultPrinterRouteId = null;dirty = true;}- if (next.shipping?.printerRouteId === id) {- next.shipping = { ...next.shipping, printerRouteId: null };- dirty = true;- }- if (next.receiving?.printerRouteId === id) {- next.receiving = { ...next.receiving, printerRouteId: null };- dirty = true;+ for (const context of [+ "shipping",+ "receiving",+ "inventory",+ "kanban"+ ] as const) {+ const assigned = next[context];+ if (assigned?.printerRouteId === id) {+ next[context] = { ...assigned, printerRouteId: null };+ dirty = true;+ }}if (next.workCenters) {const workCenters = { ...next.workCenters };diff --git a/apps/erp/app/modules/settings/ui/Printing/AssignmentsCard.tsx b/apps/erp/app/modules/settings/ui/Printing/AssignmentsCard.tsxindex 7ac8fd425d..84558dd532 100644--- a/apps/erp/app/modules/settings/ui/Printing/AssignmentsCard.tsx+++ b/apps/erp/app/modules/settings/ui/Printing/AssignmentsCard.tsx@@ -29,6 +29,7 @@ import {LuHandCoins,LuLocateFixed,LuMapPin,+ LuSquareKanban,LuTruck} from "react-icons/lu";@@ -110,8 +111,9 @@ export function AssignmentsCard({</CardTitle><CardDescription><Trans>- Assign printers to locations. Shipping, receiving, and work centers- inherit the location default unless overridden.+ Assign printers to locations. Shipping, receiving, inventory,+ kanbans, and work centers inherit the location default unless+ overridden.</Trans></CardDescription></CardHeader>@@ -204,6 +206,12 @@ function LocationSection({icon: <LuBlocks />,explicit: assignment?.inventory ?? null},+ {+ context: "kanban",+ label: "Kanbans",+ icon: <LuSquareKanban />,+ explicit: assignment?.kanban ?? null+ },...workCenters.map<AssignmentRowModel>((wc) => ({context: "workCenter",contextId: wc.id,diff --git a/apps/erp/app/routes/api+/mcp+/lib/tool-manifest.digest.json b/apps/erp/app/routes/api+/mcp+/lib/tool-manifest.digest.jsonindex 5867c0f3a0..164d194e77 100644--- a/apps/erp/app/routes/api+/mcp+/lib/tool-manifest.digest.json+++ b/apps/erp/app/routes/api+/mcp+/lib/tool-manifest.digest.json@@ -1512,7 +1512,7 @@{"name":"sales_upsertQuoteShipment","classification":"WRITE","schema":"9f413dd10f89","response":"3797626bd17e","permission":"sales:create+update","paginates":false},{"name":"sales_upsertSalesOrderPayment","classification":"WRITE","schema":"d637b4fad42f","response":"3797626bd17e","permission":"sales:create+update","paginates":false},{"name":"sales_upsertSalesOrderShipment","classification":"WRITE","schema":"c91b5d79606d","response":"3797626bd17e","permission":"sales:create+update","paginates":false},- {"name":"settings_assignPrinter","classification":"WRITE","schema":"e396a6d7690b","response":"de371a276a58","permission":"settings:update","paginates":false},+ {"name":"settings_assignPrinter","classification":"WRITE","schema":"29c891c20e8b","response":"de371a276a58","permission":"settings:update","paginates":false},{"name":"settings_createItemSerialSequence","classification":"WRITE","schema":"544565accbe4","response":"3797626bd17e","permission":"settings:create","paginates":false},{"name":"settings_deactivateCompanyIntegration","classification":"DESTRUCTIVE","schema":"3797626bd17e","response":"f06d2d858884","permission":"settings:update","paginates":false},{"name":"settings_deleteItemSerialSequence","classification":"DESTRUCTIVE","schema":"7f8214d1083f","response":"bcde375ebd4c","permission":"settings:delete","paginates":false},diff --git a/docs/content/docs/reference/kanban.mdx b/docs/content/docs/reference/kanban.mdxindex 44be3ad311..a66ce7ed2d 100644--- a/docs/content/docs/reference/kanban.mdx+++ b/docs/content/docs/reference/kanban.mdx@@ -78,7 +78,7 @@ With **Label**, a **Label Size** setting picks what the label prints on:| 4" x 2" label | One card per label, for a thermal printer such as a Zebra. The QR code fills the right side, colored like the QR codes on screen (green for start, blue for complete), with a caption under it (**CREATE**, **START** or **COMPLETE**): a black-only printer prints the caption, not the color. || 3" x 2" label | The same card on a 3" x 2" label. |-**Print Labels** on the selected kanbans prints their create cards. It sends them to a printer when one is set up under [printing settings](/docs/reference/printing): a Zebra prints a card at its media size (3" x 2" or larger) as ZPL. With no printer, it opens the cards as a PDF at the Label Size.+**Print Labels** on the selected kanbans, or **Print Label** on one kanban's menu, prints their cards. It sends them to a printer when one is set up under [printing settings](/docs/reference/printing): the location's **Kanbans** printer is picked first, else the location default. Each card is its own label: a `Make` kanban prints its create, start and complete cards, and a `Buy` or `Transfer` kanban its create card. A Zebra prints a card at its media size (3" x 2" or larger) as ZPL. With no printer, it opens the create cards as a PDF at the Label Size. A new kanban's cards print on their own when the location's Kanbans printer has **Auto-print** on.For `Make` kanbans, the list view also surfaces the **start** and **complete** cards. `Buy` and `Transfer` kanbans show only the order signal, since there's no job to start. Two columns are hidden by default: **Replenishment Level** and **Projected (To)**. Turn them on from the column picker. **Projected (To)** shows a **Below level** pill when the projected quantity is under the level.diff --git a/docs/content/docs/reference/printing.mdx b/docs/content/docs/reference/printing.mdxindex 037670801c..f6a09d9a0d 100644--- a/docs/content/docs/reference/printing.mdx+++ b/docs/content/docs/reference/printing.mdx@@ -19,7 +19,7 @@ Three document types exist (`packages/printing/src/registry.ts:10`):<FieldTable><Field name="productLabel" type="zpl default">Labels for <Term id="tracked-entity">tracked entities</Term> (serial or batch numbers). Printed from a `Receipt`, `Shipment`, `Operation`, `Entity`, `Job`, `Split`, or `StockTransfer`.</Field><Field name="storageUnitLabel" type="zpl default">Labels for shelves, bins, and storage locations. Printed from a `StorageUnit`.</Field>-<Field name="kanbanCard" type="zpl or pdf">Replenishment cards for <Term>kanban</Term> bins. Printed from a `Kanban`. One card at the printer's media size when it is 3" x 2" or larger; otherwise a PDF printer prints the company's kanban **Label Size**.</Field>+<Field name="kanbanCard" type="zpl or pdf">Replenishment cards for <Term>kanban</Term> bins. Printed from a `Kanban`: one card per action, so a `Make` kanban prints its create, start and complete cards and any other kanban its create card. Each card at the printer's media size when it is 3" x 2" or larger; otherwise a PDF printer prints the company's kanban **Label Size**.</Field></FieldTable>The source document is what maps to the doc types worth printing. Posting a shipment yields product labels; scanning a storage unit yields a storage label. `getDocumentTypesForSource` does that lookup (`registry.ts:49`).@@ -53,6 +53,7 @@ A route is the printer; an **assignment** decides when it's used. Assignments li<Field name="shipping">Used when the source document is a `Shipment`.</Field><Field name="receiving">Used when the source document is a `Receipt`.</Field><Field name="inventory">Used for a `StockTransfer` or a `StorageUnit`.</Field>+<Field name="kanban">Used when the source document is a `Kanban`: the kanban's create card.</Field><Field name="workCenter">Per work center, for labels printed from a job operation. A work center with no assignment inherits the location default outright.</Field></FieldTable>@@ -95,6 +96,7 @@ The wired-in events:| Post a receipt | receiving | Product labels for received tracked entities. || Post a shipment | shipping | Product labels, plus `Split` labels for batch splits. || Split a stock-transfer line | inventory | A `Split` label, and an `Entity` reprint of the original batch. |+| Create a kanban | kanban | The new kanban's cards (create, plus start and complete for a `Make` kanban). || Complete the first operation on a job (MES) | work center | The job's product label. |To stop a station auto-printing, turn off Auto-print on that location's context row. To trigger a print by hand instead, use the **Print** button on the relevant screen, or send a source document to the manual print route (`/x/print`), which validates the request and enqueues the same kind of job.diff --git a/packages/database/src/swagger-docs-schema.ts b/packages/database/src/swagger-docs-schema.tsindex 4393b58455..5216777f95 100644--- a/packages/database/src/swagger-docs-schema.ts+++ b/packages/database/src/swagger-docs-schema.ts@@ -8229,6 +8229,9 @@ export default {{$ref: "#/parameters/rowFilter.jobOperationsWithDependencies.assemblyInstructionId"},+ {+ $ref: "#/parameters/rowFilter.jobOperationsWithDependencies.readyAt"+ },{$ref: "#/parameters/rowFilter.jobOperationsWithDependencies.inspectionDocumentId"},@@ -8432,6 +8435,9 @@ export default {{$ref: "#/parameters/rowFilter.jobOperationsWithDependencies.assemblyInstructionId"},+ {+ $ref: "#/parameters/rowFilter.jobOperationsWithDependencies.readyAt"+ },{$ref: "#/parameters/rowFilter.jobOperationsWithDependencies.inspectionDocumentId"},@@ -8589,6 +8595,9 @@ export default {{$ref: "#/parameters/rowFilter.jobOperationsWithDependencies.assemblyInstructionId"},+ {+ $ref: "#/parameters/rowFilter.jobOperationsWithDependencies.readyAt"+ },{$ref: "#/parameters/rowFilter.jobOperationsWithDependencies.inspectionDocumentId"},@@ -23937,9 +23946,6 @@ export default {{$ref: "#/parameters/rowFilter.jobs.priority"},- {- $ref: "#/parameters/rowFilter.jobs.productionQuantity"- },{$ref: "#/parameters/rowFilter.jobs.projectedCompletionAt"},@@ -23949,6 +23955,9 @@ export default {{$ref: "#/parameters/rowFilter.jobs.scheduleOutdatedAt"},+ {+ $ref: "#/parameters/rowFilter.jobs.productionQuantity"+ },{$ref: "#/parameters/rowFilter.jobs.fixedAssetClassId"},@@ -38961,9 +38970,6 @@ export default {{$ref: "#/parameters/rowFilter.job.priority"},- {- $ref: "#/parameters/rowFilter.job.productionQuantity"- },{$ref: "#/parameters/rowFilter.job.projectedCompletionAt"},@@ -38973,6 +38979,9 @@ export default {{$ref: "#/parameters/rowFilter.job.scheduleOutdatedAt"},+ {+ $ref: "#/parameters/rowFilter.job.productionQuantity"+ },{$ref: "#/parameters/rowFilter.job.fixedAssetClassId"},@@ -39149,9 +39158,6 @@ export default {{$ref: "#/parameters/rowFilter.job.priority"},- {- $ref: "#/parameters/rowFilter.job.productionQuantity"- },{$ref: "#/parameters/rowFilter.job.projectedCompletionAt"},@@ -39161,6 +39167,9 @@ export default {{$ref: "#/parameters/rowFilter.job.scheduleOutdatedAt"},+ {+ $ref: "#/parameters/rowFilter.job.productionQuantity"+ },{$ref: "#/parameters/rowFilter.job.fixedAssetClassId"},@@ -39291,9 +39300,6 @@ export default {{$ref: "#/parameters/rowFilter.job.priority"},- {- $ref: "#/parameters/rowFilter.job.productionQuantity"- },{$ref: "#/parameters/rowFilter.job.projectedCompletionAt"},@@ -39303,6 +39309,9 @@ export default {{$ref: "#/parameters/rowFilter.job.scheduleOutdatedAt"},+ {+ $ref: "#/parameters/rowFilter.job.productionQuantity"+ },{$ref: "#/parameters/rowFilter.job.fixedAssetClassId"},@@ -50356,10 +50365,10 @@ export default {$ref: "#/parameters/rowFilter.jobOperation.assemblyInstructionId"},{- $ref: "#/parameters/rowFilter.jobOperation.inspectionDocumentId"+ $ref: "#/parameters/rowFilter.jobOperation.readyAt"},{- $ref: "#/parameters/rowFilter.jobOperation.readyAt"+ $ref: "#/parameters/rowFilter.jobOperation.inspectionDocumentId"},{$ref: "#/parameters/rowFilter.jobOperation.projectedCompletionAt"@@ -50565,10 +50574,10 @@ export default {$ref: "#/parameters/rowFilter.jobOperation.assemblyInstructionId"},{- $ref: "#/parameters/rowFilter.jobOperation.inspectionDocumentId"+ $ref: "#/parameters/rowFilter.jobOperation.readyAt"},{- $ref: "#/parameters/rowFilter.jobOperation.readyAt"+ $ref: "#/parameters/rowFilter.jobOperation.inspectionDocumentId"},{$ref: "#/parameters/rowFilter.jobOperation.projectedCompletionAt"@@ -50728,10 +50737,10 @@ export default {$ref: "#/parameters/rowFilter.jobOperation.assemblyInstructionId"},{- $ref: "#/parameters/rowFilter.jobOperation.inspectionDocumentId"+ $ref: "#/parameters/rowFilter.jobOperation.readyAt"},{- $ref: "#/parameters/rowFilter.jobOperation.readyAt"+ $ref: "#/parameters/rowFilter.jobOperation.inspectionDocumentId"},{$ref: "#/parameters/rowFilter.jobOperation.projectedCompletionAt"@@ -93318,6 +93327,9 @@ export default {{$ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.assemblyInstructionId"},+ {+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.readyAt"+ },{$ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.inspectionDocumentId"},@@ -102846,6 +102858,9 @@ export default {{$ref: "#/parameters/rowFilter.companySettings.returnPickedMaterialTiming"},+ {+ $ref: "#/parameters/rowFilter.companySettings.salesRuleNotificationGroup"+ },{$ref: "#/parameters/rowFilter.companySettings.showCurrencyTrailingZeros"},@@ -102855,9 +102870,6 @@ export default {{$ref: "#/parameters/rowFilter.companySettings.allowLowercaseItemIds"},- {- $ref: "#/parameters/rowFilter.companySettings.salesRuleNotificationGroup"- },{$ref: "#/parameters/rowFilter.companySettings.includeOperationsOnTraveler"},@@ -102942,6 +102954,9 @@ export default {{$ref: "#/parameters/rowFilter.companySettings.useCalendarWeeks"},+ {+ $ref: "#/parameters/rowFilter.companySettings.kanbanLabelSize"+ },{$ref: "#/parameters/select"},@@ -103136,6 +103151,9 @@ export default {{$ref: "#/parameters/rowFilter.companySettings.returnPickedMaterialTiming"},+ {+ $ref: "#/parameters/rowFilter.companySettings.salesRuleNotificationGroup"+ },{$ref: "#/parameters/rowFilter.companySettings.showCurrencyTrailingZeros"},@@ -103145,9 +103163,6 @@ export default {{$ref: "#/parameters/rowFilter.companySettings.allowLowercaseItemIds"},- {- $ref: "#/parameters/rowFilter.companySettings.salesRuleNotificationGroup"- },{$ref: "#/parameters/rowFilter.companySettings.includeOperationsOnTraveler"},@@ -103232,6 +103247,9 @@ export default {{$ref: "#/parameters/rowFilter.companySettings.useCalendarWeeks"},+ {+ $ref: "#/parameters/rowFilter.companySettings.kanbanLabelSize"+ },{$ref: "#/parameters/preferReturn"}@@ -103380,6 +103398,9 @@ export default {{$ref: "#/parameters/rowFilter.companySettings.returnPickedMaterialTiming"},+ {+ $ref: "#/parameters/rowFilter.companySettings.salesRuleNotificationGroup"+ },{$ref: "#/parameters/rowFilter.companySettings.showCurrencyTrailingZeros"},@@ -103389,9 +103410,6 @@ export default {{$ref: "#/parameters/rowFilter.companySettings.allowLowercaseItemIds"},- {- $ref: "#/parameters/rowFilter.companySettings.salesRuleNotificationGroup"- },{$ref: "#/parameters/rowFilter.companySettings.includeOperationsOnTraveler"},@@ -103476,6 +103494,9 @@ export default {{$ref: "#/parameters/rowFilter.companySettings.useCalendarWeeks"},+ {+ $ref: "#/parameters/rowFilter.companySettings.kanbanLabelSize"+ },{$ref: "#/parameters/body.companySettings"},@@ -122886,6 +122907,10 @@ export default {format: "text",type: "string"},+ readyAt: {+ format: "timestamp with time zone",+ type: "string"+ },inspectionDocumentId: {description:"Note:\nThis is a Foreign Key to `inspectionDocument.id`.<fk table='inspectionDocument' column='id'/>",@@ -130400,10 +130425,6 @@ export default {format: "double precision",type: "number"},- productionQuantity: {- format: "numeric",- type: "number"- },projectedCompletionAt: {format: "timestamp with time zone",type: "string"@@ -130416,6 +130437,10 @@ export default {format: "timestamp with time zone",type: "string"},+ productionQuantity: {+ format: "numeric",+ type: "number"+ },fixedAssetClassId: {description:"Note:\nThis is a Foreign Key to `fixedAssetClass.id`.<fk table='fixedAssetClass' column='id'/>",@@ -137734,10 +137759,6 @@ export default {format: "double precision",type: "number"},- productionQuantity: {- format: "numeric",- type: "number"- },projectedCompletionAt: {description:"Simulated finish of the job's last operation (forward-ASAP finite schedule). Null until first regen.",@@ -137754,6 +137775,10 @@ export default {format: "timestamp with time zone",type: "string"},+ productionQuantity: {+ format: "numeric",+ type: "number"+ },fixedAssetClassId: {description:"Note:\nThis is a Foreign Key to `fixedAssetClass.id`.<fk table='fixedAssetClass' column='id'/>",@@ -143325,16 +143350,16 @@ export default {format: "text",type: "string"},+ readyAt: {+ format: "timestamp with time zone",+ type: "string"+ },inspectionDocumentId: {description:"Note:\nThis is a Foreign Key to `inspectionDocument.id`.<fk table='inspectionDocument' column='id'/>",format: "text",type: "string"},- readyAt: {- format: "timestamp with time zone",- type: "string"- },projectedCompletionAt: {description:"Forward finite simulation: when this operation is projected to finish. Volatile (rewritten every regen).",@@ -163710,6 +163735,10 @@ export default {format: "text",type: "string"},+ readyAt: {+ format: "timestamp with time zone",+ type: "string"+ },inspectionDocumentId: {description:"Note:\nThis is a Foreign Key to `inspectionDocument.id`.<fk table='inspectionDocument' column='id'/>",@@ -168211,10 +168240,10 @@ export default {"incompletePickingListPolicy","includeMaterialsOnTraveler","returnPickedMaterialTiming",+ "salesRuleNotificationGroup","showCurrencyTrailingZeros","requireMfa","allowLowercaseItemIds",- "salesRuleNotificationGroup","includeOperationsOnTraveler","requireSupplierContactAndLocation","requireCustomerContactAndLocation",@@ -168236,7 +168265,8 @@ export default {"receiptQuantitiesStartAtZero","requirePurchaseOrderApprovalSignature","serialNumberTiming",- "useCalendarWeeks"+ "useCalendarWeeks",+ "kanbanLabelSize"],properties: {id: {@@ -168483,6 +168513,13 @@ export default {format: "text",type: "string"},+ salesRuleNotificationGroup: {+ format: "text[]",+ items: {+ type: "string"+ },+ type: "array"+ },showCurrencyTrailingZeros: {default: true,format: "boolean",@@ -168498,13 +168535,6 @@ export default {format: "boolean",type: "boolean"},- salesRuleNotificationGroup: {- format: "text[]",- items: {- type: "string"- },- type: "array"- },includeOperationsOnTraveler: {default: true,format: "boolean",@@ -168654,6 +168684,12 @@ export default {default: false,format: "boolean",type: "boolean"+ },+ kanbanLabelSize: {+ default: "letter",+ enum: ["letter", "label4x2", "label3x2"],+ format: 'public."kanbanLabelSize"',+ type: "string"}},type: "object"@@ -169281,6 +169317,8 @@ export default {type: "number"},kanbanId: {+ description:+ 'Readable number from the company\'s "kanban" sequence (KB000001), printed on the label. Assigned on insert by set_kanban_readable_id and never changed. Not the stockTransfer."kanbanId" foreign key, which holds kanban.id.',format: "text",type: "string"}@@ -173622,6 +173660,12 @@ export default {in: "query",type: "string"},+ "rowFilter.jobOperationsWithDependencies.readyAt": {+ name: "readyAt",+ required: false,+ in: "query",+ type: "string"+ },"rowFilter.jobOperationsWithDependencies.inspectionDocumentId": {name: "inspectionDocumentId",required: false,@@ -182014,12 +182058,6 @@ export default {in: "query",type: "string"},- "rowFilter.jobs.productionQuantity": {- name: "productionQuantity",- required: false,- in: "query",- type: "string"- },"rowFilter.jobs.projectedCompletionAt": {name: "projectedCompletionAt",required: false,@@ -182038,6 +182076,12 @@ export default {in: "query",type: "string"},+ "rowFilter.jobs.productionQuantity": {+ name: "productionQuantity",+ required: false,+ in: "query",+ type: "string"+ },"rowFilter.jobs.fixedAssetClassId": {name: "fixedAssetClassId",required: false,@@ -190265,12 +190309,6 @@ export default {in: "query",type: "string"},- "rowFilter.job.productionQuantity": {- name: "productionQuantity",- required: false,- in: "query",- type: "string"- },"rowFilter.job.projectedCompletionAt": {name: "projectedCompletionAt",description:@@ -190293,6 +190331,12 @@ export default {in: "query",type: "string"},+ "rowFilter.job.productionQuantity": {+ name: "productionQuantity",+ required: false,+ in: "query",+ type: "string"+ },"rowFilter.job.fixedAssetClassId": {name: "fixedAssetClassId",required: false,@@ -196315,14 +196359,14 @@ export default {in: "query",type: "string"},- "rowFilter.jobOperation.inspectionDocumentId": {- name: "inspectionDocumentId",+ "rowFilter.jobOperation.readyAt": {+ name: "readyAt",required: false,in: "query",type: "string"},- "rowFilter.jobOperation.readyAt": {- name: "readyAt",+ "rowFilter.jobOperation.inspectionDocumentId": {+ name: "inspectionDocumentId",required: false,in: "query",type: "string"@@ -219247,6 +219291,12 @@ export default {in: "query",type: "string"},+ "rowFilter.jobOperationsWithMakeMethods.readyAt": {+ name: "readyAt",+ required: false,+ in: "query",+ type: "string"+ },"rowFilter.jobOperationsWithMakeMethods.inspectionDocumentId": {name: "inspectionDocumentId",required: false,@@ -224534,6 +224584,12 @@ export default {in: "query",type: "string"},+ "rowFilter.companySettings.salesRuleNotificationGroup": {+ name: "salesRuleNotificationGroup",+ required: false,+ in: "query",+ type: "string"+ },"rowFilter.companySettings.showCurrencyTrailingZeros": {name: "showCurrencyTrailingZeros",required: false,@@ -224552,12 +224608,6 @@ export default {in: "query",type: "string"},- "rowFilter.companySettings.salesRuleNotificationGroup": {- name: "salesRuleNotificationGroup",- required: false,- in: "query",- type: "string"- },"rowFilter.companySettings.includeOperationsOnTraveler": {name: "includeOperationsOnTraveler",required: false,@@ -224730,6 +224780,12 @@ export default {in: "query",type: "string"},+ "rowFilter.companySettings.kanbanLabelSize": {+ name: "kanbanLabelSize",+ required: false,+ in: "query",+ type: "string"+ },"body.part": {name: "part",description: "part",@@ -225408,6 +225464,8 @@ export default {},"rowFilter.kanban.kanbanId": {name: "kanbanId",+ description:+ 'Readable number from the company\'s "kanban" sequence (KB000001), printed on the label. Assigned on insert by set_kanban_readable_id and never changed. Not the stockTransfer."kanbanId" foreign key, which holds kanban.id.',required: false,in: "query",type: "string"diff --git a/packages/database/src/types.ts b/packages/database/src/types.tsindex 7e5f573b7f..99f71c4f81 100644--- a/packages/database/src/types.ts+++ b/packages/database/src/types.ts@@ -79028,6 +79028,7 @@ export type Database = {quantityComplete: number | nullquantityReworked: number | nullquantityScrapped: number | null+ readyAt: string | nullreworkId: string | nullsetupTime: number | nullsetupUnit: Database["public"]["Enums"]["factor"] | null@@ -79080,6 +79081,7 @@ export type Database = {quantityComplete?: number | nullquantityReworked?: number | nullquantityScrapped?: number | null+ readyAt?: string | nullreworkId?: string | nullsetupTime?: number | nullsetupUnit?: Database["public"]["Enums"]["factor"] | null@@ -79132,6 +79134,7 @@ export type Database = {quantityComplete?: number | nullquantityReworked?: number | nullquantityScrapped?: number | null+ readyAt?: string | nullreworkId?: string | nullsetupTime?: number | nullsetupUnit?: Database["public"]["Enums"]["factor"] | null@@ -79454,6 +79457,7 @@ export type Database = {quantityComplete: number | nullquantityReworked: number | nullquantityScrapped: number | null+ readyAt: string | nullreworkId: string | nullsetupTime: number | nullsetupUnit: Database["public"]["Enums"]["factor"] | nulldiff --git a/packages/documents/src/zpl/index.ts b/packages/documents/src/zpl/index.tsindex 91e3d0e28a..802b99f0ab 100644--- a/packages/documents/src/zpl/index.ts+++ b/packages/documents/src/zpl/index.ts@@ -6,8 +6,8 @@ import { generateKanbanLabelZPL } from "./KanbanLabelZPL";import { generateProductLabelZPL } from "./ProductLabelZPL";import { generateStorageUnitLabelZPL } from "./StorageUnitLabelZPL";-export type { KanbanLabelItem } from "./KanbanLabelZPL";-export { canHoldKanbanLabel } from "./KanbanLabelZPL";+export type { KanbanLabelAction, KanbanLabelItem } from "./KanbanLabelZPL";+export { canHoldKanbanLabel, kanbanLabelCode } from "./KanbanLabelZPL";export type { StorageUnitLabelItem } from "./StorageUnitLabelZPL";export {generateKanbanLabelZPL,diff --git a/packages/jobs/src/inngest/functions/tasks/print-job/index.tsx b/packages/jobs/src/inngest/functions/tasks/print-job/index.tsxindex e012082161..f929b74df7 100644--- a/packages/jobs/src/inngest/functions/tasks/print-job/index.tsx+++ b/packages/jobs/src/inngest/functions/tasks/print-job/index.tsx@@ -25,6 +25,7 @@ const log = getLogger("jobs", "print-job");import type { GeneratedContent, PrintableDocumentItem } from "./renderers";import { renderItemBuiltIn, renderItemWithTemplate } from "./renderers";import {+ type KanbanCardItem,resolveKanbanData,resolveStorageUnitData,resolveTrackedEntityData@@ -179,6 +180,12 @@ async function resolveDocumentItems(}}+const KANBAN_CARD_NAMES: Record<KanbanCardItem["action"], string> = {+ order: "Create",+ start: "Start",+ complete: "Complete"+};+function describeDocument(doc: PrintableDocumentItem,readableId: string | null,@@ -193,6 +200,7 @@ function describeDocument(break;case "kanbanCard":if (doc.item.itemId) parts.push(doc.item.itemId);+ parts.push(KANBAN_CARD_NAMES[doc.item.action]);break;case "storageUnitLabel":break;diff --git a/packages/jobs/src/inngest/functions/tasks/print-job/renderers.tsx b/packages/jobs/src/inngest/functions/tasks/print-job/renderers.tsxindex e8cd9f415f..4f257a9f57 100644--- a/packages/jobs/src/inngest/functions/tasks/print-job/renderers.tsx+++ b/packages/jobs/src/inngest/functions/tasks/print-job/renderers.tsx@@ -195,9 +195,8 @@ function streamToBuffer(stream: NodeJS.ReadableStream): Promise<Buffer> {}/**- * A kanban's Create card (a print job has no action; Start and Complete- * cards print from the kanbans list) at the printer's media size when the- * medium holds one+ * One kanban card, for the item's action (Create, Start or Complete), at the+ * printer's media size when the medium holds one* (3" x 2" and up): ZPL for a Zebra, else a one-card PDF. A PDF printer with* a smaller or no medium (an office printer) prints the company's Kanban* Label Size setting, the letter sheet by default.@@ -235,7 +234,12 @@ async function renderKanbanCard(}requireZplCapable(cardSize);return {- content: generateKanbanLabelZPL(label, cardSize, ERP_URL ?? ""),+ content: generateKanbanLabelZPL(+ label,+ cardSize,+ ERP_URL ?? "",+ item.action+ ),contentType: "zpl"};}@@ -261,7 +265,7 @@ async function renderKanbanCard(<KanbanLabelPDFbaseUrl={ERP_URL ?? ""}labels={[label]}- action="order"+ action={item.action}labelSize={labelSize}/>);diff --git a/packages/jobs/src/inngest/functions/tasks/print-job/resolvers.ts b/packages/jobs/src/inngest/functions/tasks/print-job/resolvers.tsindex dc324bfa7b..d61ffbf3af 100644--- a/packages/jobs/src/inngest/functions/tasks/print-job/resolvers.ts+++ b/packages/jobs/src/inngest/functions/tasks/print-job/resolvers.ts@@ -3,12 +3,15 @@// including ports, remain AGPLv3; serving them over a network requires releasing their source.import type { Database } from "@carbon/database";+import { type KanbanLabelAction, kanbanLabelCode } from "@carbon/documents/zpl";import { ERP_URL } from "@carbon/env";import type { ProductLabelItem } from "@carbon/utils";import type { SupabaseClient } from "@supabase/supabase-js";export type KanbanCardItem = {id: string;+ /** The card's one action: Create, Start or Complete. */+ action: KanbanLabelAction;kanbanId: string | null;kanbanUrl: string;itemId: string;@@ -69,27 +72,35 @@ export async function resolveKanbanData(if (!kanban) return null;- const kanbanUrl = `${ERP_URL ?? ""}/api/kanban/${sourceDocumentId}`;+ // One card per action, never several codes on one card: a Make kanban+ // prints its Create, Start and Complete cards; Buy and Transfer only Create.+ const actions: KanbanLabelAction[] =+ kanban.replenishmentSystem === "Make"+ ? ["order", "start", "complete"]+ : ["order"];return {- items: [- {- id: sourceDocumentId,- kanbanId: kanban.kanbanId,- kanbanUrl,- itemId: kanban.readableIdWithRevision || kanban.itemId || "",- itemName: kanban.name || "",- locationName: kanban.locationName || "",- storageUnitId: kanban.storageUnitId,- storageUnitName: kanban.storageUnitName,- fromStorageUnitName: kanban.fromStorageUnitName,- supplierName: kanban.supplierName,- quantity: kanban.quantity ?? 0,- replenishmentLevel: kanban.replenishmentLevel ?? null,- unitOfMeasureCode: kanban.purchaseUnitOfMeasureCode,- thumbnailPath: kanban.thumbnailPath- }- ],+ items: actions.map((action) => ({+ id: sourceDocumentId,+ action,+ kanbanId: kanban.kanbanId,+ kanbanUrl: kanbanLabelCode(+ { id: sourceDocumentId },+ ERP_URL ?? "",+ action+ ).url,+ itemId: kanban.readableIdWithRevision || kanban.itemId || "",+ itemName: kanban.name || "",+ locationName: kanban.locationName || "",+ storageUnitId: kanban.storageUnitId,+ storageUnitName: kanban.storageUnitName,+ fromStorageUnitName: kanban.fromStorageUnitName,+ supplierName: kanban.supplierName,+ quantity: kanban.quantity ?? 0,+ replenishmentLevel: kanban.replenishmentLevel ?? null,+ unitOfMeasureCode: kanban.purchaseUnitOfMeasureCode,+ thumbnailPath: kanban.thumbnailPath+ })),readableId: kanban.kanbanId ?? kanban.readableIdWithRevision ?? null};}diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.poindex e3651bf593..947a827b0c 100644--- a/packages/locale/locales/de/erp.po+++ b/packages/locale/locales/de/erp.po@@ -3915,8 +3915,8 @@ msgstr "Vermögenswerte, Verbindlichkeiten und Eigenkapital an einem bestimmtenmsgid "Assign machine run time that no loaded operation claimed to the right job, or dismiss it."msgstr "Weisen Sie die Maschinenbearbeitungszeit, die kein geladener Arbeitsgang beansprucht hat, dem richtigen Fertigungsauftrag zu oder lehnen Sie sie ab."-msgid "Assign printers to locations. Shipping, receiving, and work centers inherit the location default unless overridden."-msgstr "Weisen Sie Druckern Standorte zu. Versand, Wareneingang und Arbeitsplätze erben die Standort-Standardeinstellungen, sofern nicht manuell überschrieben."+msgid "Assign printers to locations. Shipping, receiving, inventory, kanbans, and work centers inherit the location default unless overridden."+msgstr "Weisen Sie Druckern Standorte zu. Versand, Wareneingang, Bestände, Kanbans und Arbeitsplätze erben die Standort-Standardeinstellungen, sofern nicht manuell überschrieben."msgid "Assign To"msgstr "Zuweisen an"@@ -18042,6 +18042,9 @@ msgid "Print"msgstr "Drucken"#. placeholder {0}: printIds.length+msgid "Print {0} Kanbans"+msgstr "{0} Kanbans drucken"+#. placeholder {0}: selectedIds.sizemsgid "Print {0} Labels"msgstr "Drucke {0} Etiketten"@@ -18750,8 +18753,8 @@ msgid "Queued"msgstr "In Warteschlange"#. placeholder {0}: printIds.length-msgid "Queued {0} labels for printing"-msgstr "{0} Etiketten zum Drucken eingereiht"+msgid "Queued {0} kanbans for printing"+msgstr "{0} Kanbans zum Drucken eingereiht"msgid "Queued {count} sync operations for sync"msgstr ""diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.poindex a09f4a0372..45285912d8 100644--- a/packages/locale/locales/en/erp.po+++ b/packages/locale/locales/en/erp.po@@ -3915,8 +3915,8 @@ msgstr "Assets, liabilities and equity as of a date"msgid "Assign machine run time that no loaded operation claimed to the right job, or dismiss it."msgstr "Assign machine run time that no loaded operation claimed to the right job, or dismiss it."-msgid "Assign printers to locations. Shipping, receiving, and work centers inherit the location default unless overridden."-msgstr "Assign printers to locations. Shipping, receiving, and work centers inherit the location default unless overridden."+msgid "Assign printers to locations. Shipping, receiving, inventory, kanbans, and work centers inherit the location default unless overridden."+msgstr "Assign printers to locations. Shipping, receiving, inventory, kanbans, and work centers inherit the location default unless overridden."msgid "Assign To"msgstr "Assign To"@@ -18042,6 +18042,9 @@ msgid "Print"msgstr "Print"#. placeholder {0}: printIds.length+msgid "Print {0} Kanbans"+msgstr "Print {0} Kanbans"+#. placeholder {0}: selectedIds.sizemsgid "Print {0} Labels"msgstr "Print {0} Labels"@@ -18750,8 +18753,8 @@ msgid "Queued"msgstr "Queued"#. placeholder {0}: printIds.length-msgid "Queued {0} labels for printing"-msgstr "Queued {0} labels for printing"+msgid "Queued {0} kanbans for printing"+msgstr "Queued {0} kanbans for printing"msgid "Queued {count} sync operations for sync"msgstr "Queued {count} sync operations for sync"diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.poindex 422e9cee90..03389d7ee0 100644--- a/packages/locale/locales/es/erp.po+++ b/packages/locale/locales/es/erp.po@@ -3915,8 +3915,8 @@ msgstr "Activos, pasivos y patrimonio a una fecha"msgid "Assign machine run time that no loaded operation claimed to the right job, or dismiss it."msgstr "Asigne el Tiempo de máquina que ninguna Operación cargada reclamó a la Orden de trabajo correcta, o descarte."-msgid "Assign printers to locations. Shipping, receiving, and work centers inherit the location default unless overridden."-msgstr "Asigna impresoras a ubicaciones. Envíos, recepciones y centros de trabajo heredan la ubicación predeterminada a menos que se anulen."+msgid "Assign printers to locations. Shipping, receiving, inventory, kanbans, and work centers inherit the location default unless overridden."+msgstr "Asigna impresoras a ubicaciones. Envíos, recepciones, inventario, kanbans y centros de trabajo heredan la ubicación predeterminada a menos que se anulen."msgid "Assign To"msgstr "Asignar a"@@ -18042,6 +18042,9 @@ msgid "Print"msgstr "Imprimir"#. placeholder {0}: printIds.length+msgid "Print {0} Kanbans"+msgstr "Imprimir {0} kanbans"+#. placeholder {0}: selectedIds.sizemsgid "Print {0} Labels"msgstr "Imprimir {0} etiquetas"@@ -18750,8 +18753,8 @@ msgid "Queued"msgstr "En cola"#. placeholder {0}: printIds.length-msgid "Queued {0} labels for printing"-msgstr "{0} etiquetas en cola para imprimir"+msgid "Queued {0} kanbans for printing"+msgstr "{0} kanbans en cola para imprimir"msgid "Queued {count} sync operations for sync"msgstr ""diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.poindex d90149caeb..3d7deee9c6 100644--- a/packages/locale/locales/fr/erp.po+++ b/packages/locale/locales/fr/erp.po@@ -3915,8 +3915,8 @@ msgstr "Actifs, passifs et capitaux propres à une date"msgid "Assign machine run time that no loaded operation claimed to the right job, or dismiss it."msgstr "Attribuer au bon ordre de fabrication le temps machine qu'aucune opération chargée n'a revendiqué, ou le rejeter."-msgid "Assign printers to locations. Shipping, receiving, and work centers inherit the location default unless overridden."-msgstr "Attribuer des imprimantes aux sites. L'expédition, la réception et les postes de travail héritent du paramètre par défaut du site sauf s'ils sont remplacés."+msgid "Assign printers to locations. Shipping, receiving, inventory, kanbans, and work centers inherit the location default unless overridden."+msgstr "Attribuer des imprimantes aux sites. L'expédition, la réception, les stocks, les kanbans et les postes de travail héritent du paramètre par défaut du site sauf s'ils sont remplacés."msgid "Assign To"msgstr "Attribuer à"@@ -18042,6 +18042,9 @@ msgid "Print"msgstr "Imprimer"#. placeholder {0}: printIds.length+msgid "Print {0} Kanbans"+msgstr "Imprimer {0} kanbans"+#. placeholder {0}: selectedIds.sizemsgid "Print {0} Labels"msgstr "Imprimer {0} étiquettes"@@ -18750,8 +18753,8 @@ msgid "Queued"msgstr "En file d'attente"#. placeholder {0}: printIds.length-msgid "Queued {0} labels for printing"-msgstr "{0} étiquettes mises en file d'impression"+msgid "Queued {0} kanbans for printing"+msgstr "{0} kanbans mis en file d'impression"msgid "Queued {count} sync operations for sync"msgstr ""diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.poindex 886f288fdc..ca3d2d2877 100644--- a/packages/locale/locales/hi/erp.po+++ b/packages/locale/locales/hi/erp.po@@ -3915,8 +3915,8 @@ msgstr "एक तारीख तक संपत्ति, देनदारmsgid "Assign machine run time that no loaded operation claimed to the right job, or dismiss it."msgstr "असाइन करें मशीन रन समय जो किसी लोड किए गए ऑपरेशन ने क्लेम नहीं किया, सही जॉब को, या इसे खारिज करें।"-msgid "Assign printers to locations. Shipping, receiving, and work centers inherit the location default unless overridden."-msgstr "प्रिंटर को स्थानों को असाइन करें। शिपिंग, रिसीविंग और वर्क सेंटर स्थान डिफ़ॉल्ट को विरासत में लेते हैं जब तक कि ओवरराइड न किया जाए।"+msgid "Assign printers to locations. Shipping, receiving, inventory, kanbans, and work centers inherit the location default unless overridden."+msgstr "प्रिंटर को स्थानों को असाइन करें। शिपिंग, रिसीविंग, इन्वेंटरी, कानबान और वर्क सेंटर स्थान डिफ़ॉल्ट को विरासत में लेते हैं जब तक कि ओवरराइड न किया जाए।"msgid "Assign To"msgstr "को असाइन करें"@@ -18042,6 +18042,9 @@ msgid "Print"msgstr "प्रिंट करें"#. placeholder {0}: printIds.length+msgid "Print {0} Kanbans"+msgstr "{0} कानबान प्रिंट करें"+#. placeholder {0}: selectedIds.sizemsgid "Print {0} Labels"msgstr "{0} लेबल प्रिंट करें"@@ -18750,8 +18753,8 @@ msgid "Queued"msgstr "कतार में"#. placeholder {0}: printIds.length-msgid "Queued {0} labels for printing"-msgstr "{0} लेबल प्रिंट के लिए कतार में लगाए गए"+msgid "Queued {0} kanbans for printing"+msgstr "{0} कानबान प्रिंट के लिए कतार में लगाए गए"msgid "Queued {count} sync operations for sync"msgstr ""diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.poindex f9bb0e1caf..09fa8870e8 100644--- a/packages/locale/locales/it/erp.po+++ b/packages/locale/locales/it/erp.po@@ -3915,8 +3915,8 @@ msgstr "Attività, passività e patrimonio netto a una data"msgid "Assign machine run time that no loaded operation claimed to the right job, or dismiss it."msgstr "Assegna il tempo macchina che nessuna operazione caricata ha rivendicato all'ordine di produzione corretto, oppure scartalo."-msgid "Assign printers to locations. Shipping, receiving, and work centers inherit the location default unless overridden."-msgstr "Assegna stampanti alle posizioni. Spedizione, ricezione e centri di lavoro ereditano l'impostazione predefinita della posizione se non sovrascritti."+msgid "Assign printers to locations. Shipping, receiving, inventory, kanbans, and work centers inherit the location default unless overridden."+msgstr "Assegna stampanti alle posizioni. Spedizione, ricezione, magazzino, kanban e centri di lavoro ereditano l'impostazione predefinita della posizione se non sovrascritti."msgid "Assign To"msgstr "Assegna a"@@ -18042,6 +18042,9 @@ msgid "Print"msgstr "Stampa"#. placeholder {0}: printIds.length+msgid "Print {0} Kanbans"+msgstr "Stampa {0} kanban"+#. placeholder {0}: selectedIds.sizemsgid "Print {0} Labels"msgstr "Stampa {0} Etichette"@@ -18750,8 +18753,8 @@ msgid "Queued"msgstr "In coda"#. placeholder {0}: printIds.length-msgid "Queued {0} labels for printing"-msgstr "{0} etichette in coda di stampa"+msgid "Queued {0} kanbans for printing"+msgstr "{0} kanban in coda di stampa"msgid "Queued {count} sync operations for sync"msgstr ""diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.poindex c30cd8a70d..430be1e51f 100644--- a/packages/locale/locales/ja/erp.po+++ b/packages/locale/locales/ja/erp.po@@ -3915,8 +3915,8 @@ msgstr "特定の日付時点での資産、負債および純資産"msgid "Assign machine run time that no loaded operation claimed to the right job, or dismiss it."msgstr "読み込まれた工程に割り当てられていない機械加工時間を正しい製造指図に割り当てるか、却下してください。"-msgid "Assign printers to locations. Shipping, receiving, and work centers inherit the location default unless overridden."-msgstr "プリンターを拠点に割り当てます。出荷、入荷受付、および作業区は、上書きされない限り拠点のデフォルトを継承します。"+msgid "Assign printers to locations. Shipping, receiving, inventory, kanbans, and work centers inherit the location default unless overridden."+msgstr "プリンターを拠点に割り当てます。出荷、入荷受付、在庫管理、かんばん、および作業区は、上書きされない限り拠点のデフォルトを継承します。"msgid "Assign To"msgstr "割り当て先"@@ -18042,6 +18042,9 @@ msgid "Print"msgstr "印刷"#. placeholder {0}: printIds.length+msgid "Print {0} Kanbans"+msgstr "{0}件のかんばんを印刷"+#. placeholder {0}: selectedIds.sizemsgid "Print {0} Labels"msgstr "{0}個のラベルを印刷"@@ -18750,8 +18753,8 @@ msgid "Queued"msgstr "キュー待ち"#. placeholder {0}: printIds.length-msgid "Queued {0} labels for printing"-msgstr "{0} 枚のラベルを印刷キューに追加しました"+msgid "Queued {0} kanbans for printing"+msgstr "{0} 件のかんばんを印刷キューに追加しました"msgid "Queued {count} sync operations for sync"msgstr ""diff --git a/packages/locale/locales/ko/erp.po b/packages/locale/locales/ko/erp.poindex db4ffa632e..96cdc66338 100644--- a/packages/locale/locales/ko/erp.po+++ b/packages/locale/locales/ko/erp.po@@ -3915,8 +3915,8 @@ msgstr "특정 날짜 기준 자산, 부채 및 자본"msgid "Assign machine run time that no loaded operation claimed to the right job, or dismiss it."msgstr "로드된 공정이 청구하지 않은 기계 시간을 올바른 작업 지시에 할당하거나 거부하세요."-msgid "Assign printers to locations. Shipping, receiving, and work centers inherit the location default unless overridden."-msgstr "사업장에 프린터를 할당합니다. 출하, 입고, 및 작업장은 사업장 기본값을 상속하며 재정의할 수 있습니다."+msgid "Assign printers to locations. Shipping, receiving, inventory, kanbans, and work centers inherit the location default unless overridden."+msgstr "사업장에 프린터를 할당합니다. 출하, 입고, 재고 관리, 칸반 및 작업장은 사업장 기본값을 상속하며 재정의할 수 있습니다."msgid "Assign To"msgstr "할당"@@ -18042,6 +18042,9 @@ msgid "Print"msgstr "인쇄"#. placeholder {0}: printIds.length+msgid "Print {0} Kanbans"+msgstr "칸반 {0}개 인쇄"+#. placeholder {0}: selectedIds.sizemsgid "Print {0} Labels"msgstr "{0} 라벨 인쇄"@@ -18750,8 +18753,8 @@ msgid "Queued"msgstr "대기열"#. placeholder {0}: printIds.length-msgid "Queued {0} labels for printing"-msgstr "라벨 {0}개를 인쇄 대기열에 추가했습니다"+msgid "Queued {0} kanbans for printing"+msgstr "칸반 {0}개를 인쇄 대기열에 추가했습니다"msgid "Queued {count} sync operations for sync"msgstr ""diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.poindex c6c2a23588..0242ef3be9 100644--- a/packages/locale/locales/pl/erp.po+++ b/packages/locale/locales/pl/erp.po@@ -3915,8 +3915,8 @@ msgstr "Aktywa, pasywa i kapitał własny na określony dzień"msgid "Assign machine run time that no loaded operation claimed to the right job, or dismiss it."msgstr "Przypisz czas obróbki, który żadna załadowana operacja nie roszczył sobie do właściwego zlecenia produkcyjnego, lub odrzuć to."-msgid "Assign printers to locations. Shipping, receiving, and work centers inherit the location default unless overridden."-msgstr "Przypisz drukarki do lokalizacji. Wysyłka, otrzymywanie i stanowiska robocze dziedziczą domyślne lokalizacje, chyba że nastąpi nadpisanie."+msgid "Assign printers to locations. Shipping, receiving, inventory, kanbans, and work centers inherit the location default unless overridden."+msgstr "Przypisz drukarki do lokalizacji. Wysyłka, otrzymywanie, zapasy, kanbany i stanowiska robocze dziedziczą domyślne lokalizacje, chyba że nastąpi nadpisanie."msgid "Assign To"msgstr "Przypisz do"@@ -18042,6 +18042,9 @@ msgid "Print"msgstr "Drukuj"#. placeholder {0}: printIds.length+msgid "Print {0} Kanbans"+msgstr "Drukuj {0} kanbanów"+#. placeholder {0}: selectedIds.sizemsgid "Print {0} Labels"msgstr "Drukuj {0} etykiet"@@ -18750,8 +18753,8 @@ msgid "Queued"msgstr "W kolejce"#. placeholder {0}: printIds.length-msgid "Queued {0} labels for printing"-msgstr "Dodano {0} etykiet do kolejki drukowania"+msgid "Queued {0} kanbans for printing"+msgstr "Dodano {0} kanbanów do kolejki drukowania"msgid "Queued {count} sync operations for sync"msgstr ""diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.poindex eb830e2a99..ed0deabb60 100644--- a/packages/locale/locales/pt/erp.po+++ b/packages/locale/locales/pt/erp.po@@ -3915,8 +3915,8 @@ msgstr "Ativos, passivos e patrimônio líquido em uma data"msgid "Assign machine run time that no loaded operation claimed to the right job, or dismiss it."msgstr "Atribua o tempo de execução de máquina que nenhuma operação carregada reivindicou para a ordem de produção correta, ou descarte-o."-msgid "Assign printers to locations. Shipping, receiving, and work centers inherit the location default unless overridden."-msgstr "Atribua impressoras a locais. Envio, recebimento e centros de trabalho herdam o padrão do local, a menos que sejam substituídos."+msgid "Assign printers to locations. Shipping, receiving, inventory, kanbans, and work centers inherit the location default unless overridden."+msgstr "Atribua impressoras a locais. Envio, recebimento, inventário, kanbans e centros de trabalho herdam o padrão do local, a menos que sejam substituídos."msgid "Assign To"msgstr "Atribuir a"@@ -18042,6 +18042,9 @@ msgid "Print"msgstr "Imprimir"#. placeholder {0}: printIds.length+msgid "Print {0} Kanbans"+msgstr "Imprimir {0} kanbans"+#. placeholder {0}: selectedIds.sizemsgid "Print {0} Labels"msgstr "Imprimir {0} Etiquetas"@@ -18750,8 +18753,8 @@ msgid "Queued"msgstr "Na fila"#. placeholder {0}: printIds.length-msgid "Queued {0} labels for printing"-msgstr "{0} etiquetas na fila de impressão"+msgid "Queued {0} kanbans for printing"+msgstr "{0} kanbans na fila de impressão"msgid "Queued {count} sync operations for sync"msgstr ""diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.poindex ef82012298..508f270a85 100644--- a/packages/locale/locales/ru/erp.po+++ b/packages/locale/locales/ru/erp.po@@ -3915,8 +3915,8 @@ msgstr "Активы, обязательства и собственный каmsgid "Assign machine run time that no loaded operation claimed to the right job, or dismiss it."msgstr "Назначьте машинное время обработки, которое ни одна загруженная операция не требовала, правильному производственному заказу, или отклоните его."-msgid "Assign printers to locations. Shipping, receiving, and work centers inherit the location default unless overridden."-msgstr "Назначьте принтеры местоположениям. Доставка, получение и рабочие центры наследуют значение по умолчанию для местоположения, если не переопределено."+msgid "Assign printers to locations. Shipping, receiving, inventory, kanbans, and work centers inherit the location default unless overridden."+msgstr "Назначьте принтеры местоположениям. Доставка, получение, запасы, канбаны и рабочие центры наследуют значение по умолчанию для местоположения, если не переопределено."msgid "Assign To"msgstr "Назначить"@@ -18042,6 +18042,9 @@ msgid "Print"msgstr "Печать"#. placeholder {0}: printIds.length+msgid "Print {0} Kanbans"+msgstr "Печать {0} канбанов"+#. placeholder {0}: selectedIds.sizemsgid "Print {0} Labels"msgstr "Печать {0} этикеток"@@ -18750,8 +18753,8 @@ msgid "Queued"msgstr "В очереди"#. placeholder {0}: printIds.length-msgid "Queued {0} labels for printing"-msgstr "{0} этикеток поставлено в очередь печати"+msgid "Queued {0} kanbans for printing"+msgstr "{0} канбанов поставлено в очередь печати"msgid "Queued {count} sync operations for sync"msgstr ""diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.poindex e90db8fa78..4254239698 100644--- a/packages/locale/locales/tr/erp.po+++ b/packages/locale/locales/tr/erp.po@@ -3915,8 +3915,8 @@ msgstr "Bir tarih itibariyle varlıklar, yükümlülükler ve özkaynak"msgid "Assign machine run time that no loaded operation claimed to the right job, or dismiss it."msgstr "Yüklü bir operasyonun talep etmediği makine süresini doğru işe atayın veya göz ardı edin."-msgid "Assign printers to locations. Shipping, receiving, and work centers inherit the location default unless overridden."-msgstr "Yazıcıları konumlara atayın. Sevkiyat, kabul ve iş merkezleri, geçersiz kılınmadıkça konum varsayılanını miras alır."+msgid "Assign printers to locations. Shipping, receiving, inventory, kanbans, and work centers inherit the location default unless overridden."+msgstr "Yazıcıları konumlara atayın. Sevkiyat, kabul, envanter, kanbanlar ve iş merkezleri, geçersiz kılınmadıkça konum varsayılanını miras alır."msgid "Assign To"msgstr "Ata"@@ -18042,6 +18042,9 @@ msgid "Print"msgstr "Yazdır"#. placeholder {0}: printIds.length+msgid "Print {0} Kanbans"+msgstr "{0} Kanban Yazdır"+#. placeholder {0}: selectedIds.sizemsgid "Print {0} Labels"msgstr "{0} Etiket Yazdır"@@ -18750,8 +18753,8 @@ msgid "Queued"msgstr "Kuyrukta"#. placeholder {0}: printIds.length-msgid "Queued {0} labels for printing"-msgstr "{0} etiket yazdırma kuyruğuna eklendi"+msgid "Queued {0} kanbans for printing"+msgstr "{0} kanban yazdırma kuyruğuna eklendi"msgid "Queued {count} sync operations for sync"msgstr ""diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.poindex b1d1ca6d4f..a5bd1a1a3e 100644--- a/packages/locale/locales/zh/erp.po+++ b/packages/locale/locales/zh/erp.po@@ -3915,8 +3915,8 @@ msgstr "某一日期的资产、负债和所有者权益"msgid "Assign machine run time that no loaded operation claimed to the right job, or dismiss it."msgstr "将未被加载工序认领的机器工时分配给正确的工单,或将其放弃。"-msgid "Assign printers to locations. Shipping, receiving, and work centers inherit the location default unless overridden."-msgstr "将打印机分配到位置。运输、接收和工作中心继承位置默认值,除非被覆盖。"+msgid "Assign printers to locations. Shipping, receiving, inventory, kanbans, and work centers inherit the location default unless overridden."+msgstr "将打印机分配到位置。运输、接收、库存管理、看板和工作中心继承位置默认值,除非被覆盖。"msgid "Assign To"msgstr "分配给"@@ -18042,6 +18042,9 @@ msgid "Print"msgstr "打印"#. placeholder {0}: printIds.length+msgid "Print {0} Kanbans"+msgstr "打印 {0} 个看板"+#. placeholder {0}: selectedIds.sizemsgid "Print {0} Labels"msgstr "打印 {0} 个标签"@@ -18750,8 +18753,8 @@ msgid "Queued"msgstr "排队中"#. placeholder {0}: printIds.length-msgid "Queued {0} labels for printing"-msgstr "已将 {0} 个标签加入打印队列"+msgid "Queued {0} kanbans for printing"+msgstr "已将 {0} 个看板加入打印队列"msgid "Queued {count} sync operations for sync"msgstr ""diff --git a/packages/printing/src/assignments.ts b/packages/printing/src/assignments.tsindex 4bdcd7590a..4a01618066 100644--- a/packages/printing/src/assignments.ts+++ b/packages/printing/src/assignments.ts@@ -13,6 +13,7 @@ export const printerContexts = ["shipping","receiving","inventory",+ "kanban","workCenter"] as const;@@ -22,7 +23,8 @@ const sourceDocumentContexts: Record<string, PrinterContext> = {Shipment: "shipping",Receipt: "receiving",StockTransfer: "inventory",- StorageUnit: "inventory"+ StorageUnit: "inventory",+ Kanban: "kanban"};/**@@ -81,6 +83,7 @@ export function emptyLocationAssignment(): LocationAssignment {shipping: { printerRouteId: null, autoPrint: true },receiving: { printerRouteId: null, autoPrint: true },inventory: { printerRouteId: null, autoPrint: true },+ kanban: { printerRouteId: null, autoPrint: true },workCenters: {}};}diff --git a/packages/printing/src/types.ts b/packages/printing/src/types.tsindex 3a107f4cc0..b751c09a88 100644--- a/packages/printing/src/types.ts+++ b/packages/printing/src/types.ts@@ -13,6 +13,7 @@ export type LocationAssignment = {shipping: ContextAssignment;receiving: ContextAssignment;inventory: ContextAssignment;+ kanban: ContextAssignment;workCenters: Record<string, ContextAssignment>;};