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
fix(production): self-review follow-ups for the capacity planning PR
naveenkash47917d17f1ef
diff --git a/.ai/lessons.md b/.ai/lessons.mdindex 7530f807d4..b26198213d 100644--- a/.ai/lessons.md+++ b/.ai/lessons.md@@ -4149,3 +4149,13 @@ The write was then removed (nothing reads it), so the rail always starts collaps**Rule:** A second reader of an `.xbf` opens it from a stream (`Open(std::istream&, doc)`), which skips the path check, and calls `xcaf_app()->Close(doc)` when done. Test any new pass over the ingest's xbf through `run_ingest`, not only through the converter.**Applies to:** `crates/occt-bridge/src/*.cc` (any function that opens a BinXCAF document), `apps/assembler/src/actions/optimize.rs` (`run_ingest`).++## A save that reconciles a whole set must be shown the whole set, whatever the page filters++**Context:** The People board's day editor (`PeopleHoursModal` → `setPeopleDay`) saves a person's day: it updates the rows it is sent and DELETES the rows of the save's shift it is not sent (2026-10-28).++**Problem:** The editor opened with the rows the page showed. The department filter hid rows at other stations, and the shift filter hid rows of other shifts, while the save was scoped to the person's own shift (or every shift, for a person with none). Saving deleted rows the user never saw, or inserted a second row for a station the person already held in another shift.++**Rule:** A save that reconciles a set (deletes what it is not sent) gets that set from the same scope the server deletes by, never from what the page filtered. Pass the unfiltered rows next to the filtered ones and select the save's scope in one pure helper (`editorDayRows`, `peopleShared.ts`), with a test.++**Applies to:** `apps/erp/app/modules/production/ui/Schedule/People/*` (Board and Matrix editors), `setPeopleDay` and any other "make these rows the whole day/week" write in `production.service.ts`.diff --git a/.claude/rules/scheduling-data-structures.md b/.claude/rules/scheduling-data-structures.mdindex 982277dc8e..832cc96899 100644--- a/.claude/rules/scheduling-data-structures.md+++ b/.claude/rules/scheduling-data-structures.md@@ -112,7 +112,12 @@ Spec/plan: `.ai/specs/2026-09-22-quote-lead-time-prediction.md`.station-day, where attended hours are the setup + labor share of each bookinglaid on the station's working time from the booking's start(`attendedHoursByDay`, `getOperationAttendedShares`); machine time and- lights-out stations need nobody. Load renders as hours+ lights-out stations need nobody. On a shift tab only the hours inside that+ shift count (`within`, `getShiftWorkingWindows`), each on the day the shift+ STARTS: the roster puts Friday's night shift on Friday, so its hours past+ midnight are Friday's (a run longer than a day, back-to-back shifts merged+ into one window, is split by the clock). A shift id from the URL that is not+ one of the location's shifts reads as All shifts. Load renders as hoursover/free (+Xh / Xh free), not %. Shift + location filters live in headerpopovers; the shift filter's "All shifts" option (`shiftId` null ondrag) creates shift-less assignments that resolve hours via the ladder.diff --git a/apps/erp/app/components/Gantt/Gantt.tsx b/apps/erp/app/components/Gantt/Gantt.tsxindex 23ad6df81b..3210e0f067 100644--- a/apps/erp/app/components/Gantt/Gantt.tsx+++ b/apps/erp/app/components/Gantt/Gantt.tsx@@ -30,6 +30,7 @@ import {useViewport} from "@carbon/react";import { formatDurationMilliseconds, lerp } from "@carbon/utils";+import { plural } from "@lingui/core/macro";import { Plural, Trans, useLingui } from "@lingui/react/macro";import type { Virtualizer } from "@tanstack/react-virtual";import { useEffect, useMemo, useRef, useState } from "react";@@ -435,16 +436,18 @@ const Gantt = ({</div></div><div ref={panelGroupRef} className="relative h-full w-full min-h-0">- {nothingMatches && (- <div- role="status"- className="pointer-events-none absolute inset-x-0 top-12 z-10 flex justify-center"- >+ {/* The live region stays mounted so a screen reader hears the text+ appear; one mounted with its text already inside says nothing. */}+ <div+ role="status"+ className="pointer-events-none absolute inset-x-0 top-12 z-10 flex justify-center"+ >+ {nothingMatches && (<span className="rounded-md border border-border bg-background px-3 py-1.5 text-sm text-muted-foreground shadow-sm"><Trans>Nothing matches the search or filter</Trans></span>- </div>- )}+ )}+ </div>{/* Phones: a fixed tree column beside the timeline, which keeps itsown sideways scroll. */}{isPhone && (@@ -568,6 +571,8 @@ type GanttTimelineProps = Pick<const TICK_COUNT = 5;const LABEL_MIN_PX = 40;+/** The axis runs 5% past the last span, so a bar never ends at the edge. */+const AXIS_PADDING = 1.05;/*** Split a bar's [offset, offset+duration] into its WORKING pieces by removing@@ -621,13 +626,21 @@ function splitOrUndefined(: undefined;}-/** One row's non-working time, shaded behind its bars. */+/**+ * One row's non-working time, shaded behind its bars, with the grid lines+ * (`children`) drawn over the shading.+ */function RowShading({offsets,- duration+ duration,+ selected,+ children}: {offsets: { start: number; end: number }[] | null;duration: number;+ /** A selected row is already `bg-muted`, so its shading takes a darker tone. */+ selected: boolean;+ children: React.ReactNode;}) {return (<div className="pointer-events-none absolute inset-0">@@ -640,10 +653,14 @@ function RowShading({key={`nonworking-${interval.start}`}startMs={startMs}durationMs={endMs - startMs}- className="h-full bg-muted/50"+ className={cn(+ "h-full",+ selected ? "bg-muted-foreground/15" : "bg-muted/50"+ )}/>);})}+ {children}</div>);}@@ -760,12 +777,63 @@ const GanttTimeline = ({]));}, [events, nonWorkingIntervalsByRow, nonWorkingIntervals, anchorMs]);- // A row in the map keeps its entry even when that is none (the location- // rollup); only a row missing from it takes the plant's hours.+ // Every row has an entry, even when that is none (the location rollup);+ // `rowNonWorkingIntervals` already gave the plant's hours to the rest.const offsetsFor = (eventId: string) =>- rowOffsets?.has(eventId)- ? (rowOffsets.get(eventId) ?? null)- : nonWorkingOffsets;+ rowOffsets ? (rowOffsets.get(eventId) ?? null) : nonWorkingOffsets;++ // The tick lines and the "now" (or end-of-span) line. Drawn behind the+ // rows, and again inside a row that shades its own non-working time, so the+ // shading never covers them.+ const gridLines = (+ <>+ {/* The vertical tick lines */}+ {absoluteTicks ? (+ absoluteTicks.map((tickMs, index) =>+ index === 0 ? null : (+ <Timeline.Point+ key={tickMs}+ ms={tickMs}+ className="h-full border-r border-muted"+ />+ )+ )+ ) : (+ <Timeline.EquallyDistribute count={TICK_COUNT}>+ {(ms: number, index: number) => {+ if (index === 0) return null;+ return (+ <Timeline.Point+ ms={ms}+ className={"h-full border-r border-muted"}+ />+ );+ }}+ </Timeline.EquallyDistribute>+ )}+ {/* Absolute mode: the green line is "now", drawn only while now is+ inside the window. Duration mode keeps the completed/failed+ end-of-span line. */}+ {isAbsolute+ ? showNow && (+ <Timeline.Point+ ms={nowOffsetMs as number}+ className="h-full border-r border-emerald-500/90"+ />+ )+ : rootSpanStatus !== "inprogress" && (+ <Timeline.Point+ ms={duration}+ className={cn(+ "h-full border-r",+ rootSpanStatus === "completed"+ ? "border-emerald-500/90"+ : "border-destructive/30"+ )}+ />+ )}+ </>+ );return (<div@@ -773,7 +841,7 @@ const GanttTimeline = ({ref={timelineContainerRef}><Timeline.Root- durationMs={duration * 1.05}+ durationMs={duration * AXIS_PADDING}scale={scale}className="h-full overflow-hidden"minWidth={minTimelineWidth}@@ -929,51 +997,7 @@ const GanttTimeline = ({/>);})}- {/* The vertical tick lines */}- {absoluteTicks ? (- absoluteTicks.map((tickMs, index) =>- index === 0 ? null : (- <Timeline.Point- key={tickMs}- ms={tickMs}- className="h-full border-r border-muted"- />- )- )- ) : (- <Timeline.EquallyDistribute count={TICK_COUNT}>- {(ms: number, index: number) => {- if (index === 0) return null;- return (- <Timeline.Point- ms={ms}- className={"h-full border-r border-muted"}- />- );- }}- </Timeline.EquallyDistribute>- )}- {/* Absolute mode: the green line is "now", drawn only while now is- inside the window. Duration mode keeps the completed/failed- end-of-span line. */}- {isAbsolute- ? showNow && (- <Timeline.Point- ms={nowOffsetMs as number}- className="h-full border-r border-emerald-500/90"- />- )- : rootSpanStatus !== "inprogress" && (- <Timeline.Point- ms={duration}- className={cn(- "h-full border-r",- rootSpanStatus === "completed"- ? "border-emerald-500/90"- : "border-destructive/30"- )}- />- )}+ {gridLines}<TreeViewscrollRef={timelineScrollRef}virtualizer={virtualizer}@@ -1007,7 +1031,10 @@ const GanttTimeline = ({<RowShadingoffsets={offsetsFor(node.id)}duration={duration}- />+ selected={state.selected}+ >+ {gridLines}+ </RowShading>)}{node.data.items ? (<LaneItems@@ -1022,7 +1049,7 @@ const GanttTimeline = ({(LABEL_MIN_PX /lerp(minTimelineWidth, maxTimelineWidth, scale)) *duration *- 1.05+ AXIS_PADDING}/>) : node.data.level === "TRACE" ? (@@ -1486,8 +1513,12 @@ function LaneItems({}const selected =members.find((member) => member.id === selectedItemId) ?? null;+ const count = members.length;const names = members.map((member) => member.data.message).join(", ");- const label = t`${members.length} can't be scheduled: ${names}`;+ const label = t`${plural(count, {+ one: `# can't be scheduled: ${names}`,+ other: `# can't be scheduled: ${names}`+ })}`;return (<divkey={first.id}@@ -1506,7 +1537,7 @@ function LaneItems({type="button"title={t`${label} — click to open the next`}aria-label={label}- aria-current={selected !== null ? "true" : undefined}+ aria-pressed={selected !== null}onClick={(e) => {e.stopPropagation();// Each click opens the next of the merged operations.diff --git a/apps/erp/app/components/Gantt/filter.ts b/apps/erp/app/components/Gantt/filter.tsindex 1d3f3c12ee..cc7d706674 100644--- a/apps/erp/app/components/Gantt/filter.ts+++ b/apps/erp/app/components/Gantt/filter.ts@@ -10,7 +10,10 @@ export type GanttFilterValue = { text: string; wipOnly: boolean };/** What the board shows under a filter: the tree rows and the lit bars. */export type GanttVisibility = {active: boolean;- /** Row (tree node) ids on screen. */+ /**+ * Row (tree node) ids the filter keeps. Collapse is not applied, so a kept+ * row under a collapsed parent is in the set but not on screen.+ */rows: Set<string>;/** Inline bars (`data.items`) on a shown row that the filter keeps lit. */bars: Set<string>;diff --git a/apps/erp/app/hooks/useReplaceLocation.tsx b/apps/erp/app/hooks/useReplaceLocation.tsxindex b9da5a73eb..0b90acd66b 100644--- a/apps/erp/app/hooks/useReplaceLocation.tsx+++ b/apps/erp/app/hooks/useReplaceLocation.tsx@@ -3,31 +3,24 @@// including ports, remain AGPLv3; serving them over a network requires releasing their source.import { useOptimisticLocation } from "@carbon/react";-import { useCallback, useRef, useState } from "react";+import { useCallback, useState } from "react";import type { Location } from "react-router";/*** Change the URL's search params without a navigation (no loader runs). The* router does not see a `history.replaceState`, so the replaced location is- * kept until the router moves to another location. Each change starts from- * the address bar and the router's location as they are when the change- * runs, so two quick changes (a debounced one among them) never drop each- * other's params, and a debounced change that fires after a navigation is- * recorded against the new location, not the one it was scheduled on.+ * kept, keyed by the router's history entry, until the router moves to+ * another entry. Each change starts from the address bar and the history+ * entry as they are when it runs, so two quick changes (a debounced one among+ * them) never drop each other's params, and a debounced change that fires+ * after a navigation is recorded against the new entry, not the one it was+ * scheduled on.*/export function useReplaceLocation() {const optimisticLocation = useOptimisticLocation();- const [replaced, setReplaced] = useState<{- key: string;- location: Location<any>;- } | null>(null);+ const [replaced, setReplaced] = useState<Location<any> | null>(null);const location =- replaced?.key === optimisticLocation.key- ? replaced.location- : optimisticLocation;-- const current = useRef({ key: optimisticLocation.key, location });- current.current = { key: optimisticLocation.key, location };+ replaced?.key === optimisticLocation.key ? replaced : optimisticLocation;const replaceLocation = useCallback((next: Location<any>) => {// Keep the router's own history entry state ({ usr, key, idx }).@@ -36,7 +29,8 @@ export function useReplaceLocation() {"",next.pathname + next.search + next.hash);- setReplaced({ key: current.current.key, location: { ...next } });+ // The router names a location by its history entry's key.+ setReplaced({ ...next, key: history.state?.key ?? "default" });}, []);const replaceSearchParam = useCallback(@@ -48,8 +42,11 @@ export function useReplaceLocation() {searchParams.delete(key);}replaceLocation({- ...current.current.location,- search: "?" + searchParams.toString()+ pathname: window.location.pathname,+ search: "?" + searchParams.toString(),+ hash: window.location.hash,+ state: history.state?.usr ?? null,+ key: history.state?.key ?? "default"});},[replaceLocation]diff --git a/apps/erp/app/modules/production/AGENTS.md b/apps/erp/app/modules/production/AGENTS.mdindex f5436d5d84..de3da7b63b 100644--- a/apps/erp/app/modules/production/AGENTS.md+++ b/apps/erp/app/modules/production/AGENTS.md@@ -135,9 +135,9 @@ pnpm --filter erp test- `getBatchOutputLots` — a completed batch's MERGEABLE output lots: each member's WIP `trackedEntity` (by `attributes->>Job Make Method`), narrowed in-query to `Available` with stock. Drives the drawer's "Merge output lots"; a merged batch returns none (parents `Consumed`). The merge itself is `inventory`'s `mergeTrackedEntities` wrapper over `issue` `mergeTrackedEntities`- `getUnbatchedBatchableOperationCount` — head count of open (Todo/Ready/Waiting) unbatched operations on a batchable process for live jobs, mirroring the `get_batchable_operations` candidate branch; drives the production dashboard's "Unbatched Operations" card (links to `/x/production/batches/new`)- `getJobOperationBatches` / `getJobOperationBatchMemberStats` / `getJobOperationBatchMembers` / `getJobOperationBatchWithMembers` — the `/x/production/batches` list (filterable, member count + summed quantity merged in the loader; `getJobOperationBatchMembers` is a single grouped `.in()` read of the page's member rows — job/item/quantity — powering the table's expandable member sub-rows, mirroring the ECO change-notices table's `renderExpandedRow`) and its detail drawer-- `getPeopleAssignments` / `getPeopleAbsences` (single date) and `getPeopleAssignmentsRange` / `getPeopleAbsencesRange` (week) — people board/matrix reads; `upsertPeopleAssignment` (move semantics, optional partial-day `hours`) / `movePeopleAssignment` (station move with same-station merge, Kysely txn; returns `previousWorkCenterId` so `movePerson` reschedules BOTH the source and destination work centers — otherwise the station the person LEFT keeps a stale booking) / `setPeopleAssignmentHours` (per-station hours; null = whole shift — lowering releases the remainder to the board's free-hours pool) / `setPeopleAssignmentOvertime` / `setPeopleOvertimeBulk` (one date or a `date`→`toDate` range — the board's Week horizon applies a whole week; optional department/shift scope, single UPDATE) / `deletePeopleAssignment` / `setPeopleAbsence` / `setPeopleAbsenceRange` (vacation as one action — a row per date, duplicates skipped) / `clearPeopleAbsence` / `copyPeopleBoard` (day; copies splits, not overtime) / `copyPeopleWeek` (whole Monday-start week, same skip rules) / `assignPeopleWeek` / `unassignPeopleWeek` / `movePeopleWeek` (week-basis manning for the Board's Week range: one row per working day from the shift's weekday flags, Mon–Fri fallback) / `setPeopleDay` (atomic reconciliation of a person's whole day — the `PeopleHoursModal` Working-hours editor's Save, also anchored on Matrix cells; it deletes the day's rows it is not sent, so every editor gets the person's whole day even under a department filter — `assignmentsElsewhere`) — people mutations. They are building blocks (never tools): the board posts to `x+/priority+/people.update.tsx`, which makes one service-function call per intent (`assignPerson`, `unassignPerson`, `movePerson`, `setPersonDay`, `setPersonHours`, `setPeopleOvertime`, `markPersonAbsent`, `markPersonAbsentRange`, `clearPersonAbsence`, `copyPeopleDay`, `assignPersonWeek`, `unassignPersonWeek`, `movePersonWeek`, `copyPeopleWeekBoard`, in `production.server.ts`); each checks the board's ids belong to the company (`requireBoardReferences`) and tells the scheduler. `usePeopleBoardFeedback` (`ui/Schedule/People/`) toasts their answers+- `getPeopleAssignments` / `getPeopleAbsences` (single date) and `getPeopleAssignmentsRange` / `getPeopleAbsencesRange` (week) — people board/matrix reads; `upsertPeopleAssignment` (move semantics, optional partial-day `hours`) / `movePeopleAssignment` (station move with same-station merge, Kysely txn; returns `previousWorkCenterId` so `movePerson` reschedules BOTH the source and destination work centers — otherwise the station the person LEFT keeps a stale booking) / `setPeopleAssignmentHours` (per-station hours; null = whole shift — lowering releases the remainder to the board's free-hours pool) / `setPeopleAssignmentOvertime` / `setPeopleOvertimeBulk` (one date or a `date`→`toDate` range — the board's Week horizon applies a whole week; optional department/shift scope, single UPDATE) / `deletePeopleAssignment` / `setPeopleAbsence` / `setPeopleAbsenceRange` (vacation as one action — a row per date, duplicates skipped) / `clearPeopleAbsence` / `copyPeopleBoard` (day; copies splits, not overtime) / `copyPeopleWeek` (whole Monday-start week, same skip rules) / `assignPeopleWeek` / `unassignPeopleWeek` / `movePeopleWeek` (week-basis manning for the Board's Week range: one row per working day from the shift's weekday flags, Mon–Fri fallback; a day the person is off or already booked in the same effective shift — a shift-less row counts as their own shift — is left as it is, and `assignPersonWeek` answers `assigned` / `skipped`) / `setPeopleDay` (atomic reconciliation of a person's whole day — the `PeopleHoursModal` Working-hours editor's Save, also anchored on Matrix cells; it deletes the day's rows of the save's shift it is not sent, so every editor opens with `editorDayRows` (`peopleShared.ts`): every row of that day in the person's own shift, at any station, whatever the page's shift and department filters hide. The route therefore returns the day's rows for every shift (`assignments`) and the components filter by shift) — people mutations. They are building blocks (never tools): the board posts to `x+/priority+/people.update.tsx`, which makes one service-function call per intent (`assignPerson`, `unassignPerson`, `movePerson`, `setPersonDay`, `setPersonHours`, `setPeopleOvertime`, `markPersonAbsent`, `markPersonAbsentRange`, `clearPersonAbsence`, `copyPeopleDay`, `assignPersonWeek`, `unassignPersonWeek`, `movePersonWeek`, `copyPeopleWeekBoard`, in `production.server.ts`); each checks the board's ids belong to the company (`requireBoardReferences`) and tells the scheduler. `usePeopleBoardFeedback` (`ui/Schedule/People/`) toasts their answers- `getPeopleCapacityOperations` — open `jobOperation` hours for the Capacity view (excludes Done/Canceled ops and Draft/Planned/Completed/Cancelled/Closed jobs — released load only), with `quantityComplete` and `started` (any production event) so Due nets remaining work as the scheduler does-- `getWorkCenterOutages` / `workingHoursByDay` / `attendedHoursByDay` / `getOperationAttendedShares` — the Capacity view's Available (working windows less open offline maintenance) and the Matrix Coverage's attended hours per station-day+- `getWorkCenterOutages` / `workingHoursByDay` / `attendedHoursByDay` / `getOperationAttendedShares` — the Capacity view's Available (working windows less open offline maintenance) and the Matrix Coverage's attended hours per station-day. On a shift tab Coverage counts only the hours inside that shift (`within`, from `getShiftWorkingWindows`), each on the day the shift starts, so a night shift's hours past midnight stay on the date it is rostered. A shift id that is not one of the location's shifts reads as All shifts- `getCapacityReservationsForResources` — live reservations across jobs (resource timeline + Capacity view's Scheduled series)- `getCompletionJobs` — the Outbound report (`x+/scheduling+/outbound.tsx`, Production → Scheduling → Outbound), RPC `get_completion_jobs` (migration `20260930150428`, SECURITY INVOKER): open (`Planned`/`Ready`/`In Progress`/`Paused`) jobs at a location that fill a sales order, with the ship-to (`salesOrder.customerLocationId`, or the shipment's customer location on a drop shipment), ship-via, promised date and top-level operations. `completionDate` = the projected completion's day in the location's timezone, else the due date; the service orders by it (paged with `fetchAllRecords`) and the table groups on it via `groupRowsBy`- `getProductionPlanning` — MRP-driven production planning (RPC `get_production_planning_grid`, latest migration `20261006205037`: wraps `get_production_planning` and adds the item group, the planning-horizon fence date, the first negative week, the latest order date and `orderQuantity` — the open Make actions inside the fence, which the default sort uses (the Order / Make button shows the quantity; there is no Qty to Order column), not the base RPC's `quantityToOrder`; `asOf` is the location's today, and `actionTypes` / `actionAssignees` filter on OPEN planning actions inside each item's fence, in the database)diff --git a/apps/erp/app/modules/production/capacity-buckets.test.ts b/apps/erp/app/modules/production/capacity-buckets.test.tsindex 2e89845647..374d2ac2be 100644--- a/apps/erp/app/modules/production/capacity-buckets.test.ts+++ b/apps/erp/app/modules/production/capacity-buckets.test.ts@@ -354,3 +354,49 @@ describe("coverage hours in one shift", () => {expect(getShiftWorkingWindows({ ...ladder, shiftId: "night" })).toBeNull();});});++describe("coverage hours in a night shift", () => {+ // Night runs 22:00-06:00, Monday to Friday nights.+ const nightShift = {+ ...dayShift,+ id: "night",+ startTime: "22:00:00",+ endTime: "06:00:00"+ };+ const ladder = {+ shifts: [nightShift],+ timeZone: TZ,+ holidayDates: new Set<string>(),+ rangeStart: at("2026-10-26T05:00:00Z"),+ rangeEnd: at("2026-11-02T06:00:00Z")+ };++ // The roster puts Friday's night shift on Friday, so its hours past+ // midnight are needed on Friday, not on a Saturday nobody is rostered.+ it("count a shift's hours on the day it starts", () => {+ expect(+ attendedHoursByDay({+ weekDates: WEEK,+ timezone: TZ,+ // Friday 22:00 to Saturday 06:00, plant time+ reservations: [+ {+ resourceId: "weld",+ operationId: "op",+ startAt: "2026-10-31T03:00:00Z",+ endAt: "2026-10-31T11:00:00Z",+ workHours: 8+ }+ ],+ attendedShareByOperation: new Map([["op", { share: 1, gated: false }]]),+ windowsByWorkCenter: getWorkCenterWorkingWindows({+ ...ladder,+ workCenters: [{ id: "weld", alwaysOn: false }],+ workCenterShifts: [{ workCenterId: "weld", shiftId: "night" }]+ }),+ lightsOut: new Set(),+ within: getShiftWorkingWindows({ ...ladder, shiftId: "night" }) ?? []+ }).weld+ ).toEqual({ "2026-10-30": 8 });+ });+});diff --git a/apps/erp/app/modules/production/production.models.ts b/apps/erp/app/modules/production/production.models.tsindex 6e7ccfbb98..adeb29612e 100644--- a/apps/erp/app/modules/production/production.models.ts+++ b/apps/erp/app/modules/production/production.models.ts@@ -1896,6 +1896,11 @@ export const ACTIVE_JOB_STATUSES: Database["public"]["Enums"]["jobStatus"][] = ["Paused"];+// The jobs the scheduler places (`runLocationSchedule`): a change to any other+// job moves nothing on the schedule.+export const SCHEDULED_JOB_STATUSES: Database["public"]["Enums"]["jobStatus"][] =+ ["Ready", "In Progress", "Paused"];+// Explicit list, not the complement of ACTIVE_JOB_STATUSES — active-but-late// states like Overdue still surface indicators.const JOB_STATUSES_WITHOUT_ORDER_STATUS = [diff --git a/apps/erp/app/modules/production/production.server.ts b/apps/erp/app/modules/production/production.server.tsindex 034430db61..9fcc95fe43 100644--- a/apps/erp/app/modules/production/production.server.ts+++ b/apps/erp/app/modules/production/production.server.ts@@ -95,6 +95,7 @@ import {productionEventValidator,productionOrderValidator,productionQuantityValidator,+ SCHEDULED_JOB_STATUSES,salesOrderToJobValidator,scheduleJobUpdateValidator,scheduleOperationReorderValidator,@@ -1736,11 +1737,14 @@ export const setJobDeadline = defineServiceFn({AND j."status" NOT IN (${sql.join(JOB_LOCKED_STATUSES.map((status) => sql`${status}`))})`.execute(ctx.asSystem.pg);- await service.notifyScheduleInputsChanged(- companyId,- "reorder",- "Job deadline changed"- );+ // A Draft or Planned job is not on the schedule yet.+ if (jobs.some((job) => SCHEDULED_JOB_STATUSES.includes(job.status))) {+ await service.notifyScheduleInputsChanged(+ companyId,+ "reorder",+ "Job deadline changed"+ );+ }return { ids };}});@@ -3838,7 +3842,8 @@ export const setPersonHours = defineServiceFn({* @remarks* Optionally only a department's work centers or one shift. One UPDATE, so it* applies to all or none. Every work center touched is rescheduled. Returns- * how many assignments were updated.+ * how many assignments were updated (`updated`), and on how many person-days+ * (`personDays`: a person split across stations is one).** @mcp*/@@ -3873,7 +3878,11 @@ export const setPeopleOvertime = defineServiceFn({"People overtime changed",rows.map((row) => row.workCenterId));- return { updated: rows.length };+ return {+ updated: rows.length,+ personDays: new Set(rows.map((row) => `${row.employeeId}:${row.date}`))+ .size+ };}});@@ -3922,7 +3931,11 @@ export const copyPeopleDay = defineServiceFn({** @remarks* One assignment per working day of their shift (Monday to Friday when it has- * none) from `weekStart`. Then the work center is rescheduled.+ * none) from `weekStart`, leaving a day they are off or already booked in that+ * shift as it is. Then the work center is rescheduled.+ *+ * @returns `assigned`, the days written, and `skipped`, the working days left+ * as they were.** @mcp*/@@ -3953,7 +3966,11 @@ export const assignPersonWeek = defineServiceFn({await service.notifyPeopleChange(ctx, "People week assignment", [week.workCenterId]);- return { employeeId: week.employeeId };+ return {+ employeeId: week.employeeId,+ assigned: written.assigned,+ skipped: written.skipped+ };}});diff --git a/apps/erp/app/modules/production/production.service.ts b/apps/erp/app/modules/production/production.service.tsindex 16e9c0bb0d..f850c1160a 100644--- a/apps/erp/app/modules/production/production.service.ts+++ b/apps/erp/app/modules/production/production.service.ts@@ -6437,7 +6437,9 @@ export async function setPeopleOvertimeBulk(.where("departmentId", "=", departmentId));}- return query.returning(["id", "workCenterId"]).execute();+ return query+ .returning(["id", "workCenterId", "employeeId", "date"])+ .execute();});}@@ -6609,7 +6611,7 @@ export async function assignPeopleWeek(activeWeekdays = WEEKDAYS_MONDAY_FIRST.filter((day) => shift?.[day]);}const weekEnd = addIsoDays(args.weekStart, 6);- const [existing, absences] = await Promise.all([+ const [existing, absences, ownShift] = await Promise.all([// Company-wide (NOT location-scoped): the unique index is// peopleAssignment_person_day_key (companyId, employeeId, date,// COALESCE(shiftId,'')) — a person already booked for this day+shift at@@ -6630,23 +6632,47 @@ export async function assignPeopleWeek(.where("employeeId", "=", args.employeeId).where("date", ">=", args.weekStart).where("date", "<=", weekEnd)- .execute()+ .execute(),+ trx+ .selectFrom("employeeShift")+ .select(["shiftId"])+ .where("employeeId", "=", args.employeeId)+ .where("companyId", "=", args.companyId)+ .executeTakeFirst()]);- // Key on date + shift to mirror the unique index exactly.+ // A day is taken by a row in the same slot of the unique index, or by a+ // row in the same EFFECTIVE shift (a shift-less row counts as the+ // person's own), which the boards would show as a double booking.const slotKey = (date: string, shiftId: string | null) =>`${date}:${shiftId ?? ""}`;+ const personShiftId = ownShift?.shiftId ?? null;+ const newEffectiveShiftId = args.shiftId ?? personShiftId;const takenSlots = new Set(- existing.map((row) => slotKey(toIsoDate(row.date), row.shiftId))+ existing.flatMap((row) => {+ const date = toIsoDate(row.date);+ const effective = row.shiftId ?? personShiftId;+ return [+ slotKey(date, row.shiftId),+ ...(effective ? [`${date}:effective:${effective}`] : [])+ ];+ }));+ const isTaken = (date: string) =>+ takenSlots.has(slotKey(date, args.shiftId)) ||+ (newEffectiveShiftId !== null &&+ takenSlots.has(`${date}:effective:${newEffectiveShiftId}`));const absentDays = new Set(absences.map((row) => toIsoDate(row.date)));const rows = [];+ let skipped = 0;for (let offset = 0; offset < 7; offset++) {const date = addIsoDays(args.weekStart, offset);// weekStart is a Monday, so offset maps 1:1 onto WEEKDAYS_MONDAY_FIRSTif (!activeWeekdays.includes(WEEKDAYS_MONDAY_FIRST[offset])) continue;- if (absentDays.has(date)) continue;- if (takenSlots.has(slotKey(date, args.shiftId))) continue;+ if (absentDays.has(date) || isTaken(date)) {+ skipped++;+ continue;+ }rows.push({companyId: args.companyId,locationId: args.locationId,@@ -6660,10 +6686,8 @@ export async function assignPeopleWeek(if (rows.length > 0) {await trx.insertInto("peopleAssignment").values(rows).execute();}- return {- assigned: rows.length,- skipped: takenSlots.size + absentDays.size- };+ // working days left as they were: already booked, or off+ return { assigned: rows.length, skipped };});}@@ -12160,7 +12184,9 @@ export async function getOperationAttendedShares(* station's working time from the booking's start. A lights-out station runs* work alone unless its process needs a qualified operator (`gated`). With* `within` (the shift the Matrix is filtered by, `getShiftWorkingWindows`),- * only the hours inside those windows count.+ * only the hours inside those windows count, each on the day its shift+ * starts: the roster puts Friday's night shift on Friday, so its hours past+ * midnight are Friday's too.*/export function attendedHoursByDay(args: {weekDates: string[];@@ -12197,14 +12223,35 @@ export function attendedHoursByDay(args: {const to = Math.min(endMs, window.end, from + attendedMs);if (to <= from) continue;attendedMs -= to - from;- const pieces = args.within- ? args.within.flatMap((shift) => {- const start = Math.max(from, shift.start);- const end = Math.min(to, shift.end);- return end > start ? [{ start, end }] : [];- })- : [{ start: from, end: to }];+ const pieces: { start: number; end: number; shiftStart?: number }[] =+ args.within+ ? args.within.flatMap((shift) => {+ const start = Math.max(from, shift.start);+ const end = Math.min(to, shift.end);+ // A run longer than a day is back-to-back shifts merged into+ // one window: no single start day, so split it by the clock.+ const shiftStart =+ shift.end - shift.start <= 24 * HOUR_MS+ ? shift.start+ : undefined;+ return end > start ? [{ start, end, shiftStart }] : [];+ })+ : [{ start: from, end: to }];for (const piece of pieces) {+ if (piece.shiftStart !== undefined) {+ const shiftStart = piece.shiftStart;+ // a shift that started before the week belongs to no day shown+ const shiftDay = days.find(+ ({ startMs: dayStart, endMs: dayEnd }) =>+ shiftStart >= dayStart && shiftStart < dayEnd+ );+ if (shiftDay) {+ const byDay = (result[reservation.resourceId] ??= {});+ byDay[shiftDay.day] =+ (byDay[shiftDay.day] ?? 0) + (piece.end - piece.start) / HOUR_MS;+ }+ continue;+ }for (const { day, startMs: dayStart, endMs: dayEnd } of days) {const overlap =Math.min(piece.end, dayEnd) - Math.max(piece.start, dayStart);diff --git a/apps/erp/app/modules/production/ui/Jobs/JobHeader.tsx b/apps/erp/app/modules/production/ui/Jobs/JobHeader.tsxindex 59e280189a..03acdd76ad 100644--- a/apps/erp/app/modules/production/ui/Jobs/JobHeader.tsx+++ b/apps/erp/app/modules/production/ui/Jobs/JobHeader.tsx@@ -318,7 +318,7 @@ const JobHeader = () => {{jobDueDate && isSameDay(parseDate(jobDueDate), todaysDate) && (<JobStatus status="Due Today" />)}- {jobDueDate && parseDate(jobDueDate) < todaysDate && (+ {jobDueDate && parseDate(jobDueDate).compare(todaysDate) < 0 && (<JobStatus status="Overdue" />)}{slack && (diff --git a/apps/erp/app/modules/production/ui/Schedule/People/PeopleBoard.tsx b/apps/erp/app/modules/production/ui/Schedule/People/PeopleBoard.tsxindex 65c66b2ee7..fa86416b75 100644--- a/apps/erp/app/modules/production/ui/Schedule/People/PeopleBoard.tsx+++ b/apps/erp/app/modules/production/ui/Schedule/People/PeopleBoard.tsx@@ -34,7 +34,9 @@ import type {} from "./peopleShared";import {assignmentHours,+ assignmentMatchesShift,dayOvertime,+ editorDayRows,ladderShiftHours,ladderShiftTime,UNASSIGNED@@ -62,10 +64,11 @@ type PeopleBoardProps = {workCenters: { id: string; name: string }[];assignments: PeopleAssignment[];/**- * The day's rows at stations the department filter hides. Not drawn, but- * the day editor saves a person's whole day, so it must see them.+ * Every row at the location on the date, whatever the shift and department+ * filters hide. Not drawn: the free-hours pool counts the hidden stations,+ * and the day editor opens with the whole day its save reconciles.*/- assignmentsElsewhere?: PeopleAssignment[];+ dayAssignments: PeopleAssignment[];/** Every station at the location, for the day editor's rows. */allWorkCenters?: { id: string; name: string }[];absences: PeopleAbsence[];@@ -111,6 +114,7 @@ function usePendingMoves() {}).map((fetcher) => ({intent: String(fetcher.formData.get("intent")),+ id: String(fetcher.formData.get("id") ?? ""),employeeId: String(fetcher.formData.get("employeeId")),workCenterId: String(fetcher.formData.get("workCenterId") ?? ""),hours: fetcher.formData.get("hours")@@ -125,7 +129,7 @@ const PeopleBoard = ({employees,workCenters,assignments,- assignmentsElsewhere = [],+ dayAssignments,allWorkCenters,absences,requiredAbilities,@@ -191,12 +195,31 @@ const PeopleBoard = ({}]);} else if (move.intent === "unassign") {- map.delete(move.employeeId);+ // only the row being removed — a split person keeps their others+ const kept = (map.get(move.employeeId) ?? []).filter(+ (row) => row.id !== move.id+ );+ if (kept.length > 0) map.set(move.employeeId, kept);+ else map.delete(move.employeeId);}}return map;}, [assignments, pendingMoves, employeeShiftId, date]);+ // employeeId -> the page shift's rows at stations the department filter hides+ const elsewhereByEmployee = useMemo(() => {+ const shown = new Set(workCenters.map((workCenter) => workCenter.id));+ const map = new Map<string, PeopleAssignment[]>();+ for (const row of dayAssignments) {+ if (shown.has(row.workCenterId)) continue;+ if (!assignmentMatchesShift(row, shiftId, employeeShiftId)) continue;+ const list = map.get(row.employeeId);+ if (list) list.push(row);+ else map.set(row.employeeId, [row]);+ }+ return map;+ }, [dayAssignments, workCenters, shiftId, employeeShiftId]);+const absenceByEmployee = useMemo(() => {const map = new Map<string, PeopleAbsence>();for (const absence of absences) {@@ -267,10 +290,10 @@ const PeopleBoard = ({for (const employee of employees) {const absence = absenceByEmployee.get(employee.id) ?? null;const rows = assignmentsByEmployee.get(employee.id) ?? [];- // The editor saves the whole day, so it gets the hidden stations too.+ // the page shift's whole day, the stations the department hides includedconst wholeDay = [...rows,- ...assignmentsElsewhere.filter((row) => row.employeeId === employee.id)+ ...(elsewhereByEmployee.get(employee.id) ?? [])];const dayRows = dayRowsFor(wholeDay);const overtimeForDay = dayOvertime(wholeDay);@@ -328,44 +351,40 @@ const PeopleBoard = ({// (plain card) or a partially-allocated remainder ("Xh free"). Hours at// stations a department filter hides count too: dropping a plain card// replaces the person's whole day, those rows included.+ const poolCard: PeopleCardItem = {+ employee,+ assignment: null,+ isAbsent: false,+ absenceId: null,+ missingAbilities: [],+ abilities,+ freeHours: null,+ displayHours: null,+ dayRows,+ overtimeHours: overtimeForDay,+ baseHours,+ dayStartTime,+ dayEndTime,+ note+ };if (wholeDay.length === 0) {- map.get(UNASSIGNED)!.push({- employee,- assignment: null,- isAbsent: false,- absenceId: null,- missingAbilities: [],- abilities,- freeHours: null,- displayHours: null,- dayRows,- overtimeHours: overtimeForDay,- baseHours,- dayStartTime,- dayEndTime,- note- });- } else if (wholeDay.every((row) => row.hours != null)) {- const free =- baseShiftHoursFor(employee.id) -- wholeDay.reduce((sum, row) => sum + effectiveHours(row), 0);+ map.get(UNASSIGNED)!.push(poolCard);+ } else {+ // a whole-shift row leaves nothing free+ const free = wholeDay.every((row) => row.hours != null)+ ? baseShiftHoursFor(employee.id) -+ wholeDay.reduce((sum, row) => sum + effectiveHours(row), 0)+ : 0;if (free > 0.01) {map.get(UNASSIGNED)!.push({- employee,- assignment: null,- isAbsent: false,- absenceId: null,- missingAbilities: [],- abilities,+ ...poolCard,freeHours: Math.round(free * 100) / 100,- displayHours: null,- dayRows,- overtimeHours: overtimeForDay,- baseHours,- dayStartTime,- dayEndTime,- note+ bookedElsewhere: false});+ } else if (rows.length === 0) {+ // booked in full at stations the department filter hides: still on+ // the board, so the filter never hides a person+ map.get(UNASSIGNED)!.push({ ...poolCard, bookedElsewhere: true });}}}@@ -376,7 +395,7 @@ const PeopleBoard = ({employees,workCenters,assignmentsByEmployee,- assignmentsElsewhere,+ elsewhereByEmployee,absenceByEmployee,requiredByWorkCenter,qualifiedAbilitiesByEmployee,@@ -495,7 +514,27 @@ const PeopleBoard = ({}};- const editor: CardEditorContext = { date, shiftId, locationId, workCenters };+ const editor: CardEditorContext = {+ date,+ shiftId,+ locationId,+ workCenters: allWorkCenters ?? workCenters+ };++ // The editor saves the person's day in their own shift, so it opens with+ // every row of that shift, not only the ones the filters show.+ const editorShiftId = editorItem+ ? shiftForEmployee(editorItem.employee.id)+ : null;+ const editorRows = editorItem+ ? editorDayRows(+ dayAssignments,+ editorItem.employee.id,+ date,+ editorShiftId,+ employeeShiftId+ )+ : [];return (<DndContext@@ -565,16 +604,39 @@ const PeopleBoard = ({employeeId={editorItem.employee.id}employeeName={editorItem.employee.name}date={date}- shiftId={shiftForEmployee(editorItem.employee.id)}+ shiftId={editorShiftId}locationId={locationId}locationTimeZone={locationTimeZone}workCenters={allWorkCenters ?? workCenters}- rows={editorItem.dayRows}- note={editorItem.note}- overtimeHours={editorItem.overtimeHours}- baseHours={editorItem.baseHours}- dayStartTime={editorItem.dayStartTime}- dayEndTime={editorItem.dayEndTime}+ rows={editorRows.map((row) => ({+ workCenterId: row.workCenterId,+ hours: row.hours+ }))}+ note={editorRows.find((row) => row.note)?.note ?? null}+ overtimeHours={dayOvertime(editorRows)}+ baseHours={ladderShiftHours(+ editorShiftId,+ editorItem.employee.id,+ hoursLadder+ )}+ dayStartTime={ladderShiftTime(+ editorRows[0]?.shiftId,+ editorItem.employee.id,+ {+ byShift: shiftStartById,+ byEmployee: employeeShiftStart,+ fallback: defaultShiftStart+ }+ )}+ dayEndTime={ladderShiftTime(+ editorRows[0]?.shiftId,+ editorItem.employee.id,+ {+ byShift: shiftEndById,+ byEmployee: employeeShiftEnd,+ fallback: defaultShiftEnd+ }+ )}isAbsent={editorItem.isAbsent}absenceId={editorItem.absenceId}/>diff --git a/apps/erp/app/modules/production/ui/Schedule/People/PeopleCard.tsx b/apps/erp/app/modules/production/ui/Schedule/People/PeopleCard.tsxindex d9bc2a243a..30744b8374 100644--- a/apps/erp/app/modules/production/ui/Schedule/People/PeopleCard.tsx+++ b/apps/erp/app/modules/production/ui/Schedule/People/PeopleCard.tsx@@ -59,13 +59,19 @@ export type PeopleCardItem = {dayEndTime: string | null;/** day-scoped note (first non-empty across the day's rows) */note: string | null;+ /**+ * Booked for the whole shift at stations the department filter hides. Shown+ * in Unassigned so the filter never hides a person; no drag, since a drop+ * would replace that day.+ */+ bookedElsewhere?: boolean;};/** stable sortable/React id — assignment cards are keyed by the ROW, so one* person can appear in several columns (split days) */export function cardId(item: PeopleCardItem) {if (item.assignment && !item.isAbsent) return item.assignment.id;- return `${item.isAbsent ? "absent" : "free"}:${item.employee.id}`;+ return `${item.isAbsent ? "absent" : item.bookedElsewhere ? "elsewhere" : "free"}:${item.employee.id}`;}export function PeopleCard({@@ -129,6 +135,9 @@ export function PeopleCard({const otherStationNames = otherStations.map((row) => stationName(row.workCenterId)).join(", ");+ const elsewhereStationNames = item.bookedElsewhere+ ? item.dayRows.map((row) => stationName(row.workCenterId)).join(", ")+ : "";return (<div@@ -145,13 +154,13 @@ export function PeopleCard({isDragging && !isOverlay && "border-dashed bg-muted",isOverlay &&"ring-2 ring-primary opacity-100 !bg-card shadow-lg cursor-grabbing",- item.isAbsent && "opacity-60"+ (item.isAbsent || item.bookedElsewhere) && "opacity-60")}>{/* drag lives on the handle only — the rest of the card is tap-to-open.Ghost variant so it picks up the same hover fill as the scheduleboard's grip, but kept 44px tall for tablets. */}- {!isDisabled && !item.isAbsent && (+ {!isDisabled && !item.isAbsent && !item.bookedElsewhere && (<IconButtonaria-label={t`Drag to assign`}variant="ghost"@@ -186,6 +195,11 @@ export function PeopleCard({<Trans>also at {otherStationNames}</Trans></p>)}+ {elsewhereStationNames && (+ <p className="truncate text-xs text-muted-foreground">+ <Trans>working at {elsewhereStationNames}</Trans>+ </p>+ )}{item.note && (<p className="flex items-center gap-1 truncate text-xs text-muted-foreground"><LuStickyNote className="h-3 w-3 flex-shrink-0" />diff --git a/apps/erp/app/modules/production/ui/Schedule/People/PeopleMatrix.tsx b/apps/erp/app/modules/production/ui/Schedule/People/PeopleMatrix.tsxindex 95fec2df13..b1833bf427 100644--- a/apps/erp/app/modules/production/ui/Schedule/People/PeopleMatrix.tsx+++ b/apps/erp/app/modules/production/ui/Schedule/People/PeopleMatrix.tsx@@ -34,6 +34,7 @@ import {assignmentMatchesShift,buildAbsentSet,dayOvertime,+ editorDayRows,ladderShiftHours,ladderShiftTime,STICKY_FIRST_COL,@@ -183,6 +184,19 @@ export function PeopleMatrix({return map;}, [visibleAssignments]);+ // every shift's rows by person and day — the day editor saves the person's+ // own shift, which the page's shift filter may hide+ const allAssignmentsByKey = useMemo(() => {+ const map = new Map<string, MatrixAssignment[]>();+ for (const assignment of assignments) {+ const key = `${assignment.employeeId}:${assignment.date}`;+ const list = map.get(key);+ if (list) list.push(assignment);+ else map.set(key, [assignment]);+ }+ return map;+ }, [assignments]);+const absentSet = useMemo(() => buildAbsentSet(absences), [absences]);const absenceIdByKey = useMemo(() => new Map(absences.map((a) => [`${a.employeeId}:${a.date}`, a.id])),@@ -339,9 +353,17 @@ export function PeopleMatrix({{rows.map((employee) => {const byDate = assignmentsByEmployeeDate.get(employee.id);let assignedHours = 0;+ const editorShiftId = employeeShiftId[employee.id] ?? null;const cells = weekDates.map((date) => {const absent = absentSet.has(`${employee.id}:${date}`);const dayAssignments = byDate?.get(date) ?? [];+ const editorRows = editorDayRows(+ allAssignmentsByKey.get(`${employee.id}:${date}`) ?? [],+ employee.id,+ date,+ editorShiftId,+ employeeShiftId+ );if (!absent) {for (const assignment of dayAssignments) {assignedHours += hoursFor(assignment);@@ -378,6 +400,13 @@ export function PeopleMatrix({}>{workCenter?.name ?? assignment.workCenterId}+ {/* the tooltip is hover-only; the cell's button+ reads this */}+ {elsewhere && (+ <span className="sr-only">+ {t`(outside this department)`}+ </span>+ )}{assignment.hours != null && (<span className="ml-1 tabular-nums opacity-80">{assignment.hours}h@@ -419,25 +448,23 @@ export function PeopleMatrix({employeeId={employee.id}employeeName={employee.name}date={date}- shiftId={employeeShiftId[employee.id] ?? null}+ shiftId={editorShiftId}locationId={locationId}locationTimeZone={locationTimeZone}workCenters={allWorkCenters}- rows={dayAssignments.map((assignment) => ({+ rows={editorRows.map((assignment) => ({workCenterId: assignment.workCenterId,hours: assignment.hours}))}- note={- dayAssignments.find((a) => a.note)?.note ?? null- }- overtimeHours={dayOvertime(dayAssignments)}+ note={editorRows.find((a) => a.note)?.note ?? null}+ overtimeHours={dayOvertime(editorRows)}baseHours={ladderShiftHours(- shiftId,+ editorShiftId,employee.id,hoursLadder)}dayStartTime={ladderShiftTime(- dayAssignments[0]?.shiftId,+ editorRows[0]?.shiftId,employee.id,{byShift: shiftStartById,@@ -446,7 +473,7 @@ export function PeopleMatrix({})}dayEndTime={ladderShiftTime(- dayAssignments[0]?.shiftId,+ editorRows[0]?.shiftId,employee.id,{byShift: shiftEndById,diff --git a/apps/erp/app/modules/production/ui/Schedule/People/PeopleWeekBoard.tsx b/apps/erp/app/modules/production/ui/Schedule/People/PeopleWeekBoard.tsxindex a1b21a1a4d..4871582aa5 100644--- a/apps/erp/app/modules/production/ui/Schedule/People/PeopleWeekBoard.tsx+++ b/apps/erp/app/modules/production/ui/Schedule/People/PeopleWeekBoard.tsx@@ -509,12 +509,8 @@ const PeopleWeekBoard = ({weekStart,...(weekShiftId ? { shiftId: weekShiftId } : {})});- // Days the person already works elsewhere are kept, not overwritten.- toast.success(- item.daysElsewhere > 0- ? t`Assigned ${employeeName} to ${targetName} for the week; days already assigned in other departments were kept`- : t`Assigned ${employeeName} to ${targetName} for the week`- );+ // the toast comes from the answer (usePeopleBoardFeedback): only the+ // server knows which days it left as they were}const columnTargets: MoveTarget[] = [diff --git a/apps/erp/app/modules/production/ui/Schedule/People/peopleShared.test.ts b/apps/erp/app/modules/production/ui/Schedule/People/peopleShared.test.tsnew file mode 100644index 0000000000..116cfd147c--- /dev/null+++ b/apps/erp/app/modules/production/ui/Schedule/People/peopleShared.test.ts@@ -0,0 +1,45 @@+// SPDX-License-Identifier: AGPL-3.0-only+// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,+// including ports, remain AGPLv3; serving them over a network requires releasing their source.++import { describe, expect, it } from "vitest";+import { editorDayRows } from "./peopleShared";++const row = (+ id: string,+ employeeId: string,+ shiftId: string | null,+ date = "2026-10-28"+) => ({ id, employeeId, shiftId, date, workCenterId: `wc-${id}` });++describe("editorDayRows", () => {+ const employeeShiftId = { ann: "day", bob: "night" };+ const rows = [+ row("stamped-day", "ann", "day"),+ row("unstamped", "ann", null),+ row("stamped-night", "ann", "night"),+ row("other-person", "bob", "day"),+ row("other-date", "ann", "day", "2026-10-29")+ ];++ it("keeps every row of the save's shift, stamped or resolved through the person's shift", () => {+ expect(+ editorDayRows(rows, "ann", "2026-10-28", "day", employeeShiftId).map(+ (r) => r.id+ )+ ).toEqual(["stamped-day", "unstamped"]);+ });++ it("keeps rows of the save's shift that a filter on another shift hides", () => {+ // the page shows the night shift; Ann's editor saves her own (day) shift+ expect(+ editorDayRows(rows, "ann", "2026-10-28", "day", employeeShiftId)+ ).toHaveLength(2);+ });++ it("keeps every row of the day when the save has no shift", () => {+ expect(+ editorDayRows(rows, "ann", "2026-10-28", null, {}).map((r) => r.id)+ ).toEqual(["stamped-day", "unstamped", "stamped-night"]);+ });+});diff --git a/apps/erp/app/modules/production/ui/Schedule/People/peopleShared.ts b/apps/erp/app/modules/production/ui/Schedule/People/peopleShared.tsindex 90f4e711ac..2dd73e0091 100644--- a/apps/erp/app/modules/production/ui/Schedule/People/peopleShared.ts+++ b/apps/erp/app/modules/production/ui/Schedule/People/peopleShared.ts@@ -85,6 +85,30 @@ export function assignmentMatchesShift();}+/**+ * The rows the day editor opens with: every row of the person's day whose+ * effective shift is the one its save is scoped to (null = every row), at any+ * station. `setPeopleDay` deletes the rows of that scope it is not sent, so+ * the editor must see each of them, whatever the page's shift or department+ * filter hides.+ */+export function editorDayRows<+ T extends { employeeId: string; date: string; shiftId: string | null }+>(+ rows: T[],+ employeeId: string,+ date: string,+ shiftId: string | null,+ employeeShiftId: Record<string, string>+): T[] {+ return rows.filter(+ (row) =>+ row.employeeId === employeeId &&+ row.date === date &&+ assignmentMatchesShift(row, shiftId, employeeShiftId)+ );+}+/*** Overtime is one value for the DAY, stamped on each of the day's rows —* take the max, never the sum, or a split person's overtime multiplies.diff --git a/apps/erp/app/modules/production/ui/Schedule/People/usePeopleBoardFeedback.ts b/apps/erp/app/modules/production/ui/Schedule/People/usePeopleBoardFeedback.tsindex be2955475e..76ff314941 100644--- a/apps/erp/app/modules/production/ui/Schedule/People/usePeopleBoardFeedback.ts+++ b/apps/erp/app/modules/production/ui/Schedule/People/usePeopleBoardFeedback.ts@@ -10,7 +10,14 @@ import { useFetchers } from "react-router";import { path } from "~/utils/path";type Result = {- data: { copied?: number; updated?: number; created?: number } | null;+ data: {+ copied?: number;+ updated?: number;+ created?: number;+ assigned?: number;+ skipped?: number;+ personDays?: number;+ } | null;error: { message: string } | null;};@@ -51,12 +58,45 @@ export function usePeopleBoardFeedback() {})}`);} else if (intent === "overtime-bulk") {+ // the same unit the dialog previewed: people for a day, person-days+ // for a week (a person split across stations is one)+ const count = counts.personDays ?? counts.updated ?? 0;toast.success(- t`${plural(counts.updated ?? 0, {- one: "Overtime set for # assignment",- other: "Overtime set for # assignments"- })}`+ fetcher.formData?.get("toDate")+ ? t`${plural(count, {+ one: "Overtime set on # person-day",+ other: "Overtime set on # person-days"+ })}`+ : t`${plural(count, {+ one: "Overtime set for # person",+ other: "Overtime set for # people"+ })}`);+ } else if (intent === "assign-week") {+ const assigned = counts.assigned ?? 0;+ const skipped = counts.skipped ?? 0;+ if (assigned === 0) {+ toast.info(+ t`Nothing assigned: every working day this week is already booked or off`+ );+ } else if (skipped === 0) {+ toast.success(+ t`${plural(assigned, {+ one: "Assigned for # working day",+ other: "Assigned for # working days"+ })}`+ );+ } else {+ toast.success(+ t`${plural(assigned, {+ one: "Assigned for # working day",+ other: "Assigned for # working days"+ })}; ${plural(skipped, {+ one: "# day already booked or off was kept",+ other: "# days already booked or off were kept"+ })}`+ );+ }} else if (intent === "absent-range") {toast.success(t`${plural(counts.created ?? 0, {diff --git a/apps/erp/app/modules/production/ui/Schedule/TimelineDetail.tsx b/apps/erp/app/modules/production/ui/Schedule/TimelineDetail.tsxindex b27924aeb5..5698ce9604 100644--- a/apps/erp/app/modules/production/ui/Schedule/TimelineDetail.tsx+++ b/apps/erp/app/modules/production/ui/Schedule/TimelineDetail.tsx@@ -325,20 +325,21 @@ export function TimelineDetail({</p>) : (<ul className="space-y-1 text-sm">- {detail.qualifiedPeople.map((person, index) => (- <li key={`${index}:${person.name}`} className="text-pretty">- <span className="font-medium">{person.name}</span>{" "}- <span className="text-muted-foreground">- {person.stations.length > 0 ? (- <Trans>- — on the manning board at {person.stations.join(", ")}- </Trans>- ) : (- <Trans>— not on the manning board</Trans>- )}- </span>- </li>- ))}+ {detail.qualifiedPeople.map((person, index) => {+ const stations = person.stations.join(", ");+ return (+ <li key={`${index}:${person.name}`} className="text-pretty">+ <span className="font-medium">{person.name}</span>{" "}+ <span className="text-muted-foreground">+ {person.stations.length > 0 ? (+ <Trans>— on the manning board at {stations}</Trans>+ ) : (+ <Trans>— not on the manning board</Trans>+ )}+ </span>+ </li>+ );+ })}</ul>)}</div>diff --git a/apps/erp/app/modules/resources/resources.server.ts b/apps/erp/app/modules/resources/resources.server.tsindex 2c0164e02d..965776af54 100644--- a/apps/erp/app/modules/resources/resources.server.ts+++ b/apps/erp/app/modules/resources/resources.server.ts@@ -344,7 +344,7 @@ export const createProcess = defineServiceFn({if (taken.data) {return ctx.error("conflict",- `A process named ${process.name} already exists`+ service.processNameTakenMessage(process.name, taken.data.active));}const insert = await service.insertProcess(client, {@@ -356,7 +356,7 @@ export const createProcess = defineServiceFn({if (insert.error?.code === "23505") {return ctx.error("conflict",- `A process named ${process.name} already exists`+ service.processNameTakenMessage(process.name));}if (insert.error || !insert.data?.id) {@@ -433,7 +433,7 @@ export const updateProcess = defineServiceFn({if (taken.data) {return ctx.error("conflict",- `A process named ${process.name} already exists`+ service.processNameTakenMessage(process.name, taken.data.active));}@@ -443,6 +443,13 @@ export const updateProcess = defineServiceFn({companyId,updatedBy: ctx.auditUserId});+ // 23505: another request took the name since the check above.+ if (update.code === "23505") {+ return ctx.error(+ "conflict",+ service.processNameTakenMessage(process.name)+ );+ }if (update.error) {return ctx.error("internal", "Failed to update process.", update.error);}diff --git a/apps/erp/app/modules/resources/resources.service.ts b/apps/erp/app/modules/resources/resources.service.tsindex 1be4c83113..4fd2fd111c 100644--- a/apps/erp/app/modules/resources/resources.service.ts+++ b/apps/erp/app/modules/resources/resources.service.ts@@ -1893,13 +1893,23 @@ export async function findProcessNamed() {let query = client.from("process")- .select("id")+ .select("id, active").eq("companyId", companyId).eq("name", name);if (exceptId) query = query.neq("id", exceptId);return query.limit(1).maybeSingle();}+/**+ * The name is unique across every process, deactivated ones included, so+ * say which: a deactivated one is not in the process list.+ */+export function processNameTakenMessage(name: string, active = true) {+ return active+ ? `A process named ${name} already exists`+ : `A deactivated process named ${name} already exists. Reactivate it, or choose another name`;+}+/*** The bare write under `resources.updateProcess`: the process and the work* centers it replaces, in one transaction. Kysely bypasses RLS, so every@@ -1913,7 +1923,7 @@ export async function updateProcess(updatedBy: string;customFields?: Json;}-): Promise<{ error: string | null }> {+): Promise<{ error: string | null; code?: string }> {const { batchRules, rest: withoutRules } = extractBatchRules(process);const { workCenters, id, companyId, ...update } = withoutRules;try {@@ -1959,7 +1969,9 @@ export async function updateProcess(return { error: null };} catch (err) {return {- error: err instanceof Error ? err.message : "Failed to update process"+ error: err instanceof Error ? err.message : "Failed to update process",+ // the database's code, so a caller can tell a duplicate name (23505)+ code: (err as { code?: string }).code};}}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 6ee0e93256..3ed35850a7 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@@ -643,7 +643,7 @@{"name":"production_activateAssemblyInstructionVersion","classification":"WRITE","schema":"7f8214d1083f","response":"3797626bd17e","permission":"production:update","paginates":false},{"name":"production_applyPlanningActions","classification":"WRITE","schema":"79dab5513239","response":"a217bafc5309","permission":"production:update","paginates":false},{"name":"production_assignPerson","classification":"WRITE","schema":"1e2fd21c16fd","response":"3d90cb5d0437","permission":"production:update","paginates":false},- {"name":"production_assignPersonWeek","classification":"WRITE","schema":"6e0908453d4b","response":"3d90cb5d0437","permission":"production:update","paginates":false},+ {"name":"production_assignPersonWeek","classification":"WRITE","schema":"6e0908453d4b","response":"204404be51af","permission":"production:update","paginates":false},{"name":"production_assignProductionPlanningActions","classification":"WRITE","schema":"a18b4088f112","response":"2a69a1e7d58b","permission":"production:update","paginates":false},{"name":"production_cancelAssemblyJob","classification":"DESTRUCTIVE","schema":"0812c2c1736b","response":"fee5c53bb83d","permission":"production:update","paginates":false},{"name":"production_cancelJob","classification":"WRITE","schema":"e9ad3b418621","response":"6d52a19440e7","permission":"production:update","paginates":false},@@ -839,7 +839,7 @@{"name":"production_setJobOperationWorkInstruction","classification":"WRITE","schema":"5c977b058996","response":"3797626bd17e","permission":"production:update","paginates":false},{"name":"production_setJobQuantity","classification":"WRITE","schema":"14db87743cc7","response":"0eb0c2be01ed","permission":"production:update","paginates":false},{"name":"production_setJobSalesOrderLine","classification":"WRITE","schema":"9b91d34f8382","response":"0eb0c2be01ed","permission":"production:update","paginates":false},- {"name":"production_setPeopleOvertime","classification":"WRITE","schema":"89851b04ba54","response":"393a0d83325c","permission":"production:update","paginates":false},+ {"name":"production_setPeopleOvertime","classification":"WRITE","schema":"89851b04ba54","response":"c76bbc719a9e","permission":"production:update","paginates":false},{"name":"production_setPersonDay","classification":"WRITE","schema":"b2bcad277f44","response":"3d90cb5d0437","permission":"production:update","paginates":false},{"name":"production_setPersonHours","classification":"WRITE","schema":"c99328071885","response":"3797626bd17e","permission":"production:update","paginates":false},{"name":"production_setProcedureFields","classification":"WRITE","schema":"e76f126b5b16","response":"0eb0c2be01ed","permission":"production:update","paginates":false},diff --git a/apps/erp/app/routes/x+/priority+/people.tsx b/apps/erp/app/routes/x+/priority+/people.tsxindex fc7576690c..fda1afb396 100644--- a/apps/erp/app/routes/x+/priority+/people.tsx+++ b/apps/erp/app/routes/x+/priority+/people.tsx@@ -116,7 +116,7 @@ export async function loader({ request }: LoaderFunctionArgs) {const url = new URL(request.url);const searchParams = new URLSearchParams(url.search);const dateParam = searchParams.get("date");- const shiftId = searchParams.get("shift") || null;+ const requestedShiftId = searchParams.get("shift") || null;// department scope: URL param wins, cookie remembers the last choiceconst departmentParam = searchParams.get("department");@@ -201,6 +201,13 @@ export async function loader({ request }: LoaderFunctionArgs) {}const shiftRows = shifts.data ?? [];+ // An inactive, deleted or other-location shift from an old link reads as+ // All shifts, like the department: every view would otherwise count it+ // differently (Coverage as the whole day, the board as nobody).+ const shiftId =+ requestedShiftId && shiftRows.some((shift) => shift.id === requestedShiftId)+ ? requestedShiftId+ : null;const shiftHoursById: Record<string, number> = {};const shiftStartById: Record<string, string> = {};const shiftEndById: Record<string, string> = {};@@ -270,13 +277,6 @@ export async function loader({ request }: LoaderFunctionArgs) {);}- // shift scope resolves through the ladder (the row's stamped shift, else the- // person's own shift) — an exact match on the stamped shift alone would hide- // every assignment created before the person's shift was set- const dayAssignments = (assignments.data ?? []).filter((assignment) =>- assignmentMatchesShift(assignment, shiftId, employeeShiftId)- );-// week-scoped data for the matrix and capacity viewslet weekAssignments: {id: string;@@ -357,6 +357,20 @@ export async function loader({ request }: LoaderFunctionArgs) {: Promise.resolve({ data: [], error: null })]);+ for (const [read, message] of [+ [rangeAssignments, "Failed to load people assignments"],+ [rangeAbsences, "Failed to load absences"],+ [capacityOperations, "Failed to load operations"],+ [reservations, "Failed to load the schedule"],+ [workCenterShiftRows, "Failed to load work center shifts"]+ ] as const) {+ if (read.error) {+ throw redirect(+ path.to.production,+ await flash(request, error(read.error, message))+ );+ }+ }weekAssignments = rangeAssignments.data ?? [];weekAbsences = rangeAbsences.data ?? [];@@ -527,6 +541,15 @@ export async function loader({ request }: LoaderFunctionArgs) {startDate: date,endDate: date});+ if (dayOperations.error) {+ throw redirect(+ path.to.production,+ await flash(+ request,+ error(dayOperations.error, "Failed to load operations")+ )+ );+ }const { demandByWorkCenter: dayDemand } = buildPeopleCapacityBuckets({weekDates: [date],timezone,@@ -584,7 +607,9 @@ export async function loader({ request }: LoaderFunctionArgs) {scheduledByWorkCenter,requiredHoursByWorkCenter,employeeShiftHours,- assignments: dayAssignments,+ // every shift: the board filters by shift, and its day editor needs the+ // person's own shift whatever the page shows+ assignments: assignments.data ?? [],absences: absences.data ?? [],employees: (employees.data ?? []).flatMap((employee) =>employee.id@@ -690,14 +715,23 @@ export default function SchedulePeopleRoute() {[displayedWorkCenters]);+ // shift scope resolves through the ladder (the row's stamped shift, else the+ // person's own shift) — an exact match on the stamped shift alone would hide+ // every assignment created before the person's shift was setconst boardAssignments = useMemo(() =>- departmentId- ? assignments.filter((assignment) =>- displayedWorkCenterIds.has(assignment.workCenterId)- )- : assignments,- [assignments, departmentId, displayedWorkCenterIds]+ assignments.filter(+ (assignment) =>+ assignmentMatchesShift(assignment, shiftId, employeeShiftId) &&+ (!departmentId || displayedWorkCenterIds.has(assignment.workCenterId))+ ),+ [+ assignments,+ shiftId,+ employeeShiftId,+ departmentId,+ displayedWorkCenterIds+ ]);const matrixAssignments = useMemo(() =>@@ -740,14 +774,46 @@ export default function SchedulePeopleRoute() {: list,[shiftId, employeeShiftId]);- const employeesForBoard = useMemo(() => {- const assigned = new Set(boardAssignments.map((a) => a.employeeId));- return orderDepartmentFirst(filterByShift(employees, assigned));- }, [employees, boardAssignments, filterByShift, orderDepartmentFirst]);- const employeesForMatrix = useMemo(() => {- const assigned = new Set(matrixAssignments.map((a) => a.employeeId));- return orderDepartmentFirst(filterByShift(employees, assigned));- }, [employees, matrixAssignments, filterByShift, orderDepartmentFirst]);+ // Assigned in the shift at ANY station: someone booked only at stations the+ // department hides still shows (the board's "working at" card, the+ // Matrix's greyed chip).+ const assignedInShift = useCallback(+ (rows: { employeeId: string; shiftId: string | null }[]) =>+ new Set(+ rows+ .filter((row) =>+ assignmentMatchesShift(row, shiftId, employeeShiftId)+ )+ .map((row) => row.employeeId)+ ),+ [shiftId, employeeShiftId]+ );+ const employeesForBoard = useMemo(+ () =>+ orderDepartmentFirst(+ filterByShift(employees, assignedInShift(assignments))+ ),+ [+ employees,+ assignments,+ assignedInShift,+ filterByShift,+ orderDepartmentFirst+ ]+ );+ const employeesForMatrix = useMemo(+ () =>+ orderDepartmentFirst(+ filterByShift(employees, assignedInShift(weekAssignments))+ ),+ [+ employees,+ weekAssignments,+ assignedInShift,+ filterByShift,+ orderDepartmentFirst+ ]+ );const shortDate = (value: string) =>formatDate(value, { month: "short", day: "numeric" }, locale);@@ -835,14 +901,7 @@ export default function SchedulePeopleRoute() {employees={employeesForBoard}workCenters={displayedWorkCenters}assignments={boardAssignments}- assignmentsElsewhere={- departmentId- ? assignments.filter(- (assignment) =>- !displayedWorkCenterIds.has(assignment.workCenterId)- )- : undefined- }+ dayAssignments={assignments}allWorkCenters={workCenters}absences={absences}requiredAbilities={requiredAbilities}diff --git a/apps/erp/app/routes/x+/scheduling+/forecast.tsx b/apps/erp/app/routes/x+/scheduling+/forecast.tsxindex 0c97ddb876..5cdd999bcc 100644--- a/apps/erp/app/routes/x+/scheduling+/forecast.tsx+++ b/apps/erp/app/routes/x+/scheduling+/forecast.tsx@@ -20,7 +20,7 @@ import {toCalendarDate} from "@internationalized/date";import { msg } from "@lingui/core/macro";-import { Plural, Trans, useLingui } from "@lingui/react/macro";+import { Plural, Trans } from "@lingui/react/macro";import { useLocale } from "@react-aria/i18n";import { useMemo } from "react";import { LuBan, LuTriangleAlert } from "react-icons/lu";@@ -441,29 +441,6 @@ export async function loader({ request }: LoaderFunctionArgs) {else abilityIds.add(r.resourceId);}- const [workCenters, abilities, operators] = await Promise.all([- workCenterIds.size > 0- ? client- .from("workCenter")- .select("id, name")- .in("id", Array.from(workCenterIds))- : Promise.resolve({ data: [] as { id: string; name: string }[] }),- abilityIds.size > 0- ? client- .from("abilities")- .select("id, name")- .in("id", Array.from(abilityIds))- : Promise.resolve({ data: [] as { id: string; name: string }[] }),- employeeIds.size > 0- ? client- .from("user")- .select("id, fullName")- .in("id", Array.from(employeeIds))- : Promise.resolve({- data: [] as { id: string; fullName: string | null }[]- })- ]);-// A batch-tagged reservation is ONE coalesced hold for N member jobs — it// must read as the BATCH (BAT… · N jobs), not as its anchor member. Member// counts come from one grouped read over the visible batches.@@ -474,23 +451,6 @@ export async function loader({ request }: LoaderFunctionArgs) {.filter((id): id is string => Boolean(id)))];- const batchMemberRows =- visibleBatchIds.length > 0- ? await client- .from("jobOperation")- .select("jobOperationBatchId")- .in("jobOperationBatchId", visibleBatchIds)- .eq("companyId", companyId)- : { data: [] as { jobOperationBatchId: string | null }[] };- const batchMemberCounts = new Map<string, number>();- for (const row of batchMemberRows.data ?? []) {- if (!row.jobOperationBatchId) continue;- batchMemberCounts.set(- row.jobOperationBatchId,- (batchMemberCounts.get(row.jobOperationBatchId) ?? 0) + 1- );- }-// Who could run the work the scheduler could not place, and where the board// has them — the people to move.const unschedulableProcessIds = [@@ -502,22 +462,60 @@ export async function loader({ request }: LoaderFunctionArgs) {))];- // Qualifications are readable with resources view only; without it the list- // would read as "nobody is qualified", so it is left out.- const qualifiedPeople = hasPermission(- permissions,- "resources",- "view",- companyId- )- ? await getQualifiedPeopleByProcess(client, companyId, {- processIds: unschedulableProcessIds,- fromDate: toCalendarDate(now(timeZone)).toString()- })- : {- data: new Map<string, { name: string; stations: string[] }[]>(),- error: null- };++ const [workCenters, abilities, operators, batchMemberRows, qualifiedPeople] =+ await Promise.all([+ workCenterIds.size > 0+ ? client+ .from("workCenter")+ .select("id, name")+ .in("id", Array.from(workCenterIds))+ : Promise.resolve({ data: [] as { id: string; name: string }[] }),+ abilityIds.size > 0+ ? client+ .from("abilities")+ .select("id, name")+ .in("id", Array.from(abilityIds))+ : Promise.resolve({ data: [] as { id: string; name: string }[] }),+ employeeIds.size > 0+ ? client+ .from("user")+ .select("id, fullName")+ .in("id", Array.from(employeeIds))+ : Promise.resolve({+ data: [] as { id: string; fullName: string | null }[]+ }),+ visibleBatchIds.length > 0+ ? client+ .from("jobOperation")+ .select("jobOperationBatchId")+ .in("jobOperationBatchId", visibleBatchIds)+ .eq("companyId", companyId)+ : Promise.resolve({+ data: [] as { jobOperationBatchId: string | null }[]+ }),+ // Qualifications are readable with resources view only; without it the+ // list would read as "nobody is qualified", so it is left out.+ hasPermission(permissions, "resources", "view", companyId)+ ? getQualifiedPeopleByProcess(client, companyId, {+ processIds: unschedulableProcessIds,+ fromDate: toCalendarDate(now(timeZone)).toString()+ })+ : Promise.resolve({+ data: new Map<string, { name: string; stations: string[] }[]>(),+ error: null+ })+ ]);++ const batchMemberCounts = new Map<string, number>();+ for (const row of batchMemberRows.data ?? []) {+ if (!row.jobOperationBatchId) continue;+ batchMemberCounts.set(+ row.jobOperationBatchId,+ (batchMemberCounts.get(row.jobOperationBatchId) ?? 0) + 1+ );+ }+if (qualifiedPeople.error) {throw redirect(path.to.production,@@ -700,9 +698,6 @@ export default function ResourceGanttView() {} = useLoaderData<typeof loader>();const { isGated } = usePlanGate({ feature: "FORECAST" });- const { t } = useLingui();- // A department id from an old link may no longer name one.- const departmentLabel = departmentName ?? t`this department`;const { locale } = useLocale();const navigate = useNavigate();@@ -789,16 +784,30 @@ export default function ResourceGanttView() {locale): null;+ // A department id from an old link may no longer name one: then each hint+ // below says "this department" in a sentence of its own.const nextWorkHint = nextWorkDate ? (departmentId ? (nextScheduledDirection === "future" ? (+ departmentName ? (+ <Trans>+ The next {departmentName} work at this location starts{" "}+ {nextWorkDate}.+ </Trans>+ ) : (+ <Trans>+ The next work for this department at this location starts{" "}+ {nextWorkDate}.+ </Trans>+ )+ ) : departmentName ? (<Trans>- The next {departmentLabel} work at this location starts {nextWorkDate}- .+ The most recent {departmentName} work at this location was{" "}+ {nextWorkDate}.</Trans>) : (<Trans>- The most recent {departmentLabel} work at this location was{" "}+ The most recent work for this department at this location was{" "}{nextWorkDate}.</Trans>)@@ -812,7 +821,11 @@ export default function ResourceGanttView() {</Trans>)) : departmentId ? (- <Trans>No {departmentLabel} work is scheduled at this location.</Trans>+ departmentName ? (+ <Trans>No {departmentName} work is scheduled at this location.</Trans>+ ) : (+ <Trans>No work for this department is scheduled at this location.</Trans>+ )) : (<Trans>No jobs are scheduled at this location yet — release a job to see@@ -882,12 +895,35 @@ export default function ResourceGanttView() {<div className="flex flex-1 items-center justify-center">{departmentId && !departmentHasWorkCenters ? (<Empty- title={<Trans>No work centers in {departmentLabel}</Trans>}+ title={+ departmentName ? (+ <Trans>No work centers in {departmentName}</Trans>+ ) : (+ <Trans>No work centers in this department</Trans>+ )+ }description={- <Trans>- {departmentLabel} has no work centers at {locationName}. Pick- another department or location.- </Trans>+ departmentName && locationName ? (+ <Trans>+ {departmentName} has no work centers at {locationName}. Pick+ another department or location.+ </Trans>+ ) : departmentName ? (+ <Trans>+ {departmentName} has no work centers at this location. Pick+ another department or location.+ </Trans>+ ) : locationName ? (+ <Trans>+ This department has no work centers at {locationName}. Pick+ another department or location.+ </Trans>+ ) : (+ <Trans>+ This department has no work centers at this location. Pick+ another department or location.+ </Trans>+ )}/>) : (diff --git a/apps/erp/test/resources-operations.test.ts b/apps/erp/test/resources-operations.test.tsindex d8f6ccc0e1..dfca988331 100644--- a/apps/erp/test/resources-operations.test.ts+++ b/apps/erp/test/resources-operations.test.ts@@ -318,6 +318,22 @@ describe("process names", () => {expect(result.error?.category).toBe("conflict");expect(writes).toEqual([]);});++ // Another request saved the same name between the check and the insert.+ it("refuses a name the database rejects as a duplicate", async () => {+ const { ctx } = contextWith({+ "process:read": null,+ process: { data: null, error: { code: "23505", message: "duplicate" } }+ });++ const result = await createProcess(ctx, {+ name: "Welding",+ processType: "Process",+ requiresAbility: false+ });++ expect(result.error?.category).toBe("conflict");+ });});describe("training assignments", () => {diff --git a/apps/erp/test/schedule-moves.test.ts b/apps/erp/test/schedule-moves.test.tsindex a7f72d1707..67c89aaa0b 100644--- a/apps/erp/test/schedule-moves.test.ts+++ b/apps/erp/test/schedule-moves.test.ts@@ -11,9 +11,17 @@ import { beforeEach, describe, expect, it, vi } from "vitest";const { trigger } = vi.hoisted(() => ({ trigger: vi.fn() }));vi.mock("@carbon/jobs", () => ({ trigger }));+import {+ DummyDriver,+ Kysely,+ PostgresAdapter,+ PostgresIntrospector,+ PostgresQueryCompiler+} from "kysely";import {moveScheduleJob,- reorderScheduleOperations+ reorderScheduleOperations,+ setJobDeadline} from "../app/modules/production/production.server";import {deadlineTypeForDueDate,@@ -317,3 +325,62 @@ describe("moveScheduleJob keeps the deadline type in step with the date", () =>]);});});++describe("setJobDeadline", () => {+ // The writes go over the system connection; a driver that answers no rows+ // is enough, since what is under test is whether the scheduler is told.+ const pg = new Kysely({+ dialect: {+ createAdapter: () => new PostgresAdapter(),+ createDriver: () => new DummyDriver(),+ createIntrospector: (db) => new PostgresIntrospector(db),+ createQueryCompiler: () => new PostgresQueryCompiler()+ }+ });+ const setDeadline = (statuses: string[]) => {+ const caller = callerWith({+ job: {+ data: statuses.map((status, index) => ({+ id: `j${index}`,+ status,+ locationId: "loc1",+ dueDate: null,+ deadlineType: "No Deadline"+ })),+ error: null+ }+ });+ return setJobDeadline(+ createServiceContext({+ actor: {+ type: "user",+ userId: "u1",+ permissions: {+ production: { view: [], create: [], update: ["c1"], delete: [] }+ }+ },+ company: { id: "c1", groupId: "g1" },+ caller: caller.client as never,+ system: () => ({}) as never,+ pg: () => pg as never,+ kv: () => ({}) as never+ }),+ { ids: statuses.map((_, index) => `j${index}`), dueDate: "2026-11-02" }+ );+ };+ const scheduleNotices = () =>+ trigger.mock.calls.filter(([event]) => event === "schedule-inputs-changed");++ // Draft and Planned jobs are not on the schedule yet.+ it("does not wake the scheduler for jobs it does not place", async () => {+ const result = await setDeadline(["Draft", "Planned"]);+ expect(result.error).toBeNull();+ expect(scheduleNotices()).toEqual([]);+ });++ it("wakes the scheduler when a released job moves", async () => {+ const result = await setDeadline(["Draft", "Ready"]);+ expect(result.error).toBeNull();+ expect(scheduleNotices()).toHaveLength(1);+ });+});diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.poindex a40dce8231..6af9e07290 100644--- a/packages/locale/locales/de/erp.po+++ b/packages/locale/locales/de/erp.po@@ -22,9 +22,8 @@ msgstr "— zuletzt überprüft {0}"msgid "— not on the manning board"msgstr "— nicht auf der Besetzungsplanung"-#. placeholder {0}: person.stations.join(", ")-msgid "— on the manning board at {0}"-msgstr "— auf der Besetzungsplanung bei {0}"+msgid "— on the manning board at {stations}"+msgstr ""msgid ", {residual}% residual"msgstr ", {residual}% Restbetrag"@@ -67,6 +66,9 @@ msgstr "(auf mehr als ein Carbon-Konto abgebildet)"msgid "(not an Equity posting account)"msgstr "(kein Eigenkapital-Buchungskonto)"+msgid "(outside this department)"+msgstr ""+#. placeholder {0}: impact.unschedulablemsgid "{0, plural, =0 {Its process needs a qualified operator, so its operations can't be scheduled until someone is added.} one {Its process needs a qualified operator: # operation can't be scheduled until someone is added.} other {Its process needs a qualified operator: # operations can't be scheduled until someone is added.}}"msgstr "{0, plural, =0 {Das Verfahren benötigt einen qualifizierten Werker, daher können dessen Arbeitsgänge nicht geplant werden, bis jemand hinzugefügt wird.} one {Das Verfahren benötigt einen qualifizierten Werker: # Arbeitsgang kann nicht geplant werden, bis jemand hinzugefügt wird.} other {Das Verfahren benötigt einen qualifizierten Werker: # Arbeitsgänge können nicht geplant werden, bis jemand hinzugefügt wird.}}"@@ -172,10 +174,6 @@ msgstr "{0, plural, one {für # Anlage} other {für # Anlagen}}"msgid "{0, plural, one {Marked absent for # day} other {Marked absent for # days}}"msgstr "{0, plural, one {Als abwesend markiert für # Tag} other {Als abwesend markiert für # Tage}}"-#. placeholder {0}: counts.updated ?? 0-msgid "{0, plural, one {Overtime set for # assignment} other {Overtime set for # assignments}}"-msgstr "{0, plural, one {Überzeit gesetzt für # Zuweisung} other {Überzeit gesetzt für # Zuweisungen}}"-#. placeholder {0}: check.countmsgid "{0, plural, one {Post or delete the # document dated before the cutover.} other {Post or delete the # documents dated before the cutover.}}"msgstr "{0, plural, one {Buchen Sie das # Dokument ab oder löschen Sie es, das vor dem Stichtag datiert ist.} other {Buchen Sie die # Dokumente ab oder löschen Sie sie, die vor dem Stichtag datiert sind.}}"@@ -232,10 +230,6 @@ msgstr "{0} Anlagen zur Abschreibung · {amount}"msgid "{0} BOM lines unmatched: {names}"msgstr ""-#. placeholder {0}: members.length-msgid "{0} can't be scheduled: {names}"-msgstr "{0} kann nicht geplant werden: {names}"-#. placeholder {0}: unitOfMeasure.namemsgid "{0} cannot be deleted because it is still in use by {where}. Change those records to a different unit of measure first."msgstr "{0} kann nicht gelöscht werden, da es noch verwendet wird von: {where}. Ändern Sie diese Datensätze zuerst auf eine andere Mengeneinheit."@@ -546,6 +540,12 @@ msgstr "{asset}: die fällige Zahlung {dueDate} ist Übersprungen (außerhalb vomsgid "{assetCount} Assets"msgstr "{assetCount} Anlagegüter"+msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}"+msgstr ""++msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}; {skipped, plural, one {# day already booked or off was kept} other {# days already booked or off were kept}}"+msgstr ""+msgid "{behindDays, plural, one {Behind target by # day} other {Behind target by # days}}"msgstr "{behindDays, plural, one {Hinter dem Ziel um # Tag} other {Hinter dem Ziel um # Tage}}"@@ -561,6 +561,9 @@ msgstr "{componentCount, plural, one {# Komponente} other {# Komponenten}}"msgid "{count, plural, one {# asset} other {# assets}}"msgstr "{count, plural, one {# Anlage} other {# Anlagen}}"+msgid "{count, plural, one {# can't be scheduled: {names}} other {# can't be scheduled: {names}}}"+msgstr ""+msgid "{count, plural, one {# course} other {# courses}}"msgstr "{count, plural, one {# Kurs} other {# Kurse}}"@@ -582,6 +585,12 @@ msgstr "{count, plural, one {# Los auflösen} other {# Lose auflösen}}"msgid "{count, plural, one {Dissolved # batch} other {Dissolved # batches}}"msgstr "{count, plural, one {# Los aufgelöst} other {# Lose aufgelöst}}"+msgid "{count, plural, one {Overtime set for # person} other {Overtime set for # people}}"+msgstr ""++msgid "{count, plural, one {Overtime set on # person-day} other {Overtime set on # person-days}}"+msgstr ""+msgid "{count, plural, one {Release # batch} other {Release # batches}}"msgstr "{count, plural, one {# Los freigeben} other {# Lose freigeben}}"@@ -615,8 +624,11 @@ msgstr "{daysBehindTarget, plural, one {Hinter dem Ziel um # Tag} other {Hintermsgid "{delegatedTo} posts this to your ledger, so Carbon doesn't push it. Your saved choice is kept in case that changes."msgstr "{delegatedTo} bucht dies in Ihr Ledger, daher schiebt Carbon es nicht. Ihre gespeicherte Auswahl wird beibehalten, falls sich dies ändert."-msgid "{departmentLabel} has no work centers at {locationName}. Pick another department or location."-msgstr "{departmentLabel} hat keine Arbeitsplätze am {locationName}. Wählen Sie eine andere Abteilung oder einen anderen Standort."+msgid "{departmentName} has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "{departmentName} has no work centers at this location. Pick another department or location."+msgstr ""msgid "{discount} off"msgstr "{discount} Rabatt"@@ -3822,12 +3834,6 @@ msgstr "Zugewiesen"msgid "Assigned {changed} planning actions"msgstr ""-msgid "Assigned {employeeName} to {targetName} for the week"-msgstr "{employeeName} für die Woche auf {targetName} zugewiesen"--msgid "Assigned {employeeName} to {targetName} for the week; days already assigned in other departments were kept"-msgstr "{employeeName} wurde für die Woche {targetName} zugewiesen; bereits zugewiesene Tage in anderen Abteilungen wurden beibehalten"-msgid "Assigned 1 planning action"msgstr ""@@ -14799,8 +14805,8 @@ msgstr "Keine {0} Synchronisierungsvorgänge"msgid "No {0} yet"msgstr "Noch keine {0}"-msgid "No {departmentLabel} work is scheduled at this location."-msgstr "Es ist keine Arbeit der Abteilung {departmentLabel} an diesem Standort geplant."+msgid "No {departmentName} work is scheduled at this location."+msgstr ""msgid "No {title} yet"msgstr "Noch keine {title}"@@ -15559,8 +15565,14 @@ msgstr "Keine Arbeitsplätze an diesem Standort"msgid "No work centers exist"msgstr "Keine Arbeitsplätze vorhanden"-msgid "No work centers in {departmentLabel}"-msgstr "Keine Arbeitsplätze in {departmentLabel}"+msgid "No work centers in {departmentName}"+msgstr ""++msgid "No work centers in this department"+msgstr ""++msgid "No work for this department is scheduled at this location."+msgstr ""#. placeholder {0}: ability.namemsgid "Nobody is qualified for {0}"@@ -15707,6 +15719,9 @@ msgstr "Notizen (optional)"msgid "Nothing"msgstr "Nichts"+msgid "Nothing assigned: every working day this week is already booked or off"+msgstr ""+#. placeholder {0}: search.trim()msgid "Nothing at this location matches \"{0}\"."msgstr "Nichts an diesem Ort stimmt mit \"{0}\" überein."@@ -23630,12 +23645,15 @@ msgstr "Die monatlichen Perioden, in die Sie buchen und die Sie schließen"msgid "The most likely failure mode the requester suspects; the technician confirms or replaces this on close-out, and the difference between suspected and actual feeds reliability reports."msgstr "Die wahrscheinlichste Fehlerart, die der Anforderer verdächtigt; der Techniker bestätigt oder ersetzt diese bei der Schließung, und die Differenz zwischen verdächtig und tatsächlich speist Zuverlässigkeitsberichte."-msgid "The most recent {departmentLabel} work at this location was {nextWorkDate}."-msgstr "Die neueste Arbeit der Abteilung {departmentLabel} an diesem Standort war {nextWorkDate}."+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."+msgstr ""msgid "The most recent scheduled work at this location was {nextWorkDate}."msgstr "Die neueste geplante Arbeit an diesem Standort war {nextWorkDate}."+msgid "The most recent work for this department at this location was {nextWorkDate}."+msgstr ""+msgid "The negotiated price per unit on this line; the inline trace icon shows which pricing rule or override produced it."msgstr "Der ausgehandelte Preis pro Einheit auf dieser Position; das Inline-Verfolgungssymbol zeigt, welche Preisregel oder Übersteuerung ihn hervorgebracht hat."@@ -23651,12 +23669,15 @@ msgstr "Die neue Versionsnummer der Methode"msgid "The new version number of the procedure"msgstr "Die neue Versionsnummer der Verfahrensanweisung"-msgid "The next {departmentLabel} work at this location starts {nextWorkDate}."-msgstr "Die nächste Arbeit der Abteilung {departmentLabel} an diesem Standort beginnt {nextWorkDate}."+msgid "The next {departmentName} work at this location starts {nextWorkDate}."+msgstr ""msgid "The next scheduled work at this location starts {nextWorkDate}."msgstr "Die nächste geplante Arbeit an diesem Standort beginnt {nextWorkDate}."+msgid "The next work for this department at this location starts {nextWorkDate}."+msgstr ""+msgid "The night shift suits you, {name}."msgstr "Die Nachtschicht passt gut zu dir, {name}."@@ -24310,8 +24331,11 @@ msgstr "Der Mietpreis dieses Kundentyps"msgid "This customer's rate"msgstr "Der Mietpreis dieses Kunden"-msgid "this department"-msgstr "diese Abteilung"+msgid "This department has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "This department has no work centers at this location. Pick another department or location."+msgstr ""msgid "This download link is invalid or has been tampered with."msgstr "Dieser Herunterlade-Link ist ungültig oder wurde manipuliert."@@ -27014,6 +27038,9 @@ msgstr "Workflow-Ausführung"msgid "Workflows"msgstr "Workflows"+msgid "working at {elsewhereStationNames}"+msgstr ""+msgid "Working sessions on configuration and data"msgstr "Arbeitssitzungen zu Konfiguration und Daten"diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.poindex 7d35bf5249..ab5cca5e81 100644--- a/packages/locale/locales/en/erp.po+++ b/packages/locale/locales/en/erp.po@@ -22,9 +22,8 @@ msgstr "— last checked {0}"msgid "— not on the manning board"msgstr "— not on the manning board"-#. placeholder {0}: person.stations.join(", ")-msgid "— on the manning board at {0}"-msgstr "— on the manning board at {0}"+msgid "— on the manning board at {stations}"+msgstr "— on the manning board at {stations}"msgid ", {residual}% residual"msgstr ", {residual}% residual"@@ -67,6 +66,9 @@ msgstr "(mapped to more than one Carbon account)"msgid "(not an Equity posting account)"msgstr "(not an Equity posting account)"+msgid "(outside this department)"+msgstr "(outside this department)"+#. placeholder {0}: impact.unschedulablemsgid "{0, plural, =0 {Its process needs a qualified operator, so its operations can't be scheduled until someone is added.} one {Its process needs a qualified operator: # operation can't be scheduled until someone is added.} other {Its process needs a qualified operator: # operations can't be scheduled until someone is added.}}"msgstr "{0, plural, =0 {Its process needs a qualified operator, so its operations can't be scheduled until someone is added.} one {Its process needs a qualified operator: # operation can't be scheduled until someone is added.} other {Its process needs a qualified operator: # operations can't be scheduled until someone is added.}}"@@ -172,10 +174,6 @@ msgstr "{0, plural, one {for # asset} other {for # assets}}"msgid "{0, plural, one {Marked absent for # day} other {Marked absent for # days}}"msgstr "{0, plural, one {Marked absent for # day} other {Marked absent for # days}}"-#. placeholder {0}: counts.updated ?? 0-msgid "{0, plural, one {Overtime set for # assignment} other {Overtime set for # assignments}}"-msgstr "{0, plural, one {Overtime set for # assignment} other {Overtime set for # assignments}}"-#. placeholder {0}: check.countmsgid "{0, plural, one {Post or delete the # document dated before the cutover.} other {Post or delete the # documents dated before the cutover.}}"msgstr "{0, plural, one {Post or delete the # document dated before the cutover.} other {Post or delete the # documents dated before the cutover.}}"@@ -232,10 +230,6 @@ msgstr "{0} assets to depreciate · {amount}"msgid "{0} BOM lines unmatched: {names}"msgstr "{0} BOM lines unmatched: {names}"-#. placeholder {0}: members.length-msgid "{0} can't be scheduled: {names}"-msgstr "{0} can't be scheduled: {names}"-#. placeholder {0}: unitOfMeasure.namemsgid "{0} cannot be deleted because it is still in use by {where}. Change those records to a different unit of measure first."msgstr "{0} cannot be deleted because it is still in use by {where}. Change those records to a different unit of measure first."@@ -546,6 +540,12 @@ msgstr "{asset}: the payment due {dueDate} is Skipped (paid outside Carbon), somsgid "{assetCount} Assets"msgstr "{assetCount} Assets"+msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}"+msgstr "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}"++msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}; {skipped, plural, one {# day already booked or off was kept} other {# days already booked or off were kept}}"+msgstr "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}; {skipped, plural, one {# day already booked or off was kept} other {# days already booked or off were kept}}"+msgid "{behindDays, plural, one {Behind target by # day} other {Behind target by # days}}"msgstr "{behindDays, plural, one {Behind target by # day} other {Behind target by # days}}"@@ -561,6 +561,9 @@ msgstr "{componentCount, plural, one {# component} other {# components}}"msgid "{count, plural, one {# asset} other {# assets}}"msgstr "{count, plural, one {# asset} other {# assets}}"+msgid "{count, plural, one {# can't be scheduled: {names}} other {# can't be scheduled: {names}}}"+msgstr "{count, plural, one {# can't be scheduled: {names}} other {# can't be scheduled: {names}}}"+msgid "{count, plural, one {# course} other {# courses}}"msgstr "{count, plural, one {# course} other {# courses}}"@@ -582,6 +585,12 @@ msgstr "{count, plural, one {Dissolve # batch} other {Dissolve # batches}}"msgid "{count, plural, one {Dissolved # batch} other {Dissolved # batches}}"msgstr "{count, plural, one {Dissolved # batch} other {Dissolved # batches}}"+msgid "{count, plural, one {Overtime set for # person} other {Overtime set for # people}}"+msgstr "{count, plural, one {Overtime set for # person} other {Overtime set for # people}}"++msgid "{count, plural, one {Overtime set on # person-day} other {Overtime set on # person-days}}"+msgstr "{count, plural, one {Overtime set on # person-day} other {Overtime set on # person-days}}"+msgid "{count, plural, one {Release # batch} other {Release # batches}}"msgstr "{count, plural, one {Release # batch} other {Release # batches}}"@@ -615,8 +624,11 @@ msgstr "{daysBehindTarget, plural, one {Behind target by # day} other {Behind tamsgid "{delegatedTo} posts this to your ledger, so Carbon doesn't push it. Your saved choice is kept in case that changes."msgstr "{delegatedTo} posts this to your ledger, so Carbon doesn't push it. Your saved choice is kept in case that changes."-msgid "{departmentLabel} has no work centers at {locationName}. Pick another department or location."-msgstr "{departmentLabel} has no work centers at {locationName}. Pick another department or location."+msgid "{departmentName} has no work centers at {locationName}. Pick another department or location."+msgstr "{departmentName} has no work centers at {locationName}. Pick another department or location."++msgid "{departmentName} has no work centers at this location. Pick another department or location."+msgstr "{departmentName} has no work centers at this location. Pick another department or location."msgid "{discount} off"msgstr "{discount} off"@@ -3822,12 +3834,6 @@ msgstr "Assigned"msgid "Assigned {changed} planning actions"msgstr "Assigned {changed} planning actions"-msgid "Assigned {employeeName} to {targetName} for the week"-msgstr "Assigned {employeeName} to {targetName} for the week"--msgid "Assigned {employeeName} to {targetName} for the week; days already assigned in other departments were kept"-msgstr "Assigned {employeeName} to {targetName} for the week; days already assigned in other departments were kept"-msgid "Assigned 1 planning action"msgstr "Assigned 1 planning action"@@ -14799,8 +14805,8 @@ msgstr "No {0} sync operations"msgid "No {0} yet"msgstr "No {0} yet"-msgid "No {departmentLabel} work is scheduled at this location."-msgstr "No {departmentLabel} work is scheduled at this location."+msgid "No {departmentName} work is scheduled at this location."+msgstr "No {departmentName} work is scheduled at this location."msgid "No {title} yet"msgstr "No {title} yet"@@ -15559,8 +15565,14 @@ msgstr "No work centers at this location"msgid "No work centers exist"msgstr "No work centers exist"-msgid "No work centers in {departmentLabel}"-msgstr "No work centers in {departmentLabel}"+msgid "No work centers in {departmentName}"+msgstr "No work centers in {departmentName}"++msgid "No work centers in this department"+msgstr "No work centers in this department"++msgid "No work for this department is scheduled at this location."+msgstr "No work for this department is scheduled at this location."#. placeholder {0}: ability.namemsgid "Nobody is qualified for {0}"@@ -15707,6 +15719,9 @@ msgstr "Notes (optional)"msgid "Nothing"msgstr "Nothing"+msgid "Nothing assigned: every working day this week is already booked or off"+msgstr "Nothing assigned: every working day this week is already booked or off"+#. placeholder {0}: search.trim()msgid "Nothing at this location matches \"{0}\"."msgstr "Nothing at this location matches \"{0}\"."@@ -23630,12 +23645,15 @@ msgstr "The monthly periods you post into and close"msgid "The most likely failure mode the requester suspects; the technician confirms or replaces this on close-out, and the difference between suspected and actual feeds reliability reports."msgstr "The most likely failure mode the requester suspects; the technician confirms or replaces this on close-out, and the difference between suspected and actual feeds reliability reports."-msgid "The most recent {departmentLabel} work at this location was {nextWorkDate}."-msgstr "The most recent {departmentLabel} work at this location was {nextWorkDate}."+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."+msgstr "The most recent {departmentName} work at this location was {nextWorkDate}."msgid "The most recent scheduled work at this location was {nextWorkDate}."msgstr "The most recent scheduled work at this location was {nextWorkDate}."+msgid "The most recent work for this department at this location was {nextWorkDate}."+msgstr "The most recent work for this department at this location was {nextWorkDate}."+msgid "The negotiated price per unit on this line; the inline trace icon shows which pricing rule or override produced it."msgstr "The negotiated price per unit on this line; the inline trace icon shows which pricing rule or override produced it."@@ -23651,12 +23669,15 @@ msgstr "The new version number of the method"msgid "The new version number of the procedure"msgstr "The new version number of the procedure"-msgid "The next {departmentLabel} work at this location starts {nextWorkDate}."-msgstr "The next {departmentLabel} work at this location starts {nextWorkDate}."+msgid "The next {departmentName} work at this location starts {nextWorkDate}."+msgstr "The next {departmentName} work at this location starts {nextWorkDate}."msgid "The next scheduled work at this location starts {nextWorkDate}."msgstr "The next scheduled work at this location starts {nextWorkDate}."+msgid "The next work for this department at this location starts {nextWorkDate}."+msgstr "The next work for this department at this location starts {nextWorkDate}."+msgid "The night shift suits you, {name}."msgstr "The night shift suits you, {name}."@@ -24310,8 +24331,11 @@ msgstr "This customer type's rate"msgid "This customer's rate"msgstr "This customer's rate"-msgid "this department"-msgstr "this department"+msgid "This department has no work centers at {locationName}. Pick another department or location."+msgstr "This department has no work centers at {locationName}. Pick another department or location."++msgid "This department has no work centers at this location. Pick another department or location."+msgstr "This department has no work centers at this location. Pick another department or location."msgid "This download link is invalid or has been tampered with."msgstr "This download link is invalid or has been tampered with."@@ -27014,6 +27038,9 @@ msgstr "Workflow run"msgid "Workflows"msgstr "Workflows"+msgid "working at {elsewhereStationNames}"+msgstr "working at {elsewhereStationNames}"+msgid "Working sessions on configuration and data"msgstr "Working sessions on configuration and data"diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.poindex e5506e4f22..adf929a4e0 100644--- a/packages/locale/locales/es/erp.po+++ b/packages/locale/locales/es/erp.po@@ -22,9 +22,8 @@ msgstr "— última verificación {0}"msgid "— not on the manning board"msgstr "— no está en el panel de personal"-#. placeholder {0}: person.stations.join(", ")-msgid "— on the manning board at {0}"-msgstr "— en el panel de personal en {0}"+msgid "— on the manning board at {stations}"+msgstr ""msgid ", {residual}% residual"msgstr ", {residual}% residual"@@ -67,6 +66,9 @@ msgstr "(asignado a más de una cuenta de Carbon)"msgid "(not an Equity posting account)"msgstr "(no es una cuenta de Contabilización de Patrimonio)"+msgid "(outside this department)"+msgstr ""+#. placeholder {0}: impact.unschedulablemsgid "{0, plural, =0 {Its process needs a qualified operator, so its operations can't be scheduled until someone is added.} one {Its process needs a qualified operator: # operation can't be scheduled until someone is added.} other {Its process needs a qualified operator: # operations can't be scheduled until someone is added.}}"msgstr "{0, plural, =0 {Su proceso necesita un operario calificado, así que sus operaciones no se pueden programar hasta que se agregue alguien.} one {Su proceso necesita un operario calificado: # operación no se puede programar hasta que se agregue alguien.} other {Su proceso necesita un operario calificado: # operaciones no se pueden programar hasta que se agregue alguien.}}"@@ -172,10 +174,6 @@ msgstr "{0, plural, one {por # activo} other {por # activos}}"msgid "{0, plural, one {Marked absent for # day} other {Marked absent for # days}}"msgstr "{0, plural, one {Marcado ausente por # día} other {Marcado ausente por # días}}"-#. placeholder {0}: counts.updated ?? 0-msgid "{0, plural, one {Overtime set for # assignment} other {Overtime set for # assignments}}"-msgstr "{0, plural, one {Tiempo extra establecido para # asignación} other {Tiempo extra establecido para # asignaciones}}"-#. placeholder {0}: check.countmsgid "{0, plural, one {Post or delete the # document dated before the cutover.} other {Post or delete the # documents dated before the cutover.}}"msgstr "{0, plural, one {Contabilizar o Eliminar el # Documento fechado antes del corte.} other {Contabilizar o Eliminar los # Documentos fechados antes del corte.}}"@@ -232,10 +230,6 @@ msgstr "{0} activos para depreciar · {amount}"msgid "{0} BOM lines unmatched: {names}"msgstr ""-#. placeholder {0}: members.length-msgid "{0} can't be scheduled: {names}"-msgstr "No se puede programar {0}: {names}"-#. placeholder {0}: unitOfMeasure.namemsgid "{0} cannot be deleted because it is still in use by {where}. Change those records to a different unit of measure first."msgstr "{0} no se puede eliminar porque todavía está en uso por {where}. Cambie primero esos registros a otra unidad de medida."@@ -546,6 +540,12 @@ msgstr "{asset}: el pago vencido {dueDate} está Omitido (pagado fuera de Carbonmsgid "{assetCount} Assets"msgstr "{assetCount} Activos"+msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}"+msgstr ""++msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}; {skipped, plural, one {# day already booked or off was kept} other {# days already booked or off were kept}}"+msgstr ""+msgid "{behindDays, plural, one {Behind target by # day} other {Behind target by # days}}"msgstr "{behindDays, plural, one {Atraso objetivo de # día} other {Atraso objetivo de # días}}"@@ -561,6 +561,9 @@ msgstr "{componentCount, plural, one {# componente} other {# componentes}}"msgid "{count, plural, one {# asset} other {# assets}}"msgstr "{count, plural, one {# activo} other {# activos}}"+msgid "{count, plural, one {# can't be scheduled: {names}} other {# can't be scheduled: {names}}}"+msgstr ""+msgid "{count, plural, one {# course} other {# courses}}"msgstr "{count, plural, one {# curso} other {# cursos}}"@@ -582,6 +585,12 @@ msgstr "{count, plural, one {Disolver # lote de producción} other {Disolver # lmsgid "{count, plural, one {Dissolved # batch} other {Dissolved # batches}}"msgstr "{count, plural, one {Disuelto # lote de producción} other {Disueltos # lotes de producción}}"+msgid "{count, plural, one {Overtime set for # person} other {Overtime set for # people}}"+msgstr ""++msgid "{count, plural, one {Overtime set on # person-day} other {Overtime set on # person-days}}"+msgstr ""+msgid "{count, plural, one {Release # batch} other {Release # batches}}"msgstr "{count, plural, one {Liberar # lote de producción} other {Liberar # lotes de producción}}"@@ -615,8 +624,11 @@ msgstr "{daysBehindTarget, plural, one {Atraso objetivo de # día} other {Atrasomsgid "{delegatedTo} posts this to your ledger, so Carbon doesn't push it. Your saved choice is kept in case that changes."msgstr "{delegatedTo} publica esto en tu libro mayor, por lo que Carbon no lo envía. Tu opción guardada se mantiene en caso de que eso cambie."-msgid "{departmentLabel} has no work centers at {locationName}. Pick another department or location."-msgstr "{departmentLabel} no tiene centros de trabajo en {locationName}. Selecciona otro departamento o ubicación."+msgid "{departmentName} has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "{departmentName} has no work centers at this location. Pick another department or location."+msgstr ""msgid "{discount} off"msgstr "{discount} descuento"@@ -3822,12 +3834,6 @@ msgstr "Asignado"msgid "Assigned {changed} planning actions"msgstr ""-msgid "Assigned {employeeName} to {targetName} for the week"-msgstr "Asignado {employeeName} a {targetName} para la semana"--msgid "Assigned {employeeName} to {targetName} for the week; days already assigned in other departments were kept"-msgstr "Se asignó {employeeName} a {targetName} para la semana; se conservaron los días ya asignados en otros departamentos"-msgid "Assigned 1 planning action"msgstr ""@@ -14799,8 +14805,8 @@ msgstr "Sin operaciones de sincronización de {0}"msgid "No {0} yet"msgstr "Sin {0} aún"-msgid "No {departmentLabel} work is scheduled at this location."-msgstr "No hay trabajo de {departmentLabel} programado en esta ubicación."+msgid "No {departmentName} work is scheduled at this location."+msgstr ""msgid "No {title} yet"msgstr "Sin {title} aún"@@ -15559,8 +15565,14 @@ msgstr "No hay centros de trabajo en esta ubicación"msgid "No work centers exist"msgstr "No existen centros de trabajo"-msgid "No work centers in {departmentLabel}"-msgstr "No hay centros de trabajo en {departmentLabel}"+msgid "No work centers in {departmentName}"+msgstr ""++msgid "No work centers in this department"+msgstr ""++msgid "No work for this department is scheduled at this location."+msgstr ""#. placeholder {0}: ability.namemsgid "Nobody is qualified for {0}"@@ -15707,6 +15719,9 @@ msgstr "Notas (opcional)"msgid "Nothing"msgstr "Nada"+msgid "Nothing assigned: every working day this week is already booked or off"+msgstr ""+#. placeholder {0}: search.trim()msgid "Nothing at this location matches \"{0}\"."msgstr "Nada en esta ubicación coincide con \"{0}\"."@@ -23630,12 +23645,15 @@ msgstr "Los períodos mensuales en los que registra y cierra"msgid "The most likely failure mode the requester suspects; the technician confirms or replaces this on close-out, and the difference between suspected and actual feeds reliability reports."msgstr "El modo de falla más probable que el solicitante sospecha; el técnico confirma o reemplaza esto al cerrar, y la diferencia entre sospechado y real alimenta informes de confiabilidad."-msgid "The most recent {departmentLabel} work at this location was {nextWorkDate}."-msgstr "El trabajo de {departmentLabel} más reciente en esta ubicación fue {nextWorkDate}."+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."+msgstr ""msgid "The most recent scheduled work at this location was {nextWorkDate}."msgstr "El trabajo programado más reciente en esta ubicación fue {nextWorkDate}."+msgid "The most recent work for this department at this location was {nextWorkDate}."+msgstr ""+msgid "The negotiated price per unit on this line; the inline trace icon shows which pricing rule or override produced it."msgstr "El precio negociado por unidad en esta línea; el icono de rastreo en línea muestra qué regla de precios o sobrescritura lo produjo."@@ -23651,12 +23669,15 @@ msgstr "El nuevo número de versión del método"msgid "The new version number of the procedure"msgstr "El nuevo número de versión del procedimiento"-msgid "The next {departmentLabel} work at this location starts {nextWorkDate}."-msgstr "El siguiente trabajo de {departmentLabel} en esta ubicación comienza {nextWorkDate}."+msgid "The next {departmentName} work at this location starts {nextWorkDate}."+msgstr ""msgid "The next scheduled work at this location starts {nextWorkDate}."msgstr "El siguiente trabajo programado en esta ubicación comienza {nextWorkDate}."+msgid "The next work for this department at this location starts {nextWorkDate}."+msgstr ""+msgid "The night shift suits you, {name}."msgstr "El turno nocturno te conviene, {name}."@@ -24310,8 +24331,11 @@ msgstr "La tarifa de este tipo de cliente"msgid "This customer's rate"msgstr "La tarifa de este cliente"-msgid "this department"-msgstr "este departamento"+msgid "This department has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "This department has no work centers at this location. Pick another department or location."+msgstr ""msgid "This download link is invalid or has been tampered with."msgstr "Este enlace de descarga es inválido o ha sido alterado."@@ -27014,6 +27038,9 @@ msgstr "Ejecución del flujo de trabajo"msgid "Workflows"msgstr "Flujos de trabajo"+msgid "working at {elsewhereStationNames}"+msgstr ""+msgid "Working sessions on configuration and data"msgstr "Sesiones de trabajo sobre configuración y datos"diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.poindex 4e13594e50..133e29ef74 100644--- a/packages/locale/locales/fr/erp.po+++ b/packages/locale/locales/fr/erp.po@@ -22,9 +22,8 @@ msgstr "— dernier vérification {0}"msgid "— not on the manning board"msgstr "— absent du tableau de personnel"-#. placeholder {0}: person.stations.join(", ")-msgid "— on the manning board at {0}"-msgstr "— sur le tableau de personnel à {0}"+msgid "— on the manning board at {stations}"+msgstr ""msgid ", {residual}% residual"msgstr ", {residual}% résiduel"@@ -67,6 +66,9 @@ msgstr "(Associé à plusieurs comptes Carbon)"msgid "(not an Equity posting account)"msgstr "(pas un compte de comptabilisation de capitaux propres)"+msgid "(outside this department)"+msgstr ""+#. placeholder {0}: impact.unschedulablemsgid "{0, plural, =0 {Its process needs a qualified operator, so its operations can't be scheduled until someone is added.} one {Its process needs a qualified operator: # operation can't be scheduled until someone is added.} other {Its process needs a qualified operator: # operations can't be scheduled until someone is added.}}"msgstr "{0, plural, =0 {Son procédé nécessite un opérateur qualifié, donc ses opérations ne peuvent pas être planifiées tant que quelqu'un n'est pas ajouté.} one {Son procédé nécessite un opérateur qualifié : # opération ne peut pas être planifiée tant que quelqu'un n'est pas ajouté.} other {Son procédé nécessite un opérateur qualifié : # opérations ne peuvent pas être planifiées tant que quelqu'un n'est pas ajouté.}}"@@ -172,10 +174,6 @@ msgstr "{0, plural, one {pour # actif} other {pour # actifs}}"msgid "{0, plural, one {Marked absent for # day} other {Marked absent for # days}}"msgstr "{0, plural, one {Marqué absent pour # jour} other {Marqué absent pour # jours}}"-#. placeholder {0}: counts.updated ?? 0-msgid "{0, plural, one {Overtime set for # assignment} other {Overtime set for # assignments}}"-msgstr "{0, plural, one {Heures supplémentaires définies pour # assignation} other {Heures supplémentaires définies pour # assignations}}"-#. placeholder {0}: check.countmsgid "{0, plural, one {Post or delete the # document dated before the cutover.} other {Post or delete the # documents dated before the cutover.}}"msgstr "{0, plural, one {Comptabilisez ou supprimez le # document daté avant le cutover.} other {Comptabilisez ou supprimez les # documents datés avant le cutover.}}"@@ -232,10 +230,6 @@ msgstr "{0} actifs à amortir · {amount}"msgid "{0} BOM lines unmatched: {names}"msgstr ""-#. placeholder {0}: members.length-msgid "{0} can't be scheduled: {names}"-msgstr "{0} ne peuvent pas être planifiés : {names}"-#. placeholder {0}: unitOfMeasure.namemsgid "{0} cannot be deleted because it is still in use by {where}. Change those records to a different unit of measure first."msgstr "{0} ne peut pas être supprimé car il est encore utilisé par {where}. Modifiez d'abord ces enregistrements vers une autre unité de mesure."@@ -546,6 +540,12 @@ msgstr "{asset} : le paiement dû {dueDate} est Ignoré (payé en dehors de Carbmsgid "{assetCount} Assets"msgstr "{assetCount} Immobilisations"+msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}"+msgstr ""++msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}; {skipped, plural, one {# day already booked or off was kept} other {# days already booked or off were kept}}"+msgstr ""+msgid "{behindDays, plural, one {Behind target by # day} other {Behind target by # days}}"msgstr "{behindDays, plural, one {En retard sur cible de # jour} other {En retard sur cible de # jours}}"@@ -561,6 +561,9 @@ msgstr "{componentCount, plural, one {# composant} other {# composants}}"msgid "{count, plural, one {# asset} other {# assets}}"msgstr "{count, plural, one {# actif} other {# actifs}}"+msgid "{count, plural, one {# can't be scheduled: {names}} other {# can't be scheduled: {names}}}"+msgstr ""+msgid "{count, plural, one {# course} other {# courses}}"msgstr "{count, plural, one {# cours} other {# cours}}"@@ -582,6 +585,12 @@ msgstr "{count, plural, one {Dissoudre # lot de production} other {Dissoudre # lmsgid "{count, plural, one {Dissolved # batch} other {Dissolved # batches}}"msgstr "{count, plural, one {# lot de production dissous} other {# lots de production dissous}}"+msgid "{count, plural, one {Overtime set for # person} other {Overtime set for # people}}"+msgstr ""++msgid "{count, plural, one {Overtime set on # person-day} other {Overtime set on # person-days}}"+msgstr ""+msgid "{count, plural, one {Release # batch} other {Release # batches}}"msgstr "{count, plural, one {Lancer # lot de production} other {Lancer # lots de production}}"@@ -615,8 +624,11 @@ msgstr "{daysBehindTarget, plural, one {En retard sur cible de # jour} other {Enmsgid "{delegatedTo} posts this to your ledger, so Carbon doesn't push it. Your saved choice is kept in case that changes."msgstr "${delegatedTo} publie ceci dans votre grand livre, donc Carbon ne le pousse pas. Votre choix enregistré est conservé au cas où cela changerait."-msgid "{departmentLabel} has no work centers at {locationName}. Pick another department or location."-msgstr "{departmentLabel} n'a pas de postes de travail à {locationName}. Choisissez un autre département ou site."+msgid "{departmentName} has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "{departmentName} has no work centers at this location. Pick another department or location."+msgstr ""msgid "{discount} off"msgstr "{discount} de réduction"@@ -3822,12 +3834,6 @@ msgstr "Assigné"msgid "Assigned {changed} planning actions"msgstr ""-msgid "Assigned {employeeName} to {targetName} for the week"-msgstr "{employeeName} assigné à {targetName} pour la semaine"--msgid "Assigned {employeeName} to {targetName} for the week; days already assigned in other departments were kept"-msgstr "Assigné {employeeName} à {targetName} pour la semaine ; les jours déjà assignés dans d'autres départements ont été conservés"-msgid "Assigned 1 planning action"msgstr ""@@ -14799,8 +14805,8 @@ msgstr "Aucune opération de synchronisation {0}"msgid "No {0} yet"msgstr "Pas encore de {0}"-msgid "No {departmentLabel} work is scheduled at this location."-msgstr "Aucun travail de {departmentLabel} n'est planifié à ce site."+msgid "No {departmentName} work is scheduled at this location."+msgstr ""msgid "No {title} yet"msgstr "Aucun {title} pour le moment"@@ -15559,8 +15565,14 @@ msgstr "Aucun poste de travail sur ce site"msgid "No work centers exist"msgstr "Aucun poste de travail n'existe"-msgid "No work centers in {departmentLabel}"-msgstr "Aucun poste de travail dans {departmentLabel}"+msgid "No work centers in {departmentName}"+msgstr ""++msgid "No work centers in this department"+msgstr ""++msgid "No work for this department is scheduled at this location."+msgstr ""#. placeholder {0}: ability.namemsgid "Nobody is qualified for {0}"@@ -15707,6 +15719,9 @@ msgstr "Notes (facultatif)"msgid "Nothing"msgstr "Rien"+msgid "Nothing assigned: every working day this week is already booked or off"+msgstr ""+#. placeholder {0}: search.trim()msgid "Nothing at this location matches \"{0}\"."msgstr "Rien à cet emplacement ne correspond à \"{0}\"."@@ -23630,12 +23645,15 @@ msgstr "Les périodes mensuelles dans lesquelles vous comptabilisez et fermez"msgid "The most likely failure mode the requester suspects; the technician confirms or replaces this on close-out, and the difference between suspected and actual feeds reliability reports."msgstr "Le mode de défaillance le plus probable que le demandeur soupçonne; le technicien confirme ou remplace celui-ci à la fermeture, et la différence entre suspects et réelles alimente les rapports de fiabilité."-msgid "The most recent {departmentLabel} work at this location was {nextWorkDate}."-msgstr "Le travail de {departmentLabel} le plus récent à ce site était {nextWorkDate}."+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."+msgstr ""msgid "The most recent scheduled work at this location was {nextWorkDate}."msgstr "Le travail planifié le plus récent à ce site était {nextWorkDate}."+msgid "The most recent work for this department at this location was {nextWorkDate}."+msgstr ""+msgid "The negotiated price per unit on this line; the inline trace icon shows which pricing rule or override produced it."msgstr "Le prix négocié par unité sur cette ligne; l'icône de traçabilité indique quelle règle de tarification ou substitution l'a produit."@@ -23651,12 +23669,15 @@ msgstr "Le nouveau numéro de version de la méthode"msgid "The new version number of the procedure"msgstr "Le nouveau numéro de version de la procédure"-msgid "The next {departmentLabel} work at this location starts {nextWorkDate}."-msgstr "Le prochain travail de {departmentLabel} à ce site commence {nextWorkDate}."+msgid "The next {departmentName} work at this location starts {nextWorkDate}."+msgstr ""msgid "The next scheduled work at this location starts {nextWorkDate}."msgstr "Le prochain travail planifié à ce site commence {nextWorkDate}."+msgid "The next work for this department at this location starts {nextWorkDate}."+msgstr ""+msgid "The night shift suits you, {name}."msgstr "L'équipe de nuit vous convient, {name}."@@ -24310,8 +24331,11 @@ msgstr "Le tarif de ce type de client"msgid "This customer's rate"msgstr "Le tarif de ce client"-msgid "this department"-msgstr "ce département"+msgid "This department has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "This department has no work centers at this location. Pick another department or location."+msgstr ""msgid "This download link is invalid or has been tampered with."msgstr "Ce lien de téléchargement est invalide ou a été modifié."@@ -27014,6 +27038,9 @@ msgstr "Exécution du flux de travail"msgid "Workflows"msgstr "Flux de travail"+msgid "working at {elsewhereStationNames}"+msgstr ""+msgid "Working sessions on configuration and data"msgstr "Séances de travail sur la configuration et les données"diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.poindex 6ad8e7f5f1..99de0e1dba 100644--- a/packages/locale/locales/hi/erp.po+++ b/packages/locale/locales/hi/erp.po@@ -22,9 +22,8 @@ msgstr "— अंतिम जांच {0}"msgid "— not on the manning board"msgstr "— मैनिंग बोर्ड पर नहीं"-#. placeholder {0}: person.stations.join(", ")-msgid "— on the manning board at {0}"-msgstr "— मैनिंग बोर्ड पर {0} पर"+msgid "— on the manning board at {stations}"+msgstr ""msgid ", {residual}% residual"msgstr ", {residual}% अवशेष"@@ -67,6 +66,9 @@ msgstr "(एक से अधिक Carbon खातों में मैपmsgid "(not an Equity posting account)"msgstr "(इक्विटी पोस्टिंग खाता नहीं है)"+msgid "(outside this department)"+msgstr ""+#. placeholder {0}: impact.unschedulablemsgid "{0, plural, =0 {Its process needs a qualified operator, so its operations can't be scheduled until someone is added.} one {Its process needs a qualified operator: # operation can't be scheduled until someone is added.} other {Its process needs a qualified operator: # operations can't be scheduled until someone is added.}}"msgstr "{0, plural, =0 {इसकी प्रक्रिया को योग्य ऑपरेटर की आवश्यकता है, इसलिए इसके ऑपरेशन को किसी को जोड़ने तक शेड्यूल नहीं किया जा सकता।} one {इसकी प्रक्रिया को योग्य ऑपरेटर की आवश्यकता है: # ऑपरेशन को किसी को जोड़ने तक शेड्यूल नहीं किया जा सकता।} other {इसकी प्रक्रिया को योग्य ऑपरेटर की आवश्यकता है: # ऑपरेशन को किसी को जोड़ने तक शेड्यूल नहीं किए जा सकते।}}"@@ -172,10 +174,6 @@ msgstr "{0, plural, one {# संपत्ति के लिए} other {# सmsgid "{0, plural, one {Marked absent for # day} other {Marked absent for # days}}"msgstr "{0, plural, one {# दिन के लिए अनुपस्थित चिह्नित} other {# दिनों के लिए अनुपस्थित चिह्नित}}"-#. placeholder {0}: counts.updated ?? 0-msgid "{0, plural, one {Overtime set for # assignment} other {Overtime set for # assignments}}"-msgstr "{0, plural, one {# असाइनमेंट के लिए ओवरटाइम सेट} other {# असाइनमेंट के लिए ओवरटाइम सेट}}"-#. placeholder {0}: check.countmsgid "{0, plural, one {Post or delete the # document dated before the cutover.} other {Post or delete the # documents dated before the cutover.}}"msgstr "{0, plural, one {# दस्तावेज़ को पोस्ट करें या हटाएँ जो संक्रमण तिथि से पहले दिनांकित है।} other {# दस्तावेज़ों को पोस्ट करें या हटाएँ जो संक्रमण तिथि से पहले दिनांकित हैं।}}"@@ -232,10 +230,6 @@ msgstr "{0} संपत्तियों का मूल्यह्रासmsgid "{0} BOM lines unmatched: {names}"msgstr ""-#. placeholder {0}: members.length-msgid "{0} can't be scheduled: {names}"-msgstr "{0} शेड्यूल नहीं किया जा सकता: {names}"-#. placeholder {0}: unitOfMeasure.namemsgid "{0} cannot be deleted because it is still in use by {where}. Change those records to a different unit of measure first."msgstr "{0} को हटाया नहीं जा सकता क्योंकि यह अभी भी {where} में उपयोग में है। पहले उन रिकॉर्ड को किसी दूसरी माप की इकाई में बदलें।"@@ -546,6 +540,12 @@ msgstr "{asset}: {dueDate} को देय भुगतान छोड़ाmsgid "{assetCount} Assets"msgstr "{assetCount} अचल संपत्तियाँ"+msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}"+msgstr ""++msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}; {skipped, plural, one {# day already booked or off was kept} other {# days already booked or off were kept}}"+msgstr ""+msgid "{behindDays, plural, one {Behind target by # day} other {Behind target by # days}}"msgstr "{behindDays, plural, one {लक्ष्य से # दिन पीछे} other {लक्ष्य से # दिन पीछे}}"@@ -561,6 +561,9 @@ msgstr "{componentCount, plural, one {# घटक} other {# घटक}}"msgid "{count, plural, one {# asset} other {# assets}}"msgstr "{count, plural, one {# संपत्ति} other {# संपत्तियाँ}}"+msgid "{count, plural, one {# can't be scheduled: {names}} other {# can't be scheduled: {names}}}"+msgstr ""+msgid "{count, plural, one {# course} other {# courses}}"msgstr "{count, plural, one {# कोर्स} other {# कोर्स}}"@@ -582,6 +585,12 @@ msgstr "{count, plural, one {# बैच विघटित करें} othermsgid "{count, plural, one {Dissolved # batch} other {Dissolved # batches}}"msgstr "{count, plural, one {# बैच विघटित} other {# बैच विघटित}}"+msgid "{count, plural, one {Overtime set for # person} other {Overtime set for # people}}"+msgstr ""++msgid "{count, plural, one {Overtime set on # person-day} other {Overtime set on # person-days}}"+msgstr ""+msgid "{count, plural, one {Release # batch} other {Release # batches}}"msgstr "{count, plural, one {# बैच जारी करें} other {# बैच जारी करें}}"@@ -615,8 +624,11 @@ msgstr "{daysBehindTarget, plural, one {लक्ष्य से # दिनmsgid "{delegatedTo} posts this to your ledger, so Carbon doesn't push it. Your saved choice is kept in case that changes."msgstr "{delegatedTo} यह आपके लेजर में पोस्ट करता है, इसलिए Carbon इसे पुश नहीं करता है। आपकी सहेजी गई पसंद को इस बात के मामले में रखा जाता है कि यह बदल जाए।"-msgid "{departmentLabel} has no work centers at {locationName}. Pick another department or location."-msgstr "{departmentLabel} के पास {locationName} पर कोई वर्क सेंटर नहीं है। कोई अन्य विभाग या स्थान चुनें।"+msgid "{departmentName} has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "{departmentName} has no work centers at this location. Pick another department or location."+msgstr ""msgid "{discount} off"msgstr "{discount} छूट"@@ -3822,12 +3834,6 @@ msgstr "नियुक्त"msgid "Assigned {changed} planning actions"msgstr ""-msgid "Assigned {employeeName} to {targetName} for the week"-msgstr "{employeeName} को सप्ताह के लिए {targetName} पर असाइन किया"--msgid "Assigned {employeeName} to {targetName} for the week; days already assigned in other departments were kept"-msgstr "{employeeName} को {targetName} को सप्ताह के लिए असाइन किया गया; अन्य विभागों में पहले से असाइन किए गए दिनों को रखा गया था"-msgid "Assigned 1 planning action"msgstr ""@@ -14799,8 +14805,8 @@ msgstr "कोई {0} सिंक ऑपरेशन नहीं"msgid "No {0} yet"msgstr "अभी कोई {0} नहीं"-msgid "No {departmentLabel} work is scheduled at this location."-msgstr "इस स्थान पर कोई {departmentLabel} कार्य शेड्यूल नहीं है।"+msgid "No {departmentName} work is scheduled at this location."+msgstr ""msgid "No {title} yet"msgstr "अभी {title} नहीं है"@@ -15559,8 +15565,14 @@ msgstr "इस स्थान पर कोई वर्क सेंटर नmsgid "No work centers exist"msgstr "कोई वर्क सेंटर मौजूद नहीं है"-msgid "No work centers in {departmentLabel}"-msgstr "{departmentLabel} में कोई वर्क सेंटर नहीं"+msgid "No work centers in {departmentName}"+msgstr ""++msgid "No work centers in this department"+msgstr ""++msgid "No work for this department is scheduled at this location."+msgstr ""#. placeholder {0}: ability.namemsgid "Nobody is qualified for {0}"@@ -15707,6 +15719,9 @@ msgstr "नोट्स (वैकल्पिक)"msgid "Nothing"msgstr "कुछ नहीं"+msgid "Nothing assigned: every working day this week is already booked or off"+msgstr ""+#. placeholder {0}: search.trim()msgid "Nothing at this location matches \"{0}\"."msgstr "इस स्थान पर कुछ भी \"{0}\" से मेल नहीं खाता।"@@ -23630,12 +23645,15 @@ msgstr "मासिक अवधियाँ जिनमें आप पोmsgid "The most likely failure mode the requester suspects; the technician confirms or replaces this on close-out, and the difference between suspected and actual feeds reliability reports."msgstr "सबसे संभावित विफलता मोड जिसे अनुरोधकर्ता संदेह करता है; तकनीशियन इसे बंद करते समय की पुष्टि या प्रतिस्थापन करता है, और संदेह और वास्तविक के बीच अंतर विश्वसनीयता रिपोर्ट करता है।"-msgid "The most recent {departmentLabel} work at this location was {nextWorkDate}."-msgstr "इस स्थान पर सबसे हाल का {departmentLabel} काम {nextWorkDate} था।"+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."+msgstr ""msgid "The most recent scheduled work at this location was {nextWorkDate}."msgstr "इस स्थान पर सबसे हाल का शेड्यूल किया गया काम {nextWorkDate} था।"+msgid "The most recent work for this department at this location was {nextWorkDate}."+msgstr ""+msgid "The negotiated price per unit on this line; the inline trace icon shows which pricing rule or override produced it."msgstr "इस लाइन पर प्रति यूनिट मूल्य; इनलाइन ट्रेस आइकन दिखाता है कि कौन सा मूल्य नियम या ओवरराइड इसे उत्पादित किया।"@@ -23651,12 +23669,15 @@ msgstr "विधि का नया संस्करण संख्या"msgid "The new version number of the procedure"msgstr "कार्यविधि की नई संस्करण संख्या"-msgid "The next {departmentLabel} work at this location starts {nextWorkDate}."-msgstr "इस स्थान पर अगला {departmentLabel} काम {nextWorkDate} से शुरू होता है।"+msgid "The next {departmentName} work at this location starts {nextWorkDate}."+msgstr ""msgid "The next scheduled work at this location starts {nextWorkDate}."msgstr "इस स्थान पर अगला शेड्यूल किया गया काम {nextWorkDate} से शुरू होता है।"+msgid "The next work for this department at this location starts {nextWorkDate}."+msgstr ""+msgid "The night shift suits you, {name}."msgstr "रात की शिफ्ट आपको सूट करती है, {name}।"@@ -24310,8 +24331,11 @@ msgstr "इस ग्राहक प्रकार की दर"msgid "This customer's rate"msgstr "इस ग्राहक की दर"-msgid "this department"-msgstr "यह विभाग"+msgid "This department has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "This department has no work centers at this location. Pick another department or location."+msgstr ""msgid "This download link is invalid or has been tampered with."msgstr "यह डाउनलोड लिंक अमान्य है या इसके साथ छेड़छाड़ की गई है।"@@ -27014,6 +27038,9 @@ msgstr "वर्कफ़्लो रन"msgid "Workflows"msgstr "वर्कफ़्लो"+msgid "working at {elsewhereStationNames}"+msgstr ""+msgid "Working sessions on configuration and data"msgstr "कॉन्फ़िगरेशन और डेटा पर कार्य सत्र"diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.poindex b70d1337b5..dff8ceb79b 100644--- a/packages/locale/locales/it/erp.po+++ b/packages/locale/locales/it/erp.po@@ -22,9 +22,8 @@ msgstr "— ultimo controllo {0}"msgid "— not on the manning board"msgstr "— non assegnato al programma di staffing"-#. placeholder {0}: person.stations.join(", ")-msgid "— on the manning board at {0}"-msgstr "— assegnato al programma di staffing presso {0}"+msgid "— on the manning board at {stations}"+msgstr ""msgid ", {residual}% residual"msgstr ", {residual}% residuo"@@ -67,6 +66,9 @@ msgstr "(associato a più di un account Carbon)"msgid "(not an Equity posting account)"msgstr "(non un account di registrazione Patrimonio netto)"+msgid "(outside this department)"+msgstr ""+#. placeholder {0}: impact.unschedulablemsgid "{0, plural, =0 {Its process needs a qualified operator, so its operations can't be scheduled until someone is added.} one {Its process needs a qualified operator: # operation can't be scheduled until someone is added.} other {Its process needs a qualified operator: # operations can't be scheduled until someone is added.}}"msgstr "{0, plural, =0 {Il suo processo richiede un operatore qualificato, quindi le sue operazioni non possono essere programmate fino a quando qualcuno non viene aggiunto.} one {Il suo processo richiede un operatore qualificato: # operazione non può essere programmata fino a quando qualcuno non viene aggiunto.} other {Il suo processo richiede un operatore qualificato: # operazioni non possono essere programmate fino a quando qualcuno non viene aggiunto.}}"@@ -172,10 +174,6 @@ msgstr "{0, plural, one {per # cespite} other {per # cespiti}}"msgid "{0, plural, one {Marked absent for # day} other {Marked absent for # days}}"msgstr "{0, plural, one {Contrassegnato assente per # giorno} other {Contrassegnato assente per # giorni}}"-#. placeholder {0}: counts.updated ?? 0-msgid "{0, plural, one {Overtime set for # assignment} other {Overtime set for # assignments}}"-msgstr "{0, plural, one {Straordinario impostato per # assegnazione} other {Straordinario impostato per # assegnazioni}}"-#. placeholder {0}: check.countmsgid "{0, plural, one {Post or delete the # document dated before the cutover.} other {Post or delete the # documents dated before the cutover.}}"msgstr "{0, plural, one {Registra o elimina il # documento datato prima della transizione contabile.} other {Registra o elimina i # documenti datati prima della transizione contabile.}}"@@ -232,10 +230,6 @@ msgstr "{0} immobilizzazioni da ammortizzare · {amount}"msgid "{0} BOM lines unmatched: {names}"msgstr ""-#. placeholder {0}: members.length-msgid "{0} can't be scheduled: {names}"-msgstr "{0} non può essere programmato: {names}"-#. placeholder {0}: unitOfMeasure.namemsgid "{0} cannot be deleted because it is still in use by {where}. Change those records to a different unit of measure first."msgstr "{0} non può essere eliminato perché è ancora in uso da {where}. Modifica prima quei record impostando un'altra unità di misura."@@ -546,6 +540,12 @@ msgstr "{asset}: il pagamento scaduto {dueDate} è Saltato (pagato al di fuori dmsgid "{assetCount} Assets"msgstr "{assetCount} Cespiti"+msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}"+msgstr ""++msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}; {skipped, plural, one {# day already booked or off was kept} other {# days already booked or off were kept}}"+msgstr ""+msgid "{behindDays, plural, one {Behind target by # day} other {Behind target by # days}}"msgstr "{behindDays, plural, one {Ritardato rispetto al target di # giorno} other {Ritardato rispetto al target di # giorni}}"@@ -561,6 +561,9 @@ msgstr "{componentCount, plural, one {# componente} other {# componenti}}"msgid "{count, plural, one {# asset} other {# assets}}"msgstr "{count, plural, one {# cespite} other {# cespiti}}"+msgid "{count, plural, one {# can't be scheduled: {names}} other {# can't be scheduled: {names}}}"+msgstr ""+msgid "{count, plural, one {# course} other {# courses}}"msgstr "{count, plural, one {# corso} other {# corsi}}"@@ -582,6 +585,12 @@ msgstr "{count, plural, one {Sciogli # lotto di produzione} other {Sciogli # lotmsgid "{count, plural, one {Dissolved # batch} other {Dissolved # batches}}"msgstr "{count, plural, one {Sciolto # lotto di produzione} other {Sciolti # lotti di produzione}}"+msgid "{count, plural, one {Overtime set for # person} other {Overtime set for # people}}"+msgstr ""++msgid "{count, plural, one {Overtime set on # person-day} other {Overtime set on # person-days}}"+msgstr ""+msgid "{count, plural, one {Release # batch} other {Release # batches}}"msgstr "{count, plural, one {Rilascia # lotto di produzione} other {Rilascia # lotti di produzione}}"@@ -615,8 +624,11 @@ msgstr "{daysBehindTarget, plural, one {Ritardato rispetto al target di # giornomsgid "{delegatedTo} posts this to your ledger, so Carbon doesn't push it. Your saved choice is kept in case that changes."msgstr "${delegatedTo} pubblica questo nel tuo libro mastro, quindi Carbon non lo invia. La tua scelta salvata viene mantenuta nel caso in cui ciò cambi."-msgid "{departmentLabel} has no work centers at {locationName}. Pick another department or location."-msgstr "{departmentLabel} non ha centri di lavoro presso {locationName}. Scegli un altro reparto o un'altra ubicazione."+msgid "{departmentName} has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "{departmentName} has no work centers at this location. Pick another department or location."+msgstr ""msgid "{discount} off"msgstr "{discount} di sconto"@@ -3822,12 +3834,6 @@ msgstr "Assegnato"msgid "Assigned {changed} planning actions"msgstr ""-msgid "Assigned {employeeName} to {targetName} for the week"-msgstr "Assegnato {employeeName} a {targetName} per la settimana"--msgid "Assigned {employeeName} to {targetName} for the week; days already assigned in other departments were kept"-msgstr "Assegnato {employeeName} a {targetName} per la settimana; i giorni già assegnati ad altri reparti sono stati conservati"-msgid "Assigned 1 planning action"msgstr ""@@ -14799,8 +14805,8 @@ msgstr "Nessuna operazione di sincronizzazione {0}"msgid "No {0} yet"msgstr "Nessun {0} ancora"-msgid "No {departmentLabel} work is scheduled at this location."-msgstr "Nessun lavoro di {departmentLabel} è programmato presso questa ubicazione."+msgid "No {departmentName} work is scheduled at this location."+msgstr ""msgid "No {title} yet"msgstr "Nessun {title} ancora"@@ -15559,8 +15565,14 @@ msgstr "Nessun centro di lavoro in questa ubicazione"msgid "No work centers exist"msgstr "Non esistono centri di lavoro"-msgid "No work centers in {departmentLabel}"-msgstr "Nessun centro di lavoro in {departmentLabel}"+msgid "No work centers in {departmentName}"+msgstr ""++msgid "No work centers in this department"+msgstr ""++msgid "No work for this department is scheduled at this location."+msgstr ""#. placeholder {0}: ability.namemsgid "Nobody is qualified for {0}"@@ -15707,6 +15719,9 @@ msgstr "Note (opzionale)"msgid "Nothing"msgstr "Niente"+msgid "Nothing assigned: every working day this week is already booked or off"+msgstr ""+#. placeholder {0}: search.trim()msgid "Nothing at this location matches \"{0}\"."msgstr "Nulla in questa posizione corrisponde a \"{0}\"."@@ -23630,12 +23645,15 @@ msgstr "I periodi mensili in cui registri e chiudi"msgid "The most likely failure mode the requester suspects; the technician confirms or replaces this on close-out, and the difference between suspected and actual feeds reliability reports."msgstr "La modalità di guasto più probabile che il richiedente sospetta; il tecnico conferma o sostituisce questo alla chiusura, e la differenza tra sospetto e effettivo alimenta i report di affidabilità."-msgid "The most recent {departmentLabel} work at this location was {nextWorkDate}."-msgstr "Il lavoro più recente di {departmentLabel} presso questa ubicazione era {nextWorkDate}."+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."+msgstr ""msgid "The most recent scheduled work at this location was {nextWorkDate}."msgstr "Il lavoro programmato più recente presso questa ubicazione era {nextWorkDate}."+msgid "The most recent work for this department at this location was {nextWorkDate}."+msgstr ""+msgid "The negotiated price per unit on this line; the inline trace icon shows which pricing rule or override produced it."msgstr "Il prezzo negoziato per unità su questa riga; l'icona di traccia in linea mostra quale regola di prezzo o forzatura l'ha prodotto."@@ -23651,12 +23669,15 @@ msgstr "Il nuovo numero di versione del metodo"msgid "The new version number of the procedure"msgstr "Il nuovo numero di versione della procedura"-msgid "The next {departmentLabel} work at this location starts {nextWorkDate}."-msgstr "Il lavoro successivo di {departmentLabel} presso questa ubicazione inizia {nextWorkDate}."+msgid "The next {departmentName} work at this location starts {nextWorkDate}."+msgstr ""msgid "The next scheduled work at this location starts {nextWorkDate}."msgstr "Il lavoro programmato successivo presso questa ubicazione inizia {nextWorkDate}."+msgid "The next work for this department at this location starts {nextWorkDate}."+msgstr ""+msgid "The night shift suits you, {name}."msgstr "Il turno di notte ti si addice, {name}."@@ -24310,8 +24331,11 @@ msgstr "La tariffa di questo tipo di cliente"msgid "This customer's rate"msgstr "La tariffa di questo cliente"-msgid "this department"-msgstr "questo reparto"+msgid "This department has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "This department has no work centers at this location. Pick another department or location."+msgstr ""msgid "This download link is invalid or has been tampered with."msgstr "Questo link di scaricamento non è valido o è stato manomesso."@@ -27014,6 +27038,9 @@ msgstr "Esecuzione del flusso di lavoro"msgid "Workflows"msgstr "Flussi di lavoro"+msgid "working at {elsewhereStationNames}"+msgstr ""+msgid "Working sessions on configuration and data"msgstr "Sessioni di lavoro su configurazione e dati"diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.poindex 3b58ca2bf3..b446e49b65 100644--- a/packages/locale/locales/ja/erp.po+++ b/packages/locale/locales/ja/erp.po@@ -22,9 +22,8 @@ msgstr "— 最終確認: {0}"msgid "— not on the manning board"msgstr "— 人員配置表に登録されていません"-#. placeholder {0}: person.stations.join(", ")-msgid "— on the manning board at {0}"-msgstr "— 人員配置表に {0} で登録されています"+msgid "— on the manning board at {stations}"+msgstr ""msgid ", {residual}% residual"msgstr ", {residual}% 残存価額"@@ -67,6 +66,9 @@ msgstr "(複数のCarbonアカウントにマップされています)"msgid "(not an Equity posting account)"msgstr "(純資産転記勘定科目ではありません)"+msgid "(outside this department)"+msgstr ""+#. placeholder {0}: impact.unschedulablemsgid "{0, plural, =0 {Its process needs a qualified operator, so its operations can't be scheduled until someone is added.} one {Its process needs a qualified operator: # operation can't be scheduled until someone is added.} other {Its process needs a qualified operator: # operations can't be scheduled until someone is added.}}"msgstr "{0, plural, =0 {このプロセスには適格な作業者が必要であるため、誰かが追加されるまで工程をスケジュールすることはできません。} one {このプロセスには適格な作業者が必要です:# 工程は誰かが追加されるまでスケジュールできません。} other {このプロセスには適格な作業者が必要です:# 工程は誰かが追加されるまでスケジュールできません。}}"@@ -172,10 +174,6 @@ msgstr "{0, plural, one {# 個の資産について} other {# 個の資産につmsgid "{0, plural, one {Marked absent for # day} other {Marked absent for # days}}"msgstr "{0, plural, one {# 日間不在に設定} other {# 日間不在に設定}}"-#. placeholder {0}: counts.updated ?? 0-msgid "{0, plural, one {Overtime set for # assignment} other {Overtime set for # assignments}}"-msgstr "{0, plural, one {# 件の割当に超勤を設定} other {# 件の割当に超勤を設定}}"-#. placeholder {0}: check.countmsgid "{0, plural, one {Post or delete the # document dated before the cutover.} other {Post or delete the # documents dated before the cutover.}}"msgstr "{0, plural, one {会計開始日前に日付した # ドキュメントを転記または削除してください。} other {会計開始日前に日付した # ドキュメントを転記または削除してください。}}"@@ -232,10 +230,6 @@ msgstr "{0}件の減価償却対象資産 · {amount}"msgid "{0} BOM lines unmatched: {names}"msgstr ""-#. placeholder {0}: members.length-msgid "{0} can't be scheduled: {names}"-msgstr "{0} はスケジュールできません:{names}"-#. placeholder {0}: unitOfMeasure.namemsgid "{0} cannot be deleted because it is still in use by {where}. Change those records to a different unit of measure first."msgstr "{0}は{where}でまだ使用されているため削除できません。先にそれらのレコードを別の単位に変更してください。"@@ -546,6 +540,12 @@ msgstr "{asset}: {dueDate}に支払期限のある支払はスキップ済(Carmsgid "{assetCount} Assets"msgstr "{assetCount} 固定資産"+msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}"+msgstr ""++msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}; {skipped, plural, one {# day already booked or off was kept} other {# days already booked or off were kept}}"+msgstr ""+msgid "{behindDays, plural, one {Behind target by # day} other {Behind target by # days}}"msgstr "{behindDays, plural, one {目標より # 日遅れ} other {目標より # 日遅れ}}"@@ -561,6 +561,9 @@ msgstr "{componentCount, plural, one {# コンポーネント} other {# コンmsgid "{count, plural, one {# asset} other {# assets}}"msgstr "{count, plural, one {# 個の資産} other {# 個の資産}}"+msgid "{count, plural, one {# can't be scheduled: {names}} other {# can't be scheduled: {names}}}"+msgstr ""+msgid "{count, plural, one {# course} other {# courses}}"msgstr "{count, plural, one {# コース} other {# コース}}"@@ -582,6 +585,12 @@ msgstr "{count, plural, one {# バッチを解散} other {# バッチを解散}}msgid "{count, plural, one {Dissolved # batch} other {Dissolved # batches}}"msgstr "{count, plural, one {# バッチが解散} other {# バッチが解散}}"+msgid "{count, plural, one {Overtime set for # person} other {Overtime set for # people}}"+msgstr ""++msgid "{count, plural, one {Overtime set on # person-day} other {Overtime set on # person-days}}"+msgstr ""+msgid "{count, plural, one {Release # batch} other {Release # batches}}"msgstr "{count, plural, one {# バッチをリリース} other {# バッチをリリース}}"@@ -615,8 +624,11 @@ msgstr "{daysBehindTarget, plural, one {目標より # 日遅れ} other {目標msgid "{delegatedTo} posts this to your ledger, so Carbon doesn't push it. Your saved choice is kept in case that changes."msgstr "{delegatedTo}がこれをあなたの台帳に転記するため、Carbonはそれをプッシュしません。変更があった場合に備えて、保存された選択肢は保持されます。"-msgid "{departmentLabel} has no work centers at {locationName}. Pick another department or location."-msgstr "{departmentLabel} には {locationName} に作業区がありません。別の部門または拠点を選択してください。"+msgid "{departmentName} has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "{departmentName} has no work centers at this location. Pick another department or location."+msgstr ""msgid "{discount} off"msgstr "{discount} 割引"@@ -3822,12 +3834,6 @@ msgstr "割り当て済み"msgid "Assigned {changed} planning actions"msgstr ""-msgid "Assigned {employeeName} to {targetName} for the week"-msgstr "{employeeName}を1週間の{targetName}に配置しました"--msgid "Assigned {employeeName} to {targetName} for the week; days already assigned in other departments were kept"-msgstr "{employeeName} を {targetName} に今週の間割当しました。他の部門に既に割当てられている日は保持されました"-msgid "Assigned 1 planning action"msgstr ""@@ -14799,8 +14805,8 @@ msgstr "{0}の同期操作はありません。"msgid "No {0} yet"msgstr "まだ{0}がありません"-msgid "No {departmentLabel} work is scheduled at this location."-msgstr "この拠点で {departmentLabel} の仕事がスケジュールされていません。"+msgid "No {departmentName} work is scheduled at this location."+msgstr ""msgid "No {title} yet"msgstr "{title}はまだありません"@@ -15559,8 +15565,14 @@ msgstr "この拠点には作業区がありません"msgid "No work centers exist"msgstr "作業区がありません"-msgid "No work centers in {departmentLabel}"-msgstr "{departmentLabel} に作業区がありません"+msgid "No work centers in {departmentName}"+msgstr ""++msgid "No work centers in this department"+msgstr ""++msgid "No work for this department is scheduled at this location."+msgstr ""#. placeholder {0}: ability.namemsgid "Nobody is qualified for {0}"@@ -15707,6 +15719,9 @@ msgstr "メモ(オプション)"msgid "Nothing"msgstr "なし"+msgid "Nothing assigned: every working day this week is already booked or off"+msgstr ""+#. placeholder {0}: search.trim()msgid "Nothing at this location matches \"{0}\"."msgstr "この場所には\"{0}\"に一致するものはありません。"@@ -23630,12 +23645,15 @@ msgstr "転記およびクローズする月次期間"msgid "The most likely failure mode the requester suspects; the technician confirms or replaces this on close-out, and the difference between suspected and actual feeds reliability reports."msgstr "リクエスターが疑う最も可能性の高い故障モード。技術者はクローズ時にこれを確認または置き換え、疑われたものと実際のものの違いが信頼性レポートに表示されます。"-msgid "The most recent {departmentLabel} work at this location was {nextWorkDate}."-msgstr "この拠点における最新の {departmentLabel} 仕事は {nextWorkDate} でした。"+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."+msgstr ""msgid "The most recent scheduled work at this location was {nextWorkDate}."msgstr "この拠点における最新のスケジュール済みの仕事は {nextWorkDate} でした。"+msgid "The most recent work for this department at this location was {nextWorkDate}."+msgstr ""+msgid "The negotiated price per unit on this line; the inline trace icon shows which pricing rule or override produced it."msgstr "この明細の協議済み単価。この明細に表示されるトレースアイコンは、どの価格設定ルールまたは上書きが生成したかを示します。"@@ -23651,12 +23669,15 @@ msgstr "メソッドの新しいバージョン番号"msgid "The new version number of the procedure"msgstr "手順書の新しいバージョン番号"-msgid "The next {departmentLabel} work at this location starts {nextWorkDate}."-msgstr "この拠点における次の {departmentLabel} 仕事は {nextWorkDate} に開始します。"+msgid "The next {departmentName} work at this location starts {nextWorkDate}."+msgstr ""msgid "The next scheduled work at this location starts {nextWorkDate}."msgstr "この拠点における次のスケジュール済みの仕事は {nextWorkDate} に開始します。"+msgid "The next work for this department at this location starts {nextWorkDate}."+msgstr ""+msgid "The night shift suits you, {name}."msgstr "夜間シフトはあなたに合っています、{name}。"@@ -24310,8 +24331,11 @@ msgstr "この得意先タイプのレート"msgid "This customer's rate"msgstr "この得意先のレート"-msgid "this department"-msgstr "この部門"+msgid "This department has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "This department has no work centers at this location. Pick another department or location."+msgstr ""msgid "This download link is invalid or has been tampered with."msgstr "このダウンロードリンクは無効であるか、改ざんされています。"@@ -27014,6 +27038,9 @@ msgstr "ワークフロー実行"msgid "Workflows"msgstr "ワークフロー"+msgid "working at {elsewhereStationNames}"+msgstr ""+msgid "Working sessions on configuration and data"msgstr "設定とデータに関するワーキングセッション"diff --git a/packages/locale/locales/ko/erp.po b/packages/locale/locales/ko/erp.poindex af4877be94..bc734b19da 100644--- a/packages/locale/locales/ko/erp.po+++ b/packages/locale/locales/ko/erp.po@@ -22,9 +22,8 @@ msgstr "— 마지막 확인 {0}"msgid "— not on the manning board"msgstr "— 배원표에 없음"-#. placeholder {0}: person.stations.join(", ")-msgid "— on the manning board at {0}"-msgstr "— {0}에서 배원표에 있음"+msgid "— on the manning board at {stations}"+msgstr ""msgid ", {residual}% residual"msgstr ", {residual}% 잔존"@@ -67,6 +66,9 @@ msgstr "(하나 이상의 Carbon 계정에 매핑됨)"msgid "(not an Equity posting account)"msgstr "(자본 전기 계정이 아님)"+msgid "(outside this department)"+msgstr ""+#. placeholder {0}: impact.unschedulablemsgid "{0, plural, =0 {Its process needs a qualified operator, so its operations can't be scheduled until someone is added.} one {Its process needs a qualified operator: # operation can't be scheduled until someone is added.} other {Its process needs a qualified operator: # operations can't be scheduled until someone is added.}}"msgstr "{0, plural, =0 {해당 공법에는 숙련된 작업자가 필요하므로, 누군가가 추가될 때까지 공정을 예약할 수 없습니다.} one {해당 공법에는 숙련된 작업자가 필요합니다: # 개의 공정은 누군가가 추가될 때까지 예약할 수 없습니다.} other {해당 공법에는 숙련된 작업자가 필요합니다: # 개의 공정은 누군가가 추가될 때까지 예약할 수 없습니다.}}"@@ -172,10 +174,6 @@ msgstr "{0, plural, one {# 자산} other {# 자산}}"msgid "{0, plural, one {Marked absent for # day} other {Marked absent for # days}}"msgstr "{0, plural, one {# 일 동안 결근 표시됨} other {# 일 동안 결근 표시됨}}"-#. placeholder {0}: counts.updated ?? 0-msgid "{0, plural, one {Overtime set for # assignment} other {Overtime set for # assignments}}"-msgstr "{0, plural, one {# 개의 할당에 대해 초과근무 설정됨} other {# 개의 할당에 대해 초과근무 설정됨}}"-#. placeholder {0}: check.countmsgid "{0, plural, one {Post or delete the # document dated before the cutover.} other {Post or delete the # documents dated before the cutover.}}"msgstr "{0, plural, one {회계 전환 전에 작성된 # 문서를 전기하거나 삭제하세요.} other {회계 전환 전에 작성된 # 문서를 전기하거나 삭제하세요.}}"@@ -232,10 +230,6 @@ msgstr "{0}개의 감가상각 자산 · {amount}"msgid "{0} BOM lines unmatched: {names}"msgstr ""-#. placeholder {0}: members.length-msgid "{0} can't be scheduled: {names}"-msgstr "{0}를 예약할 수 없습니다: {names}"-#. placeholder {0}: unitOfMeasure.namemsgid "{0} cannot be deleted because it is still in use by {where}. Change those records to a different unit of measure first."msgstr "{0}은(는) {where}에서 아직 사용 중이므로 삭제할 수 없습니다. 먼저 해당 레코드를 다른 단위로 변경하세요."@@ -546,6 +540,12 @@ msgstr "{asset}: {dueDate}에 납부 기한이 있는 지불이 건너뜀 상태msgid "{assetCount} Assets"msgstr "{assetCount} 자산"+msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}"+msgstr ""++msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}; {skipped, plural, one {# day already booked or off was kept} other {# days already booked or off were kept}}"+msgstr ""+msgid "{behindDays, plural, one {Behind target by # day} other {Behind target by # days}}"msgstr "{behindDays, plural, one {목표보다 # 일 뒤짐} other {목표보다 # 일 뒤짐}}"@@ -561,6 +561,9 @@ msgstr "{componentCount, plural, one {# 구성품} other {# 구성품}}"msgid "{count, plural, one {# asset} other {# assets}}"msgstr "{count, plural, one {# 자산} other {# 자산}}"+msgid "{count, plural, one {# can't be scheduled: {names}} other {# can't be scheduled: {names}}}"+msgstr ""+msgid "{count, plural, one {# course} other {# courses}}"msgstr "교육과정 {count}개"@@ -582,6 +585,12 @@ msgstr "{count, plural, one {배치 # 해제} other {배치 # 해제}}"msgid "{count, plural, one {Dissolved # batch} other {Dissolved # batches}}"msgstr "{count, plural, one {배치 # 해제됨} other {배치 # 해제됨}}"+msgid "{count, plural, one {Overtime set for # person} other {Overtime set for # people}}"+msgstr ""++msgid "{count, plural, one {Overtime set on # person-day} other {Overtime set on # person-days}}"+msgstr ""+msgid "{count, plural, one {Release # batch} other {Release # batches}}"msgstr "{count, plural, one {배치 # 릴리스} other {배치 # 릴리스}}"@@ -615,8 +624,11 @@ msgstr "{daysBehindTarget, plural, one {목표보다 # 일 뒤짐} other {목표msgid "{delegatedTo} posts this to your ledger, so Carbon doesn't push it. Your saved choice is kept in case that changes."msgstr "{delegatedTo}가(이) 이를 귀사의 원장에 게시하므로 Carbon은 이를 푸시하지 않습니다. 변경되는 경우에 대비하여 저장된 선택 사항이 유지됩니다."-msgid "{departmentLabel} has no work centers at {locationName}. Pick another department or location."-msgstr "{departmentLabel}의 {locationName}에 작업장이 없습니다. 다른 부서 또는 사업장을 선택하세요."+msgid "{departmentName} has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "{departmentName} has no work centers at this location. Pick another department or location."+msgstr ""msgid "{discount} off"msgstr "{discount} 할인"@@ -3822,12 +3834,6 @@ msgstr "배정됨"msgid "Assigned {changed} planning actions"msgstr ""-msgid "Assigned {employeeName} to {targetName} for the week"-msgstr "{employeeName}을(를) 주간으로 {targetName}에 배정"--msgid "Assigned {employeeName} to {targetName} for the week; days already assigned in other departments were kept"-msgstr "{employeeName}을(를) 이번 주 {targetName}에 할당했습니다. 다른 부서에 이미 할당된 날은 유지되었습니다"-msgid "Assigned 1 planning action"msgstr ""@@ -14799,8 +14805,8 @@ msgstr "{0} 동기화 작업 없음"msgid "No {0} yet"msgstr "아직 {0}이(가) 없습니다"-msgid "No {departmentLabel} work is scheduled at this location."-msgstr "이 사업장에서 {departmentLabel} 작업이 예약되어 있지 않습니다."+msgid "No {departmentName} work is scheduled at this location."+msgstr ""msgid "No {title} yet"msgstr "아직 {title} 없음"@@ -15559,8 +15565,14 @@ msgstr "이 사업장에 작업장이 없습니다"msgid "No work centers exist"msgstr "존재하는 작업장이 없습니다"-msgid "No work centers in {departmentLabel}"-msgstr "{departmentLabel}의 작업장이 없습니다"+msgid "No work centers in {departmentName}"+msgstr ""++msgid "No work centers in this department"+msgstr ""++msgid "No work for this department is scheduled at this location."+msgstr ""#. placeholder {0}: ability.namemsgid "Nobody is qualified for {0}"@@ -15707,6 +15719,9 @@ msgstr "메모(선택)"msgid "Nothing"msgstr "없음"+msgid "Nothing assigned: every working day this week is already booked or off"+msgstr ""+#. placeholder {0}: search.trim()msgid "Nothing at this location matches \"{0}\"."msgstr "이 위치에서 \"{0}\"와 일치하는 항목이 없습니다."@@ -23630,12 +23645,15 @@ msgstr "게시하고 종료하는 월별 기간"msgid "The most likely failure mode the requester suspects; the technician confirms or replaces this on close-out, and the difference between suspected and actual feeds reliability reports."msgstr "요청자가 의심하는 가장 유력한 고장 모드입니다. 기술자는 마감 시 이를 확인하거나 다른 것으로 교체하며, 예상과 실제의 차이는 신뢰성 보고서에 반영됩니다."-msgid "The most recent {departmentLabel} work at this location was {nextWorkDate}."-msgstr "이 사업장의 가장 최근 {departmentLabel} 작업은 {nextWorkDate}였습니다."+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."+msgstr ""msgid "The most recent scheduled work at this location was {nextWorkDate}."msgstr "이 사업장의 가장 최근 예약된 작업은 {nextWorkDate}였습니다."+msgid "The most recent work for this department at this location was {nextWorkDate}."+msgstr ""+msgid "The negotiated price per unit on this line; the inline trace icon shows which pricing rule or override produced it."msgstr "이 라인에서 협상된 단가입니다. 인라인 추적 아이콘을 통해 어떤 가격 규칙 또는 재정의로 이 값이 산출되었는지 확인할 수 있습니다."@@ -23651,12 +23669,15 @@ msgstr "방법의 새 버전 번호"msgid "The new version number of the procedure"msgstr "절차서의 새로운 버전 번호"-msgid "The next {departmentLabel} work at this location starts {nextWorkDate}."-msgstr "이 사업장의 다음 {departmentLabel} 작업은 {nextWorkDate}에 시작됩니다."+msgid "The next {departmentName} work at this location starts {nextWorkDate}."+msgstr ""msgid "The next scheduled work at this location starts {nextWorkDate}."msgstr "이 사업장의 다음 예약된 작업은 {nextWorkDate}에 시작됩니다."+msgid "The next work for this department at this location starts {nextWorkDate}."+msgstr ""+msgid "The night shift suits you, {name}."msgstr "야간 교대조가 당신에게 맞습니다, {name}."@@ -24310,8 +24331,11 @@ msgstr "이 고객 유형의 요금"msgid "This customer's rate"msgstr "이 고객의 요금"-msgid "this department"-msgstr "이 부서"+msgid "This department has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "This department has no work centers at this location. Pick another department or location."+msgstr ""msgid "This download link is invalid or has been tampered with."msgstr "이 다운로드 링크가 유효하지 않거나 변조되었습니다."@@ -27014,6 +27038,9 @@ msgstr "워크플로우 실행"msgid "Workflows"msgstr "워크플로우"+msgid "working at {elsewhereStationNames}"+msgstr ""+msgid "Working sessions on configuration and data"msgstr "설정 및 데이터에 대한 작업 세션"diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.poindex f98a8d7ec7..b7942a346c 100644--- a/packages/locale/locales/pl/erp.po+++ b/packages/locale/locales/pl/erp.po@@ -22,9 +22,8 @@ msgstr "— ostatnia weryfikacja {0}"msgid "— not on the manning board"msgstr "— nie na harmonogramie obsady"-#. placeholder {0}: person.stations.join(", ")-msgid "— on the manning board at {0}"-msgstr "— na harmonogramie obsady na {0}"+msgid "— on the manning board at {stations}"+msgstr ""msgid ", {residual}% residual"msgstr ", {residual}% pozostałe"@@ -67,6 +66,9 @@ msgstr "(zmapowane na więcej niż jedno konto Carbon)"msgid "(not an Equity posting account)"msgstr "(nie jest kontem Kapitału własnego do księgowania)"+msgid "(outside this department)"+msgstr ""+#. placeholder {0}: impact.unschedulablemsgid "{0, plural, =0 {Its process needs a qualified operator, so its operations can't be scheduled until someone is added.} one {Its process needs a qualified operator: # operation can't be scheduled until someone is added.} other {Its process needs a qualified operator: # operations can't be scheduled until someone is added.}}"msgstr "{0, plural, =0 {Ten proces wymaga wykwalifikowanego operatora, więc jego operacje nie mogą być zaplanowane, dopóki ktoś nie zostanie dodany.} one {Ten proces wymaga wykwalifikowanego operatora: # operacja nie może być zaplanowana, dopóki ktoś nie zostanie dodany.} other {Ten proces wymaga wykwalifikowanego operatora: # operacje nie mogą być zaplanowane, dopóki ktoś nie zostanie dodany.}}"@@ -172,10 +174,6 @@ msgstr "{0, plural, one {dla # zasobu} other {dla # zasobów}}"msgid "{0, plural, one {Marked absent for # day} other {Marked absent for # days}}"msgstr "{0, plural, one {Zaznaczono jako nieobecny na # dzień} other {Zaznaczono jako nieobecny na # dni}}"-#. placeholder {0}: counts.updated ?? 0-msgid "{0, plural, one {Overtime set for # assignment} other {Overtime set for # assignments}}"-msgstr "{0, plural, one {Ustawiono godziny nadliczbowe dla # przypisania} other {Ustawiono godziny nadliczbowe dla # przypisań}}"-#. placeholder {0}: check.countmsgid "{0, plural, one {Post or delete the # document dated before the cutover.} other {Post or delete the # documents dated before the cutover.}}"msgstr "{0, plural, one {Zaksięguj lub usuń # dokument datowany przed zmianą.} other {Zaksięguj lub usuń # dokumentów datowanych przed zmianą.}}"@@ -232,10 +230,6 @@ msgstr "{0} aktywów do amortyzacji · {amount}"msgid "{0} BOM lines unmatched: {names}"msgstr ""-#. placeholder {0}: members.length-msgid "{0} can't be scheduled: {names}"-msgstr "{0} nie można zaplanować: {names}"-#. placeholder {0}: unitOfMeasure.namemsgid "{0} cannot be deleted because it is still in use by {where}. Change those records to a different unit of measure first."msgstr "Nie można usunąć {0}, ponieważ jest nadal używana przez: {where}. Najpierw zmień te rekordy na inną jednostkę miary."@@ -546,6 +540,12 @@ msgstr "{asset}: płatność wymagalna w dniu {dueDate} jest pominięta (zapłacmsgid "{assetCount} Assets"msgstr "{assetCount} Aktywów"+msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}"+msgstr ""++msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}; {skipped, plural, one {# day already booked or off was kept} other {# days already booked or off were kept}}"+msgstr ""+msgid "{behindDays, plural, one {Behind target by # day} other {Behind target by # days}}"msgstr "{behindDays, plural, one {Opóźniony o # dzień} other {Opóźniony o # dni}}"@@ -561,6 +561,9 @@ msgstr "{componentCount, plural, one {# komponent} other {# komponenty}}"msgid "{count, plural, one {# asset} other {# assets}}"msgstr "{count, plural, one {# zasób} other {# zasoby}}"+msgid "{count, plural, one {# can't be scheduled: {names}} other {# can't be scheduled: {names}}}"+msgstr ""+msgid "{count, plural, one {# course} other {# courses}}"msgstr "{count, plural, one {# kurs} other {# kursy}}"@@ -582,6 +585,12 @@ msgstr "{count, plural, one {Rozpuść # partię produkcyjną} few {Rozpuść #msgid "{count, plural, one {Dissolved # batch} other {Dissolved # batches}}"msgstr "{count, plural, one {Rozpuszczono # partię produkcyjną} few {Rozpuszczono # partie produkcyjne} many {Rozpuszczono # partii produkcyjnych} other {Rozpuszczono # partii produkcyjnych}}"+msgid "{count, plural, one {Overtime set for # person} other {Overtime set for # people}}"+msgstr ""++msgid "{count, plural, one {Overtime set on # person-day} other {Overtime set on # person-days}}"+msgstr ""+msgid "{count, plural, one {Release # batch} other {Release # batches}}"msgstr "{count, plural, one {Zwolnij # partię produkcyjną} few {Zwolnij # partie produkcyjne} many {Zwolnij # partii produkcyjnych} other {Zwolnij # partii produkcyjnych}}"@@ -615,8 +624,11 @@ msgstr "{daysBehindTarget, plural, one {Opóźniony o # dzień} other {Opóźniomsgid "{delegatedTo} posts this to your ledger, so Carbon doesn't push it. Your saved choice is kept in case that changes."msgstr "${delegatedTo} wysyła to do Twojej księgi, więc Carbon tego nie wysyła. Twój zapisany wybór jest zachowywany na wypadek zmian."-msgid "{departmentLabel} has no work centers at {locationName}. Pick another department or location."-msgstr "{departmentLabel} nie ma stanowisk roboczych na {locationName}. Wybierz inny dział lub lokalizację."+msgid "{departmentName} has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "{departmentName} has no work centers at this location. Pick another department or location."+msgstr ""msgid "{discount} off"msgstr "{discount} rabatu"@@ -3822,12 +3834,6 @@ msgstr "Przydzielone"msgid "Assigned {changed} planning actions"msgstr ""-msgid "Assigned {employeeName} to {targetName} for the week"-msgstr "Przydzielono {employeeName} do {targetName} na tydzień"--msgid "Assigned {employeeName} to {targetName} for the week; days already assigned in other departments were kept"-msgstr "Przypisano {employeeName} do {targetName} na tydzień; dni już przypisane w innych działach zostały zachowane"-msgid "Assigned 1 planning action"msgstr ""@@ -14799,8 +14805,8 @@ msgstr "Brak operacji synchronizacji {0}"msgid "No {0} yet"msgstr "Jeszcze brak {0}"-msgid "No {departmentLabel} work is scheduled at this location."-msgstr "Na tej lokalizacji nie są zaplanowane żadne prace z {departmentLabel}."+msgid "No {departmentName} work is scheduled at this location."+msgstr ""msgid "No {title} yet"msgstr "Brak {title} na razie"@@ -15559,8 +15565,14 @@ msgstr "Brak stanowisk roboczych w tej lokalizacji"msgid "No work centers exist"msgstr "Nie istnieją stanowiska robocze"-msgid "No work centers in {departmentLabel}"-msgstr "Brak stanowisk roboczych w {departmentLabel}"+msgid "No work centers in {departmentName}"+msgstr ""++msgid "No work centers in this department"+msgstr ""++msgid "No work for this department is scheduled at this location."+msgstr ""#. placeholder {0}: ability.namemsgid "Nobody is qualified for {0}"@@ -15707,6 +15719,9 @@ msgstr "Notatki (opcjonalnie)"msgid "Nothing"msgstr "Nic"+msgid "Nothing assigned: every working day this week is already booked or off"+msgstr ""+#. placeholder {0}: search.trim()msgid "Nothing at this location matches \"{0}\"."msgstr "Nic w tej lokalizacji nie pasuje do \"{0}\"."@@ -23630,12 +23645,15 @@ msgstr "Miesięczne okresy, w których dokonujesz wpisów i które zamykasz"msgid "The most likely failure mode the requester suspects; the technician confirms or replaces this on close-out, and the difference between suspected and actual feeds reliability reports."msgstr "Najewidentnie tryb awarii, który podejrzewa żądający; technik potwierdza lub zastępuje to przy zamknięciu, a różnica między podejrzanym a rzeczywistym zaopatruje raporty niezawodności."-msgid "The most recent {departmentLabel} work at this location was {nextWorkDate}."-msgstr "Najnowszą pracę z {departmentLabel} na tej lokalizacji była {nextWorkDate}."+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."+msgstr ""msgid "The most recent scheduled work at this location was {nextWorkDate}."msgstr "Najnowszą zaplanowaną pracę na tej lokalizacji była {nextWorkDate}."+msgid "The most recent work for this department at this location was {nextWorkDate}."+msgstr ""+msgid "The negotiated price per unit on this line; the inline trace icon shows which pricing rule or override produced it."msgstr "Wynegocjowana cena za sztukę na tej pozycji; ikona śledzenia wbudowana pokazuje, która reguła cenowa lub nadpisanie ją wygenerowało."@@ -23651,12 +23669,15 @@ msgstr "Nowy numer wersji metody"msgid "The new version number of the procedure"msgstr "Nowy numer wersji procedury"-msgid "The next {departmentLabel} work at this location starts {nextWorkDate}."-msgstr "Następna praca z {departmentLabel} na tej lokalizacji rozpoczyna się {nextWorkDate}."+msgid "The next {departmentName} work at this location starts {nextWorkDate}."+msgstr ""msgid "The next scheduled work at this location starts {nextWorkDate}."msgstr "Następna zaplanowana praca na tej lokalizacji rozpoczyna się {nextWorkDate}."+msgid "The next work for this department at this location starts {nextWorkDate}."+msgstr ""+msgid "The night shift suits you, {name}."msgstr "Zmiana nocna pasuje do ciebie, {name}."@@ -24310,8 +24331,11 @@ msgstr "Stawka tego typu klienta"msgid "This customer's rate"msgstr "Stawka tego klienta"-msgid "this department"-msgstr "ten dział"+msgid "This department has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "This department has no work centers at this location. Pick another department or location."+msgstr ""msgid "This download link is invalid or has been tampered with."msgstr "Ten link pobierania jest nieprawidłowy lub został zmieniony."@@ -27014,6 +27038,9 @@ msgstr "Przebieg przepływu pracy"msgid "Workflows"msgstr "Przepływy pracy"+msgid "working at {elsewhereStationNames}"+msgstr ""+msgid "Working sessions on configuration and data"msgstr "Sesje robocze dotyczące konfiguracji i danych"diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.poindex 3f228eb688..87773b9c86 100644--- a/packages/locale/locales/pt/erp.po+++ b/packages/locale/locales/pt/erp.po@@ -22,9 +22,8 @@ msgstr "— última verificação {0}"msgid "— not on the manning board"msgstr "— não no quadro de pessoal"-#. placeholder {0}: person.stations.join(", ")-msgid "— on the manning board at {0}"-msgstr "— no quadro de pessoal em {0}"+msgid "— on the manning board at {stations}"+msgstr ""msgid ", {residual}% residual"msgstr ", {residual}% residual"@@ -67,6 +66,9 @@ msgstr "(mapeado para mais de uma conta Carbon)"msgid "(not an Equity posting account)"msgstr "(não é uma conta de contabilização de Patrimônio líquido)"+msgid "(outside this department)"+msgstr ""+#. placeholder {0}: impact.unschedulablemsgid "{0, plural, =0 {Its process needs a qualified operator, so its operations can't be scheduled until someone is added.} one {Its process needs a qualified operator: # operation can't be scheduled until someone is added.} other {Its process needs a qualified operator: # operations can't be scheduled until someone is added.}}"msgstr "{0, plural, =0 {Seu processo precisa de um operador qualificado, portanto suas operações não podem ser programadas até que alguém seja adicionado.} one {Seu processo precisa de um operador qualificado: # operação não pode ser programada até que alguém seja adicionado.} other {Seu processo precisa de um operador qualificado: # operações não podem ser programadas até que alguém seja adicionado.}}"@@ -172,10 +174,6 @@ msgstr "{0, plural, one {para # ativo} other {para # ativos}}"msgid "{0, plural, one {Marked absent for # day} other {Marked absent for # days}}"msgstr "{0, plural, one {Marcado ausente por # dia} other {Marcado ausente por # dias}}"-#. placeholder {0}: counts.updated ?? 0-msgid "{0, plural, one {Overtime set for # assignment} other {Overtime set for # assignments}}"-msgstr "{0, plural, one {Hora extra definida para # alocação} other {Horas extras definidas para # alocações}}"-#. placeholder {0}: check.countmsgid "{0, plural, one {Post or delete the # document dated before the cutover.} other {Post or delete the # documents dated before the cutover.}}"msgstr "{0, plural, one {Contabilizar ou excluir o # documento datado antes do corte.} other {Contabilizar ou excluir os # documentos datados antes do corte.}}"@@ -232,10 +230,6 @@ msgstr "{0} ativos para depreciar · {amount}"msgid "{0} BOM lines unmatched: {names}"msgstr ""-#. placeholder {0}: members.length-msgid "{0} can't be scheduled: {names}"-msgstr "{0} não pode ser programada: {names}"-#. placeholder {0}: unitOfMeasure.namemsgid "{0} cannot be deleted because it is still in use by {where}. Change those records to a different unit of measure first."msgstr "{0} não pode ser excluído porque ainda está em uso por {where}. Altere primeiro esses registros para outra unidade de medida."@@ -546,6 +540,12 @@ msgstr "{asset}: o pagamento vencido em {dueDate} é ignorado (pago fora do Carbmsgid "{assetCount} Assets"msgstr "{assetCount} Ativos"+msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}"+msgstr ""++msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}; {skipped, plural, one {# day already booked or off was kept} other {# days already booked or off were kept}}"+msgstr ""+msgid "{behindDays, plural, one {Behind target by # day} other {Behind target by # days}}"msgstr "{behindDays, plural, one {Atraso no alvo de # dia} other {Atraso no alvo de # dias}}"@@ -561,6 +561,9 @@ msgstr "{componentCount, plural, one {# componente} other {# componentes}}"msgid "{count, plural, one {# asset} other {# assets}}"msgstr "{count, plural, one {# ativo} other {# ativos}}"+msgid "{count, plural, one {# can't be scheduled: {names}} other {# can't be scheduled: {names}}}"+msgstr ""+msgid "{count, plural, one {# course} other {# courses}}"msgstr "{count, plural, one {# curso} other {# cursos}}"@@ -582,6 +585,12 @@ msgstr "{count, plural, one {Dissolver # lote de produção} other {Dissolver #msgid "{count, plural, one {Dissolved # batch} other {Dissolved # batches}}"msgstr "{count, plural, one {# lote de produção dissolvido} other {# lotes de produção dissolvidos}}"+msgid "{count, plural, one {Overtime set for # person} other {Overtime set for # people}}"+msgstr ""++msgid "{count, plural, one {Overtime set on # person-day} other {Overtime set on # person-days}}"+msgstr ""+msgid "{count, plural, one {Release # batch} other {Release # batches}}"msgstr "{count, plural, one {Liberar # lote de produção} other {Liberar # lotes de produção}}"@@ -615,8 +624,11 @@ msgstr "{daysBehindTarget, plural, one {Atraso no alvo de # dia} other {Atraso nmsgid "{delegatedTo} posts this to your ledger, so Carbon doesn't push it. Your saved choice is kept in case that changes."msgstr "${delegatedTo} publica isto no seu razão, portanto o Carbon não o envia. Sua escolha salva é mantida caso isso mude."-msgid "{departmentLabel} has no work centers at {locationName}. Pick another department or location."-msgstr "{departmentLabel} não possui centros de trabalho em {locationName}. Escolha outro departamento ou local."+msgid "{departmentName} has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "{departmentName} has no work centers at this location. Pick another department or location."+msgstr ""msgid "{discount} off"msgstr "{discount} de desconto"@@ -3822,12 +3834,6 @@ msgstr "Atribuído"msgid "Assigned {changed} planning actions"msgstr ""-msgid "Assigned {employeeName} to {targetName} for the week"-msgstr "Atribuído {employeeName} a {targetName} para a semana"--msgid "Assigned {employeeName} to {targetName} for the week; days already assigned in other departments were kept"-msgstr "{employeeName} foi atribuído a {targetName} para a semana; dias já atribuídos em outros departamentos foram mantidos"-msgid "Assigned 1 planning action"msgstr ""@@ -14799,8 +14805,8 @@ msgstr "Sem operações de sincronização {0}"msgid "No {0} yet"msgstr "Nenhum {0} ainda"-msgid "No {departmentLabel} work is scheduled at this location."-msgstr "Nenhum trabalho de {departmentLabel} está programado neste local."+msgid "No {departmentName} work is scheduled at this location."+msgstr ""msgid "No {title} yet"msgstr "Sem {title} ainda"@@ -15559,8 +15565,14 @@ msgstr "Sem centros de trabalho neste local"msgid "No work centers exist"msgstr "Nenhum centro de trabalho existe"-msgid "No work centers in {departmentLabel}"-msgstr "Nenhum centro de trabalho em {departmentLabel}"+msgid "No work centers in {departmentName}"+msgstr ""++msgid "No work centers in this department"+msgstr ""++msgid "No work for this department is scheduled at this location."+msgstr ""#. placeholder {0}: ability.namemsgid "Nobody is qualified for {0}"@@ -15707,6 +15719,9 @@ msgstr "Observações (opcional)"msgid "Nothing"msgstr "Nada"+msgid "Nothing assigned: every working day this week is already booked or off"+msgstr ""+#. placeholder {0}: search.trim()msgid "Nothing at this location matches \"{0}\"."msgstr "Nada neste local corresponde a \"{0}\"."@@ -23630,12 +23645,15 @@ msgstr "Os períodos mensais nos quais você lança e fecha"msgid "The most likely failure mode the requester suspects; the technician confirms or replaces this on close-out, and the difference between suspected and actual feeds reliability reports."msgstr "O modo de falha mais provável que o solicitante suspeita; o técnico confirma ou substitui ao fechar, e a diferença entre o suspeito e o real alimenta os relatórios de confiabilidade."-msgid "The most recent {departmentLabel} work at this location was {nextWorkDate}."-msgstr "O trabalho mais recente de {departmentLabel} neste local foi {nextWorkDate}."+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."+msgstr ""msgid "The most recent scheduled work at this location was {nextWorkDate}."msgstr "O trabalho programado mais recente neste local foi {nextWorkDate}."+msgid "The most recent work for this department at this location was {nextWorkDate}."+msgstr ""+msgid "The negotiated price per unit on this line; the inline trace icon shows which pricing rule or override produced it."msgstr "O preço negociado por unidade nesta linha; o ícone de rastreamento inline mostra qual regra de precificação ou sobrescrita a produziu."@@ -23651,12 +23669,15 @@ msgstr "O novo número de versão do método"msgid "The new version number of the procedure"msgstr "O novo número de versão do procedimento"-msgid "The next {departmentLabel} work at this location starts {nextWorkDate}."-msgstr "O próximo trabalho de {departmentLabel} neste local começa em {nextWorkDate}."+msgid "The next {departmentName} work at this location starts {nextWorkDate}."+msgstr ""msgid "The next scheduled work at this location starts {nextWorkDate}."msgstr "O próximo trabalho programado neste local começa em {nextWorkDate}."+msgid "The next work for this department at this location starts {nextWorkDate}."+msgstr ""+msgid "The night shift suits you, {name}."msgstr "O turno da noite combina com você, {name}."@@ -24310,8 +24331,11 @@ msgstr "A taxa deste tipo de cliente"msgid "This customer's rate"msgstr "A taxa deste cliente"-msgid "this department"-msgstr "este departamento"+msgid "This department has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "This department has no work centers at this location. Pick another department or location."+msgstr ""msgid "This download link is invalid or has been tampered with."msgstr "Este link de download é inválido ou foi adulterado."@@ -27014,6 +27038,9 @@ msgstr "Execução do fluxo de trabalho"msgid "Workflows"msgstr "Fluxos de trabalho"+msgid "working at {elsewhereStationNames}"+msgstr ""+msgid "Working sessions on configuration and data"msgstr "Sessões de trabalho sobre configuração e dados"diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.poindex 303e36db9b..a0918f4ca8 100644--- a/packages/locale/locales/ru/erp.po+++ b/packages/locale/locales/ru/erp.po@@ -22,9 +22,8 @@ msgstr "— последняя проверка {0}"msgid "— not on the manning board"msgstr "— не на таблице назначений"-#. placeholder {0}: person.stations.join(", ")-msgid "— on the manning board at {0}"-msgstr "— на таблице назначений в {0}"+msgid "— on the manning board at {stations}"+msgstr ""msgid ", {residual}% residual"msgstr ", {residual}% остаточная"@@ -67,6 +66,9 @@ msgstr "(сопоставлено с несколькими счетами Carbomsgid "(not an Equity posting account)"msgstr "(не счет проведения собственного капитала)"+msgid "(outside this department)"+msgstr ""+#. placeholder {0}: impact.unschedulablemsgid "{0, plural, =0 {Its process needs a qualified operator, so its operations can't be scheduled until someone is added.} one {Its process needs a qualified operator: # operation can't be scheduled until someone is added.} other {Its process needs a qualified operator: # operations can't be scheduled until someone is added.}}"msgstr "{0, plural, =0 {Его процесс требует квалифицированного оператора, поэтому его операции не могут быть запланированы до добавления нужного сотрудника.} one {Его процесс требует квалифицированного оператора: # операция не может быть запланирована до добавления нужного сотрудника.} other {Его процесс требует квалифицированного оператора: # операции не могут быть запланированы до добавления нужного сотрудника.}}"@@ -172,10 +174,6 @@ msgstr "{0, plural, one {для # актива} few {для # активов} mamsgid "{0, plural, one {Marked absent for # day} other {Marked absent for # days}}"msgstr "{0, plural, one {Отсутствие отмечено на # день} other {Отсутствие отмечено на # дней}}"-#. placeholder {0}: counts.updated ?? 0-msgid "{0, plural, one {Overtime set for # assignment} other {Overtime set for # assignments}}"-msgstr "{0, plural, one {Сверхурочные установлены для # назначения} other {Сверхурочные установлены для # назначений}}"-#. placeholder {0}: check.countmsgid "{0, plural, one {Post or delete the # document dated before the cutover.} other {Post or delete the # documents dated before the cutover.}}"msgstr "{0, plural, one {Провести или удалить # документ, датированный до даты перехода.} other {Провести или удалить # документы, датированные до даты перехода.}}"@@ -232,10 +230,6 @@ msgstr "{0} активов к амортизации · {amount}"msgid "{0} BOM lines unmatched: {names}"msgstr ""-#. placeholder {0}: members.length-msgid "{0} can't be scheduled: {names}"-msgstr "{0} не могут быть запланированы: {names}"-#. placeholder {0}: unitOfMeasure.namemsgid "{0} cannot be deleted because it is still in use by {where}. Change those records to a different unit of measure first."msgstr "{0} нельзя удалить, так как она всё ещё используется: {where}. Сначала измените эти записи на другую единицу измерения."@@ -546,6 +540,12 @@ msgstr "{asset}: платеж, подлежащий оплате {dueDate}, прmsgid "{assetCount} Assets"msgstr "{assetCount} Активы"+msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}"+msgstr ""++msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}; {skipped, plural, one {# day already booked or off was kept} other {# days already booked or off were kept}}"+msgstr ""+msgid "{behindDays, plural, one {Behind target by # day} other {Behind target by # days}}"msgstr "{behindDays, plural, one {Отставание от плана на # день} other {Отставание от плана на # дней}}"@@ -561,6 +561,9 @@ msgstr "{componentCount, plural, one {# компонент} other {# компоmsgid "{count, plural, one {# asset} other {# assets}}"msgstr "{count, plural, one {# актив} few {# актива} many {# активов} other {# активов}}"+msgid "{count, plural, one {# can't be scheduled: {names}} other {# can't be scheduled: {names}}}"+msgstr ""+msgid "{count, plural, one {# course} other {# courses}}"msgstr "{count, plural, one {# курс} other {# курсов}}"@@ -582,6 +585,12 @@ msgstr "{count, plural, one {Расформировать # серию} few {Рmsgid "{count, plural, one {Dissolved # batch} other {Dissolved # batches}}"msgstr "{count, plural, one {Расформирована # серия} few {Расформированы # серии} many {Расформированы # серий} other {Расформированы # серий}}"+msgid "{count, plural, one {Overtime set for # person} other {Overtime set for # people}}"+msgstr ""++msgid "{count, plural, one {Overtime set on # person-day} other {Overtime set on # person-days}}"+msgstr ""+msgid "{count, plural, one {Release # batch} other {Release # batches}}"msgstr "{count, plural, one {Запустить в работу # серию} few {Запустить в работу # серии} many {Запустить в работу # серий} other {Запустить в работу # серий}}"@@ -615,8 +624,11 @@ msgstr "{daysBehindTarget, plural, one {Отставание от плана нmsgid "{delegatedTo} posts this to your ledger, so Carbon doesn't push it. Your saved choice is kept in case that changes."msgstr "${delegatedTo} отправляет это в вашу бухгалтерскую книгу, поэтому Carbon не отправляет это. Ваш сохраненный выбор сохраняется на случай, если это изменится."-msgid "{departmentLabel} has no work centers at {locationName}. Pick another department or location."-msgstr "{departmentLabel} не имеет рабочих центров в {locationName}. Выберите другой отдел или площадку."+msgid "{departmentName} has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "{departmentName} has no work centers at this location. Pick another department or location."+msgstr ""msgid "{discount} off"msgstr "{discount} скидка"@@ -3822,12 +3834,6 @@ msgstr "Назначено"msgid "Assigned {changed} planning actions"msgstr ""-msgid "Assigned {employeeName} to {targetName} for the week"-msgstr "Назначен {employeeName} на {targetName} на неделю"--msgid "Assigned {employeeName} to {targetName} for the week; days already assigned in other departments were kept"-msgstr "{employeeName} назначен на {targetName} на неделю; дни, уже назначенные в других отделах, сохранены"-msgid "Assigned 1 planning action"msgstr ""@@ -14799,8 +14805,8 @@ msgstr "Нет операций синхронизации {0}"msgid "No {0} yet"msgstr "Пока нет {0}"-msgid "No {departmentLabel} work is scheduled at this location."-msgstr "На этой площадке не запланирована работа отдела {departmentLabel}."+msgid "No {departmentName} work is scheduled at this location."+msgstr ""msgid "No {title} yet"msgstr "Нет {title} ещё"@@ -15559,8 +15565,14 @@ msgstr "На этой площадке нет рабочих центров"msgid "No work centers exist"msgstr "Рабочих центров не существует"-msgid "No work centers in {departmentLabel}"-msgstr "В отделе {departmentLabel} нет рабочих центров"+msgid "No work centers in {departmentName}"+msgstr ""++msgid "No work centers in this department"+msgstr ""++msgid "No work for this department is scheduled at this location."+msgstr ""#. placeholder {0}: ability.namemsgid "Nobody is qualified for {0}"@@ -15707,6 +15719,9 @@ msgstr "Примечания (опционально)"msgid "Nothing"msgstr "Ничего"+msgid "Nothing assigned: every working day this week is already booked or off"+msgstr ""+#. placeholder {0}: search.trim()msgid "Nothing at this location matches \"{0}\"."msgstr "В этом месте нет ничего, соответствующего \"{0}\"."@@ -23630,12 +23645,15 @@ msgstr "Ежемесячные периоды, в которые вы размеmsgid "The most likely failure mode the requester suspects; the technician confirms or replaces this on close-out, and the difference between suspected and actual feeds reliability reports."msgstr "Наиболее вероятный режим отказа, который подозревает запросчик; техник подтверждает или заменяет это при закрытии, и разница между подозреваемым и фактическим питает отчеты надежности."-msgid "The most recent {departmentLabel} work at this location was {nextWorkDate}."-msgstr "Самая последняя работа отдела {departmentLabel} на этой площадке была {nextWorkDate}."+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."+msgstr ""msgid "The most recent scheduled work at this location was {nextWorkDate}."msgstr "Самая последняя запланированная работа на этой площадке была {nextWorkDate}."+msgid "The most recent work for this department at this location was {nextWorkDate}."+msgstr ""+msgid "The negotiated price per unit on this line; the inline trace icon shows which pricing rule or override produced it."msgstr "Согласованная цена за единицу на этой строке; значок встроенной трассировки показывает, какое правило ценообразования или переопределение его создало."@@ -23651,12 +23669,15 @@ msgstr "Номер новой версии метода"msgid "The new version number of the procedure"msgstr "Новый номер версии процедуры"-msgid "The next {departmentLabel} work at this location starts {nextWorkDate}."-msgstr "Следующая работа отдела {departmentLabel} на этой площадке начинается {nextWorkDate}."+msgid "The next {departmentName} work at this location starts {nextWorkDate}."+msgstr ""msgid "The next scheduled work at this location starts {nextWorkDate}."msgstr "Следующая запланированная работа на этой площадке начинается {nextWorkDate}."+msgid "The next work for this department at this location starts {nextWorkDate}."+msgstr ""+msgid "The night shift suits you, {name}."msgstr "Ночная смена вам подходит, {name}."@@ -24310,8 +24331,11 @@ msgstr "Ставка этого типа покупателя"msgid "This customer's rate"msgstr "Ставка этого покупателя"-msgid "this department"-msgstr "этот отдел"+msgid "This department has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "This department has no work centers at this location. Pick another department or location."+msgstr ""msgid "This download link is invalid or has been tampered with."msgstr "Эта ссылка для скачивания недействительна или была повреждена."@@ -27014,6 +27038,9 @@ msgstr "Запуск рабочего процесса"msgid "Workflows"msgstr "Рабочие процессы"+msgid "working at {elsewhereStationNames}"+msgstr ""+msgid "Working sessions on configuration and data"msgstr "Рабочие сессии по конфигурации и данным"diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.poindex 140db5807f..db29c6d72c 100644--- a/packages/locale/locales/tr/erp.po+++ b/packages/locale/locales/tr/erp.po@@ -22,9 +22,8 @@ msgstr "— son kontrol {0}"msgid "— not on the manning board"msgstr "— manning board üzerinde değil"-#. placeholder {0}: person.stations.join(", ")-msgid "— on the manning board at {0}"-msgstr "— {0} konumundaki manning board'da"+msgid "— on the manning board at {stations}"+msgstr ""msgid ", {residual}% residual"msgstr ", {residual}% kalıntı"@@ -67,6 +66,9 @@ msgstr "(birden fazla Carbon hesabına eşleştirildi)"msgid "(not an Equity posting account)"msgstr "(Özkaynak muhasebeleştirme hesabı değildir)"+msgid "(outside this department)"+msgstr ""+#. placeholder {0}: impact.unschedulablemsgid "{0, plural, =0 {Its process needs a qualified operator, so its operations can't be scheduled until someone is added.} one {Its process needs a qualified operator: # operation can't be scheduled until someone is added.} other {Its process needs a qualified operator: # operations can't be scheduled until someone is added.}}"msgstr "{0, plural, =0 {Prosesi yeterli nitelikli bir operatör gerektiriyor, bu nedenle operasyonları biri eklenene kadar planlanamıyor.} one {Prosesi yeterli nitelikli bir operatör gerektiriyor: # operasyon biri eklenene kadar planlanamıyor.} other {Prosesi yeterli nitelikli bir operatör gerektiriyor: # operasyon biri eklenene kadar planlanamıyor.}}"@@ -172,10 +174,6 @@ msgstr "{0, plural, one {# kıymet için} other {# kıymetler için}}"msgid "{0, plural, one {Marked absent for # day} other {Marked absent for # days}}"msgstr "{0, plural, one {# gün için devamsız işaretlendi} other {# gün için devamsız işaretlendi}}"-#. placeholder {0}: counts.updated ?? 0-msgid "{0, plural, one {Overtime set for # assignment} other {Overtime set for # assignments}}"-msgstr "{0, plural, one {# görevlendirme için fazla mesai ayarlandı} other {# görevlendirme için fazla mesai ayarlandı}}"-#. placeholder {0}: check.countmsgid "{0, plural, one {Post or delete the # document dated before the cutover.} other {Post or delete the # documents dated before the cutover.}}"msgstr "{0, plural, one {Kesme tarihinden önce tarihlendirilmiş # belgeyi muhasebeleştir veya sil.} other {Kesme tarihinden önce tarihlendirilmiş # belgeleri muhasebeleştir veya sil.}}"@@ -232,10 +230,6 @@ msgstr "{0} amortisman yapılacak kıymet · {amount}"msgid "{0} BOM lines unmatched: {names}"msgstr ""-#. placeholder {0}: members.length-msgid "{0} can't be scheduled: {names}"-msgstr "{0} planlanamıyor: {names}"-#. placeholder {0}: unitOfMeasure.namemsgid "{0} cannot be deleted because it is still in use by {where}. Change those records to a different unit of measure first."msgstr "{0} hâlâ {where} tarafından kullanıldığı için silinemez. Önce bu kayıtları farklı bir ölçü birimine değiştirin."@@ -546,6 +540,12 @@ msgstr "{asset}: {dueDate}'de vadesi gelen ödeme Atlandı (Carbon dışında ömsgid "{assetCount} Assets"msgstr "{assetCount} Sabit Kıymet"+msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}"+msgstr ""++msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}; {skipped, plural, one {# day already booked or off was kept} other {# days already booked or off were kept}}"+msgstr ""+msgid "{behindDays, plural, one {Behind target by # day} other {Behind target by # days}}"msgstr "{behindDays, plural, one {Hedeften # gün geride} other {Hedeften # gün geride}}"@@ -561,6 +561,9 @@ msgstr "{componentCount, plural, one {# bileşen} other {# bileşen}}"msgid "{count, plural, one {# asset} other {# assets}}"msgstr "{count, plural, one {# kıymet} other {# kıymetler}}"+msgid "{count, plural, one {# can't be scheduled: {names}} other {# can't be scheduled: {names}}}"+msgstr ""+msgid "{count, plural, one {# course} other {# courses}}"msgstr "{count, plural, one {# kurs} other {# kurs}}"@@ -582,6 +585,12 @@ msgstr "{count, plural, one {# partiyi çöz} other {# partileri çöz}}"msgid "{count, plural, one {Dissolved # batch} other {Dissolved # batches}}"msgstr "{count, plural, one {# parti çözüldü} other {# partiler çözüldü}}"+msgid "{count, plural, one {Overtime set for # person} other {Overtime set for # people}}"+msgstr ""++msgid "{count, plural, one {Overtime set on # person-day} other {Overtime set on # person-days}}"+msgstr ""+msgid "{count, plural, one {Release # batch} other {Release # batches}}"msgstr "{count, plural, one {# partiyi serbest bırak} other {# partileri serbest bırak}}"@@ -615,8 +624,11 @@ msgstr "{daysBehindTarget, plural, one {Hedeften # gün geride} other {Hedeftenmsgid "{delegatedTo} posts this to your ledger, so Carbon doesn't push it. Your saved choice is kept in case that changes."msgstr "{delegatedTo} bunu muhasebe defterinize gönderir, bu nedenle Carbon onu göndermez. Kaydedilen seçiminiz değişmesi durumunda korunur."-msgid "{departmentLabel} has no work centers at {locationName}. Pick another department or location."-msgstr "{departmentLabel} {locationName} konumunda hiç iş merkezi yok. Başka bir departman veya lokasyon seçin."+msgid "{departmentName} has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "{departmentName} has no work centers at this location. Pick another department or location."+msgstr ""msgid "{discount} off"msgstr "{discount} indirim"@@ -3822,12 +3834,6 @@ msgstr "Atanmış"msgid "Assigned {changed} planning actions"msgstr ""-msgid "Assigned {employeeName} to {targetName} for the week"-msgstr "{employeeName} öğesi hafta boyunca {targetName} için atandı"--msgid "Assigned {employeeName} to {targetName} for the week; days already assigned in other departments were kept"-msgstr "{employeeName} bu hafta {targetName} konumuna atandı; başka departmanlara zaten atanmış olan günler korundu"-msgid "Assigned 1 planning action"msgstr ""@@ -14799,8 +14805,8 @@ msgstr "{0} senkronizasyon işlemi yok"msgid "No {0} yet"msgstr "Henüz {0} yok"-msgid "No {departmentLabel} work is scheduled at this location."-msgstr "{departmentLabel} işi bu lokasyonda planlanmadı."+msgid "No {departmentName} work is scheduled at this location."+msgstr ""msgid "No {title} yet"msgstr "Henüz {title} yok"@@ -15559,8 +15565,14 @@ msgstr "Bu lokasyonda İş merkezi yok"msgid "No work centers exist"msgstr "İş merkezi bulunmamaktadır"-msgid "No work centers in {departmentLabel}"-msgstr "{departmentLabel} içinde iş merkezi yok"+msgid "No work centers in {departmentName}"+msgstr ""++msgid "No work centers in this department"+msgstr ""++msgid "No work for this department is scheduled at this location."+msgstr ""#. placeholder {0}: ability.namemsgid "Nobody is qualified for {0}"@@ -15707,6 +15719,9 @@ msgstr "Notlar (isteğe bağlı)"msgid "Nothing"msgstr "Hiçbir şey"+msgid "Nothing assigned: every working day this week is already booked or off"+msgstr ""+#. placeholder {0}: search.trim()msgid "Nothing at this location matches \"{0}\"."msgstr "Bu konumda \"{0}\" ile eşleşen hiçbir şey yok."@@ -23630,12 +23645,15 @@ msgstr "Nakliye yaptığınız ve kapattığınız aylık dönemler"msgid "The most likely failure mode the requester suspects; the technician confirms or replaces this on close-out, and the difference between suspected and actual feeds reliability reports."msgstr "İstekçinin şüphelendiği en olası hata modu; teknisyen bunu kapatırken doğrular veya değiştirir ve şüphelenilen ile gerçek arasındaki fark güvenilirlik raporlarını besler."-msgid "The most recent {departmentLabel} work at this location was {nextWorkDate}."-msgstr "Bu lokasyonda en yakın {departmentLabel} işi {nextWorkDate} idi."+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."+msgstr ""msgid "The most recent scheduled work at this location was {nextWorkDate}."msgstr "Bu lokasyonda en yakın planlanan iş {nextWorkDate} idi."+msgid "The most recent work for this department at this location was {nextWorkDate}."+msgstr ""+msgid "The negotiated price per unit on this line; the inline trace icon shows which pricing rule or override produced it."msgstr "Bu satırda müzakere edilen birim fiyat; satır içi izleme simgesi, hangi fiyatlandırma kuralı veya geçersiz kılmanın onu ürettiğini gösterir."@@ -23651,12 +23669,15 @@ msgstr "metodun yeni sürüm numarası"msgid "The new version number of the procedure"msgstr "Prosedürün yeni sürüm numarası"-msgid "The next {departmentLabel} work at this location starts {nextWorkDate}."-msgstr "Bu lokasyonda sonraki {departmentLabel} işi {nextWorkDate} başlıyor."+msgid "The next {departmentName} work at this location starts {nextWorkDate}."+msgstr ""msgid "The next scheduled work at this location starts {nextWorkDate}."msgstr "Bu lokasyonda sonraki planlanan iş {nextWorkDate} başlıyor."+msgid "The next work for this department at this location starts {nextWorkDate}."+msgstr ""+msgid "The night shift suits you, {name}."msgstr "Gece vardiyası sana yakışıyor, {name}."@@ -24310,8 +24331,11 @@ msgstr "Bu müşteri türü'nün oranı"msgid "This customer's rate"msgstr "Bu müşteri'nin oranı"-msgid "this department"-msgstr "bu departman"+msgid "This department has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "This department has no work centers at this location. Pick another department or location."+msgstr ""msgid "This download link is invalid or has been tampered with."msgstr "Bu indirme bağlantısı geçersiz veya değiştirilmiş."@@ -27014,6 +27038,9 @@ msgstr "İş akışı çalışması"msgid "Workflows"msgstr "İş akışları"+msgid "working at {elsewhereStationNames}"+msgstr ""+msgid "Working sessions on configuration and data"msgstr "Yapılandırma ve veri üzerinde çalışma oturumları"diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.poindex b27f89486c..dc9be27f81 100644--- a/packages/locale/locales/zh/erp.po+++ b/packages/locale/locales/zh/erp.po@@ -22,9 +22,8 @@ msgstr "— 上次检查于 {0}"msgid "— not on the manning board"msgstr "— 未在人员排班表上"-#. placeholder {0}: person.stations.join(", ")-msgid "— on the manning board at {0}"-msgstr "— 在 {0} 的人员排班表上"+msgid "— on the manning board at {stations}"+msgstr ""msgid ", {residual}% residual"msgstr ", {residual}% 残差"@@ -67,6 +66,9 @@ msgstr "(映射到多个 Carbon 账户)"msgid "(not an Equity posting account)"msgstr "(非所有者权益过账账户)"+msgid "(outside this department)"+msgstr ""+#. placeholder {0}: impact.unschedulablemsgid "{0, plural, =0 {Its process needs a qualified operator, so its operations can't be scheduled until someone is added.} one {Its process needs a qualified operator: # operation can't be scheduled until someone is added.} other {Its process needs a qualified operator: # operations can't be scheduled until someone is added.}}"msgstr "{0, plural, =0 {其工艺需要有资质的操作员,因此其工序无法排程,直到添加人员。} one {其工艺需要有资质的操作员:# 道工序无法排程,直到添加人员。} other {其工艺需要有资质的操作员:# 道工序无法排程,直到添加人员。}}"@@ -172,10 +174,6 @@ msgstr "{0, plural, one {针对 # 项资产} other {针对 # 项资产}}"msgid "{0, plural, one {Marked absent for # day} other {Marked absent for # days}}"msgstr "{0, plural, one {标记缺席 # 天} other {标记缺席 # 天}}"-#. placeholder {0}: counts.updated ?? 0-msgid "{0, plural, one {Overtime set for # assignment} other {Overtime set for # assignments}}"-msgstr "{0, plural, one {为 # 个分配设置加班} other {为 # 个分配设置加班}}"-#. placeholder {0}: check.countmsgid "{0, plural, one {Post or delete the # document dated before the cutover.} other {Post or delete the # documents dated before the cutover.}}"msgstr "{0, plural, one {过账或删除日期在截断前的 # 份文件。} other {过账或删除日期在截断前的 # 份文档。}}"@@ -232,10 +230,6 @@ msgstr "{0} 项资产待折旧 · {amount}"msgid "{0} BOM lines unmatched: {names}"msgstr ""-#. placeholder {0}: members.length-msgid "{0} can't be scheduled: {names}"-msgstr "{0} 无法排程:{names}"-#. placeholder {0}: unitOfMeasure.namemsgid "{0} cannot be deleted because it is still in use by {where}. Change those records to a different unit of measure first."msgstr "{0} 仍被 {where} 使用,无法删除。请先将这些记录更改为其他计量单位。"@@ -546,6 +540,12 @@ msgstr "{asset}: 应付日期为 {dueDate} 的付款已跳过(在 Carbon 外msgid "{assetCount} Assets"msgstr "{assetCount} 个资产"+msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}"+msgstr ""++msgid "{assigned, plural, one {Assigned for # working day} other {Assigned for # working days}}; {skipped, plural, one {# day already booked or off was kept} other {# days already booked or off were kept}}"+msgstr ""+msgid "{behindDays, plural, one {Behind target by # day} other {Behind target by # days}}"msgstr "{behindDays, plural, one {目标延后 # 天} other {目标延后 # 天}}"@@ -561,6 +561,9 @@ msgstr "{componentCount, plural, one {# 个组件} other {# 个组件}}"msgid "{count, plural, one {# asset} other {# assets}}"msgstr "{count, plural, one {# 项资产} other {# 项资产}}"+msgid "{count, plural, one {# can't be scheduled: {names}} other {# can't be scheduled: {names}}}"+msgstr ""+msgid "{count, plural, one {# course} other {# courses}}"msgstr "{count, plural, one {# 门课程} other {# 门课程}}"@@ -582,6 +585,12 @@ msgstr "{count, plural, one {关闭 # 生产批次} other {关闭 # 生产批次msgid "{count, plural, one {Dissolved # batch} other {Dissolved # batches}}"msgstr "{count, plural, one {已关闭 # 生产批次} other {已关闭 # 生产批次}}"+msgid "{count, plural, one {Overtime set for # person} other {Overtime set for # people}}"+msgstr ""++msgid "{count, plural, one {Overtime set on # person-day} other {Overtime set on # person-days}}"+msgstr ""+msgid "{count, plural, one {Release # batch} other {Release # batches}}"msgstr "{count, plural, one {下达 # 生产批次} other {下达 # 生产批次}}"@@ -615,8 +624,11 @@ msgstr "{daysBehindTarget, plural, one {目标延后 # 天} other {目标延后msgid "{delegatedTo} posts this to your ledger, so Carbon doesn't push it. Your saved choice is kept in case that changes."msgstr "{delegatedTo}将其发布到您的分类账,因此Carbon不会推送它。您保存的选择将被保留,以防情况发生变化。"-msgid "{departmentLabel} has no work centers at {locationName}. Pick another department or location."-msgstr "{departmentLabel} 在 {locationName} 没有工作中心。选择另一个部门或地点。"+msgid "{departmentName} has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "{departmentName} has no work centers at this location. Pick another department or location."+msgstr ""msgid "{discount} off"msgstr "{discount} 折扣"@@ -3822,12 +3834,6 @@ msgstr "已分配"msgid "Assigned {changed} planning actions"msgstr ""-msgid "Assigned {employeeName} to {targetName} for the week"-msgstr "将 {employeeName} 分配给 {targetName},为期一周"--msgid "Assigned {employeeName} to {targetName} for the week; days already assigned in other departments were kept"-msgstr "已为本周分配 {employeeName} 到 {targetName};保留了在其他部门已分配的日期"-msgid "Assigned 1 planning action"msgstr ""@@ -14799,8 +14805,8 @@ msgstr "无{0}个同步操作"msgid "No {0} yet"msgstr "还没有{0}"-msgid "No {departmentLabel} work is scheduled at this location."-msgstr "该地点未排程 {departmentLabel} 工作。"+msgid "No {departmentName} work is scheduled at this location."+msgstr ""msgid "No {title} yet"msgstr "暂无 {title}"@@ -15559,8 +15565,14 @@ msgstr "此地点没有工作中心"msgid "No work centers exist"msgstr "没有工作中心存在"-msgid "No work centers in {departmentLabel}"-msgstr "{departmentLabel} 中没有工作中心"+msgid "No work centers in {departmentName}"+msgstr ""++msgid "No work centers in this department"+msgstr ""++msgid "No work for this department is scheduled at this location."+msgstr ""#. placeholder {0}: ability.namemsgid "Nobody is qualified for {0}"@@ -15707,6 +15719,9 @@ msgstr "备注(可选)"msgid "Nothing"msgstr "无"+msgid "Nothing assigned: every working day this week is already booked or off"+msgstr ""+#. placeholder {0}: search.trim()msgid "Nothing at this location matches \"{0}\"."msgstr "此位置处没有与\"{0}\"匹配的内容。"@@ -23630,12 +23645,15 @@ msgstr "您过账和关闭的每月期间"msgid "The most likely failure mode the requester suspects; the technician confirms or replaces this on close-out, and the difference between suspected and actual feeds reliability reports."msgstr "请求者怀疑的最可能的失败模式;技术人员在关闭时确认或替换此项,疑似与实际之间的差异会影响可靠性报告。"-msgid "The most recent {departmentLabel} work at this location was {nextWorkDate}."-msgstr "该地点最近的 {departmentLabel} 工作是 {nextWorkDate}。"+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."+msgstr ""msgid "The most recent scheduled work at this location was {nextWorkDate}."msgstr "该地点最近排程的工作是 {nextWorkDate}。"+msgid "The most recent work for this department at this location was {nextWorkDate}."+msgstr ""+msgid "The negotiated price per unit on this line; the inline trace icon shows which pricing rule or override produced it."msgstr "此行协商的单价;内联跟踪图标显示哪个定价规则或覆盖生成了它。"@@ -23651,12 +23669,15 @@ msgstr "该方法的新版本号"msgid "The new version number of the procedure"msgstr "程序文件的新版本号"-msgid "The next {departmentLabel} work at this location starts {nextWorkDate}."-msgstr "该地点的下一个 {departmentLabel} 工作开始于 {nextWorkDate}。"+msgid "The next {departmentName} work at this location starts {nextWorkDate}."+msgstr ""msgid "The next scheduled work at this location starts {nextWorkDate}."msgstr "该地点的下一个排程工作开始于 {nextWorkDate}。"+msgid "The next work for this department at this location starts {nextWorkDate}."+msgstr ""+msgid "The night shift suits you, {name}."msgstr "晚班适合你,{name}。"@@ -24310,8 +24331,11 @@ msgstr "此客户类型的费率"msgid "This customer's rate"msgstr "此客户的费率"-msgid "this department"-msgstr "该部门"+msgid "This department has no work centers at {locationName}. Pick another department or location."+msgstr ""++msgid "This department has no work centers at this location. Pick another department or location."+msgstr ""msgid "This download link is invalid or has been tampered with."msgstr "此下载链接无效或已被篡改。"@@ -27014,6 +27038,9 @@ msgstr "工作流运行"msgid "Workflows"msgstr "工作流"+msgid "working at {elsewhereStationNames}"+msgstr ""+msgid "Working sessions on configuration and data"msgstr "配置和数据工作会议"diff --git a/packages/planning/AGENTS.md b/packages/planning/AGENTS.mdindex 578718227d..bc1126b5af 100644--- a/packages/planning/AGENTS.md+++ b/packages/planning/AGENTS.md@@ -45,6 +45,9 @@ Single subpath `@carbon/planning` (`./src/index.ts`):| `runLocationSchedule` / `runExpediteWhatIf` | Finite scheduling — regenerate a whole location, or a simulate-only expedite what-if (`src/scheduling/run-schedule.ts`) || `runQuoteLeadTimeWhatIf(params)` | Capable-to-promise for a quote line — drives the pure `WorkCenterSelector` with synthetic ops (queued vs front-of-queue contexts) per quantity, returns `QuoteLeadTimeForecast`; persists nothing (`src/scheduling/quote-lead-time.ts`) || `resolveLocationWindows` / `resolveWorkCenterWindows` / `subtractIntervals` | Machine/work-center availability window resolvers (`src/scheduling/`) |+| `closeHolidays` / `downtimeOutages` | The engine's holiday closing and open-maintenance outages, so the ERP's Capacity and Coverage views read the same working time (`src/scheduling/machine-availability.ts`) |+| `remainingWorkHours` | The hours an open operation still needs, as the engine counts them: setup + max(labor, machine), netted by quantity complete, setup dropped once it has a production event (`src/scheduling/duration-calculator.ts`) |+| `SCHEDULING_HORIZON_DAYS` | How far ahead the engine places work (`src/scheduling/finite-context.ts`) || types (`LadderShiftRow`, `MrpPayload`, `MrpResult`, `LocationScheduleResult`, `ExpediteWhatIfResult`, `NewlyLateJob`, …) | Engine type surface |Internal to the engine, not exported: `generatePlanningActions(client, db, { companyId, userId })`diff --git a/packages/react/src/Date/DatePicker.tsx b/packages/react/src/Date/DatePicker.tsxindex adeadd50ce..fab8702e3d 100644--- a/packages/react/src/Date/DatePicker.tsx+++ b/packages/react/src/Date/DatePicker.tsx@@ -7,7 +7,7 @@ import { useDatePicker } from "@react-aria/datepicker";import { useDatePickerState } from "@react-stately/datepicker";import type { DatePickerProps } from "@react-types/datepicker";import type { ReactNode } from "react";-import { useRef } from "react";+import { useId, useRef } from "react";import { LuBan, LuCalendarClock, LuInfo } from "react-icons/lu";import { cn } from "..";import { Button } from "../Button";@@ -57,13 +57,17 @@ const DatePicker = (ref);// The inline variants render no group, so the button's labelledby (and the- // dialog's, which points at the button) would name it only "Calendar".+ // dialog's, which points at the button) would name it only "Calendar". Name+ // it "Calendar <field>" as react-aria does when the group is drawn.const inlineButtonLabel = fieldName? {- "aria-label": fieldName,+ "aria-label": `${buttonProps["aria-label"]} ${fieldName}`,"aria-labelledby": undefined}: {};+ // The preview button also reads out the date it shows: its own label, then+ // the visible value.+ const previewValueId = useId();return (<Popover open={state.isOpen} onOpenChange={state.setOpen}>@@ -81,8 +85,11 @@ const DatePicker = (isDisabled={props.isDisabled}{...buttonProps}{...inlineButtonLabel}+ aria-labelledby={`${buttonProps.id} ${previewValueId}`}>- {props.inline}+ <span id={previewValueId} className="contents">+ {props.inline}+ </span><LuCalendarClock /></Button></PopoverTrigger>