Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

fix(capacity): read Available, Due and Coverage off the scheduler's own rules

naveenkashb8871b4dc8c8
diff --git a/.claude/rules/scheduling-data-structures.md b/.claude/rules/scheduling-data-structures.md
index 8256256313..0aecd9b2a4 100644
--- a/.claude/rules/scheduling-data-structures.md
+++ b/.claude/rules/scheduling-data-structures.md
@@ -91,20 +91,27 @@ Spec/plan: `.ai/specs/2026-09-22-quote-lead-time-prediction.md`.
re-plans too instead of keeping a stale booking), a
week **matrix** (`PeopleMatrix.tsx`: employee×day grid + assigned-vs-needed
coverage as sub-tabs, department filter), and a week **capacity** board
- (`PeopleCapacity.tsx`). Capacity math: Demand = open `jobOperation` hours by
- due date via `makeDurations` (Draft/Planned jobs excluded — released work
- only; ops overdue up to 28 days land in a Past-due column); Scheduled =
- `capacityReservation.workHours` split across the days of the booking by
- the work center's WORKING time in each day (`getWorkCenterWorkingWindows`,
- the same ladder and holidays the engine uses; a station's linked shifts at
- another location are loaded too, `getShiftsWithTimesByIds`), so a booking from Monday
- noon to Tuesday 11:30 puts its hours in shift time and none on the night
- or a weekend; a booking with no working time falls back to the clock-time
- share; Available = people headcount × real shift hours resolved through
- the ladder assignment `shiftId` → the person's `employeeShift` →
- most-common shift duration at the location → 8h (unassigned stations fall
- back to the location's per-weekday shift calendar; a company holiday is
- 0, and nobody manned on it counts as staffed); Load renders as hours
+ (`PeopleCapacity.tsx`). Both read each station's working windows:
+ `getWorkCenterWorkingWindows` (the engine's ladder and holidays; a station's
+ linked shifts at another location are loaded too, `getShiftsWithTimesByIds`)
+ less the open offline maintenance outages (`getWorkCenterOutages` →
+ `downtimeOutages`, `@carbon/planning`, the rule the engine uses). Capacity
+ math: Demand = the hours each open `jobOperation` still needs as the engine
+ counts them (`remainingWorkHours`: setup + max(labor, machine), netted by
+ quantity complete, setup dropped once a production event exists) by due date
+ (Draft/Planned jobs excluded — released work only; overdue lands in a
+ Past-due column); Scheduled = `capacityReservation.workHours` split across
+ the days of the booking by the station's working time in each day, so a
+ booking from Monday noon to Tuesday 11:30 puts its hours in shift time and
+ none on the night or a weekend (no working time falls back to the clock-time
+ share); Available = the working hours in each plant day
+ (`workingHoursByDay`: 0 on a holiday, less maintenance downtime, and the
+ real day length on a lights-out station, 23 or 25 hours across DST).
+ Coverage (Matrix) needs `ceil(attended hours / person-day hours)` people per
+ station-day, where attended hours are the setup + labor share of each booking
+ laid 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
over/free (+Xh / Xh free), not %. Shift + location filters live in header
popovers; the shift filter's "All shifts" option (`shiftId` null on
drag) creates shift-less assignments that resolve hours via the ladder.
diff --git a/apps/erp/app/modules/production/AGENTS.md b/apps/erp/app/modules/production/AGENTS.md
index 64f48ee811..e421bf6618 100644
--- a/apps/erp/app/modules/production/AGENTS.md
+++ b/apps/erp/app/modules/production/AGENTS.md
@@ -136,7 +136,8 @@ pnpm --filter erp test
- `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) — 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)
+- `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
- `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.ts
index 63131b4664..17ad072d56 100644
--- a/apps/erp/app/modules/production/capacity-buckets.test.ts
+++ b/apps/erp/app/modules/production/capacity-buckets.test.ts
@@ -4,9 +4,11 @@
import { describe, expect, it } from "vitest";
import {
+ attendedHoursByDay,
buildPeopleCapacityBuckets,
- getWorkCenterCalendarHoursByDay,
- getWorkCenterWorkingWindows
+ getWorkCenterWorkingWindows,
+ withoutOutages,
+ workingHoursByDay
} from "./production.service";
// America/Chicago is UTC-5 in late October 2026. Day Shift 06:00-14:30 Mon-Fri.
@@ -93,68 +95,203 @@ describe("buildPeopleCapacityBuckets", () => {
});
});
+const windowsFor = (
+ workCenters: { id: string; alwaysOn: boolean }[],
+ holidayDates = new Set<string>()
+) =>
+ getWorkCenterWorkingWindows({
+ workCenters,
+ workCenterShifts: workCenters.map((wc) => ({
+ workCenterId: wc.id,
+ shiftId: "day"
+ })),
+ shifts: [dayShift],
+ timeZone: TZ,
+ holidayDates,
+ rangeStart: at("2026-10-26T05:00:00Z"),
+ rangeEnd: at("2026-11-02T06:00:00Z")
+ });
+
+const available = (windowsByWorkCenter: ReturnType<typeof windowsFor>) =>
+ workingHoursByDay({ windowsByWorkCenter, weekDates: WEEK, timezone: TZ });
+
describe("available hours", () => {
it("are 0 on a company holiday, except on a lights-out station", () => {
- const hours = getWorkCenterCalendarHoursByDay({
- workCenters: [
- { id: "potting", alwaysOn: false },
- { id: "tvac", alwaysOn: true }
- ],
- workCenterShifts: [{ workCenterId: "potting", shiftId: "day" }],
- locationShifts: [
- {
- id: "day",
- hours: 8.5,
- runsOn: [false, true, true, true, true, true, false]
- }
- ],
- weekDates: WEEK,
- holidayDates: new Set(["2026-10-27"])
- });
+ const hours = available(
+ windowsFor(
+ [
+ { id: "potting", alwaysOn: false },
+ { id: "tvac", alwaysOn: true }
+ ],
+ new Set(["2026-10-27"])
+ )
+ );
expect(hours.get("potting")?.get("2026-10-26")).toBe(8.5);
expect(hours.get("potting")?.get("2026-10-27")).toBe(0);
expect(hours.get("tvac")?.get("2026-10-27")).toBe(24);
});
+
+ // Sunday 1 November 2026 is the day Chicago falls back an hour.
+ it("are the length of the local day on a lights-out station", () => {
+ const hours = available(windowsFor([{ id: "tvac", alwaysOn: true }]));
+ expect(hours.get("tvac")?.get("2026-11-01")).toBe(25);
+ });
+
+ it("leave out the time maintenance takes the station offline", () => {
+ // Down Friday 11:05 -> Sunday 07:00: Friday keeps 06:00-11:05.
+ const windows = withoutOutages(
+ windowsFor([{ id: "tig", alwaysOn: false }]),
+ new Map([
+ [
+ "tig",
+ [
+ {
+ start: at("2026-10-30T16:05:00Z"),
+ end: at("2026-11-01T12:00:00Z")
+ }
+ ]
+ ]
+ ])
+ );
+ expect(available(windows).get("tig")?.get("2026-10-30")).toBeCloseTo(
+ 5 + 5 / 60
+ );
+ });
});
-describe("a station linked to a shift of another location", () => {
- const windows = (args: {
- shifts: (typeof dayShift)[];
- linkedShifts?: (typeof dayShift)[];
- }) =>
- getWorkCenterWorkingWindows({
- workCenters: [{ id: "potting", alwaysOn: false }],
- workCenterShifts: [{ workCenterId: "potting", shiftId: "day" }],
- timeZone: TZ,
- holidayDates: new Set(),
- rangeStart: at("2026-10-26T05:00:00Z"),
- rangeEnd: at("2026-10-27T05:00:00Z"),
- ...args
- }).get("potting");
-
- it("works that shift's hours, not the location's", () => {
- // Monday 06:00-14:30 Chicago, from the linked shift alone.
- expect(windows({ shifts: [], linkedShifts: [dayShift] })).toEqual([
- { start: at("2026-10-26T11:00:00Z"), end: at("2026-10-26T19:30:00Z") }
- ]);
+describe("hours due", () => {
+ // 1h setup + 0.4h labor and 0.6h machine a piece on 10 pieces, 5 made.
+ const operation = {
+ workCenterId: "potting",
+ dueDate: "2026-10-28",
+ operationQuantity: 10,
+ quantityComplete: 5,
+ setupTime: 1,
+ setupUnit: "Total Hours" as const,
+ laborTime: 0.4,
+ laborUnit: "Hours/Piece" as const,
+ machineTime: 0.6,
+ machineUnit: "Hours/Piece" as const
+ };
+ const due = (started: boolean) =>
+ buildPeopleCapacityBuckets({
+ weekDates: WEEK,
+ timezone: TZ,
+ operations: [{ ...operation, started }],
+ reservations: [],
+ calendarHoursByWorkCenter: new Map()
+ }).demandByWorkCenter.potting?.days["2026-10-28"];
+
+ // Not started: 1 + max(2, 3) for the 5 pieces left; started: no setup.
+ it("are what the scheduler still has to place", () => {
+ expect([due(false), due(true)]).toEqual([4, 3]);
});
+});
- it("has that shift's hours available", () => {
- const hours = getWorkCenterCalendarHoursByDay({
- workCenters: [{ id: "potting", alwaysOn: false }],
- workCenterShifts: [{ workCenterId: "potting", shiftId: "day" }],
- locationShifts: [],
- linkedShifts: [
+describe("coverage hours", () => {
+ const coverage = (
+ reservation: { startAt: string; endAt: string; workHours: number | null },
+ operation: { share: number; gated?: boolean },
+ options: {
+ alwaysOn?: boolean;
+ outage?: { start: string; end: string };
+ } = {}
+ ) =>
+ attendedHoursByDay({
+ weekDates: WEEK,
+ timezone: TZ,
+ reservations: [{ resourceId: "tvac", operationId: "op", ...reservation }],
+ attendedShareByOperation: new Map([
+ ["op", { gated: false, ...operation }]
+ ]),
+ windowsByWorkCenter: withoutOutages(
+ windowsFor([{ id: "tvac", alwaysOn: options.alwaysOn ?? false }]),
+ new Map(
+ options.outage
+ ? [
+ [
+ "tvac",
+ [
+ {
+ start: at(options.outage.start),
+ end: at(options.outage.end)
+ }
+ ]
+ ]
+ ]
+ : []
+ )
+ ),
+ lightsOut: new Set(options.alwaysOn ? ["tvac"] : [])
+ }).tvac;
+
+ it("spread a long labor run over the shift hours of each day it runs", () => {
+ // 20h of labor from Monday 06:00: 8.5h Mon, 8.5h Tue, 3h Wed.
+ expect(
+ coverage(
{
- id: "day",
- hours: 8.5,
- runsOn: [false, true, true, true, true, true, false]
+ startAt: "2026-10-26T11:00:00Z",
+ endAt: "2026-10-28T14:00:00Z",
+ workHours: 20
+ },
+ { share: 1 }
+ )
+ ).toEqual({ "2026-10-26": 8.5, "2026-10-27": 8.5, "2026-10-28": 3 });
+ });
+
+ it("need people only for the hands-on start of a mostly machine run", () => {
+ // 4h of a 10h booking is setup and labor: Monday 06:00-10:00.
+ expect(
+ coverage(
+ {
+ startAt: "2026-10-26T11:00:00Z",
+ endAt: "2026-10-27T13:30:00Z",
+ workHours: 10
+ },
+ { share: 0.4 }
+ )
+ ).toEqual({ "2026-10-26": 4 });
+ });
+
+ it("carry the hands-on hours past a maintenance outage", () => {
+ // 10h from Monday 06:00, the station down 08:00-14:30: 2h Mon, 8h Tue.
+ expect(
+ coverage(
+ {
+ startAt: "2026-10-26T11:00:00Z",
+ endAt: "2026-10-27T19:30:00Z",
+ workHours: 10
+ },
+ { share: 1 },
+ {
+ outage: { start: "2026-10-26T13:00:00Z", end: "2026-10-26T19:30:00Z" }
}
- ],
- weekDates: WEEK
- });
+ )
+ ).toEqual({ "2026-10-26": 2, "2026-10-27": 8 });
+ });
- expect(hours.get("potting")?.get("2026-10-26")).toBe(8.5);
+ it("need nobody at a lights-out station for work that runs alone", () => {
+ const booking = {
+ startAt: "2026-10-26T11:00:00Z",
+ endAt: "2026-10-29T11:00:00Z",
+ workHours: 72
+ };
+ expect(coverage(booking, { share: 1 }, { alwaysOn: true })).toBeUndefined();
+ });
+
+ it("need an operator at a lights-out station when the process needs one", () => {
+ // 3h of setup on a 24x7 oven from Monday 06:00.
+ expect(
+ coverage(
+ {
+ startAt: "2026-10-26T11:00:00Z",
+ endAt: "2026-10-27T11:00:00Z",
+ workHours: 24
+ },
+ { share: 0.125, gated: true },
+ { alwaysOn: true }
+ )
+ ).toEqual({ "2026-10-26": 3 });
});
});
diff --git a/apps/erp/app/modules/production/production.service.ts b/apps/erp/app/modules/production/production.service.ts
index 295adc8337..11854d1e31 100644
--- a/apps/erp/app/modules/production/production.service.ts
+++ b/apps/erp/app/modules/production/production.service.ts
@@ -107,7 +107,9 @@ import { getLogger } from "@carbon/logger";
import {
type CalendarWindow,
closeHolidays,
+ downtimeOutages,
type LadderShiftRow,
+ remainingWorkHours,
resolveLocationWindows,
resolveWorkCenterWindows,
subtractDates,
@@ -154,7 +156,6 @@ import {
validateSubAssemblies
} from "@carbon/viewer";
import {
- getDayOfWeek,
parseDate,
parseDateTime,
toCalendarDateTime
@@ -175,7 +176,6 @@ import {
TIME_ENTRY_BEFORE_CUTOVER_ERROR
} from "~/modules/shared/shared.service";
import type { StorageItem } from "~/types";
-import { makeDurations } from "~/utils/duration";
import type { GenericQueryFilters } from "~/utils/query";
import {
getGenericFilter,
@@ -5430,30 +5430,33 @@ export async function getPeopleAbsencesRange(
* Planned jobs are excluded — only released (firm) work counts toward load,
* matching the industry release-gating convention. Paginated — the default
* PostgREST max_rows (1000) would silently truncate a busy location.
+ * `started` is whether any production event exists, as the scheduler asks.
*/
export async function getPeopleCapacityOperations(
client: SupabaseClient<Database>,
companyId: string,
args: { locationId: string; startDate: string | null; endDate: string }
) {
- return fetchAllFromTable<{
+ const result = await fetchAllFromTable<{
id: string;
workCenterId: string | null;
dueDate: string | null;
status: string;
operationQuantity: number | null;
+ quantityComplete: number | null;
setupTime: number;
- setupUnit: string;
+ setupUnit: FactorUnit;
laborTime: number;
- laborUnit: string;
+ laborUnit: FactorUnit;
machineTime: number;
- machineUnit: string;
+ machineUnit: FactorUnit;
+ productionEvent: { id: string }[];
}>(
client,
"jobOperation",
- `id, workCenterId, dueDate, status, operationQuantity,
+ `id, workCenterId, dueDate, status, operationQuantity, quantityComplete,
setupTime, setupUnit, laborTime, laborUnit, machineTime, machineUnit,
- job!inner(status, locationId)`,
+ job!inner(status, locationId), productionEvent(id)`,
(query) => {
let scoped = query
.eq("companyId", companyId)
@@ -5465,7 +5468,8 @@ export async function getPeopleCapacityOperations(
"job.status",
"in",
'("Draft","Planned","Completed","Cancelled","Closed")'
- );
+ )
+ .limit(1, { referencedTable: "productionEvent" });
// Null start = no floor: overdue work back to the earliest open op counts
// toward Past due (the released-only status filters already bound the set).
if (args.startDate != null) {
@@ -5474,12 +5478,19 @@ export async function getPeopleCapacityOperations(
return scoped.order("id");
}
);
+ return {
+ ...result,
+ data: result.data?.map(({ productionEvent, ...operation }) => ({
+ ...operation,
+ started: productionEvent.length > 0
+ }))
+ };
}
/**
* The `workCenterShift` links (rung 1 of the availability ladder) for a set of
- * work centers, in ONE `.in()` query. Feeds the Capacity view's per-work-center
- * calendar-hours DISPLAY mirror of the engine ladder.
+ * work centers, in ONE `.in()` query. Feeds the stations' working windows on
+ * the People page (Capacity and Coverage).
*/
export async function getWorkCenterShifts(
client: SupabaseClient<Database>,
@@ -5495,7 +5506,7 @@ export async function getWorkCenterShifts(
/**
* WorkCenter-kind reservations overlapping a window — the Capacity view's
- * Scheduled series. Bounded by the window (not "recent only") so earlier days
+ * Scheduled series and the Matrix Coverage. Bounded by the window (not "recent only") so earlier days
* of the current week keep their completed bookings, filtered to WorkCenter
* rows server-side, and paginated past the PostgREST max_rows cap.
*/
@@ -5507,13 +5518,14 @@ export async function getWorkCenterReservationsRange(
return fetchAllFromTable<{
id: string;
resourceId: string;
+ operationId: string;
startAt: string;
endAt: string;
workHours: number | null;
}>(
client,
"capacityReservation",
- `id, resourceId, startAt, endAt, workHours, job!inner(status)`,
+ `id, resourceId, operationId, startAt, endAt, workHours, job!inner(status)`,
(query) =>
query
.eq("companyId", companyId)
@@ -11585,16 +11597,21 @@ export async function getHolidayDates(
error: null
};
}
+type FactorUnit = Database["public"]["Enums"]["factor"];
+
type CapacityOperation = {
workCenterId: string | null;
dueDate: string | null;
setupTime?: number;
- setupUnit?: string;
+ setupUnit?: FactorUnit;
laborTime?: number;
- laborUnit?: string;
+ laborUnit?: FactorUnit;
machineTime?: number;
- machineUnit?: string;
+ machineUnit?: FactorUnit;
operationQuantity: number | null;
+ quantityComplete?: number | null;
+ /** Any production event recorded: setup is done. */
+ started?: boolean;
};
type CapacityReservation = {
@@ -11604,97 +11621,227 @@ type CapacityReservation = {
workHours: number | null;
};
-/** A location shift reduced to its per-day hours and which weekdays it runs. */
-type CapacityShift = {
- id: string;
- /** shift hours per day (start→end duration, or the location default). */
- hours: number;
- /** 7 weekday flags, Sunday-first (index 0 = Sunday … 6 = Saturday). */
- runsOn: boolean[];
-};
+/**
+ * The open maintenance outages of each work center (`downtimeOutages`), read
+ * the way the scheduler reads them, for the Capacity view.
+ */
+export async function getWorkCenterOutages(
+ client: SupabaseClient<Database>,
+ companyId: string,
+ args: { workCenterIds: string[]; rangeEnd: number }
+): Promise<{
+ data: Map<string, CalendarWindow[]>;
+ error: PostgrestError | null;
+}> {
+ if (args.workCenterIds.length === 0) return { data: new Map(), error: null };
+ const dispatches = await fetchAllRecords<{
+ id: string;
+ workCenterId: string | null;
+ plannedStartTime: string | null;
+ plannedEndTime: string | null;
+ actualStartTime: string | null;
+ actualEndTime: string | null;
+ createdAt: string;
+ }>(() =>
+ client
+ .from("maintenanceDispatch")
+ .select(
+ "id, workCenterId, plannedStartTime, plannedEndTime, actualStartTime, actualEndTime, createdAt"
+ )
+ .eq("companyId", companyId)
+ .eq("takesWorkCenterOffline", true)
+ .not("status", "in", '("Completed","Cancelled")')
+ .order("id")
+ );
+ if (dispatches.error) return { data: new Map(), error: dispatches.error };
+ if (dispatches.data.length === 0) return { data: new Map(), error: null };
+
+ const joined = await fetchAllByIds<{
+ id: string;
+ maintenanceDispatchId: string;
+ workCenterId: string;
+ }>(
+ dispatches.data.map((dispatch) => dispatch.id),
+ (batch) =>
+ client
+ .from("maintenanceDispatchWorkCenter")
+ .select("id, maintenanceDispatchId, workCenterId")
+ .eq("companyId", companyId)
+ .in("maintenanceDispatchId", batch)
+ .order("id")
+ );
+ if (joined.error) return { data: new Map(), error: joined.error };
-// Rung 3 of the ladder: no shifts anywhere → stock Mon–Fri, 8h/day. Mirrors the
-// engine's stock week (08:00–16:00 = 8h) so machine and people capacity assume
-// the same default day.
-const FALLBACK_SHIFT_HOURS = 8;
+ return {
+ data: downtimeOutages({
+ dispatches: dispatches.data,
+ dispatchWorkCenters: joined.data,
+ workCenterIds: args.workCenterIds,
+ rangeEnd: args.rangeEnd
+ }),
+ error: null
+ };
+}
/**
- * DAY-granularity mirror of the engine's machine-availability ladder, for the
- * Capacity view's Available series. The engine
- * (`packages/planning/src/scheduling/machine-availability.ts`)
- * owns the AUTHORITATIVE wall-clock ladder; this is DISPLAY math and resolves the
- * same rungs at day granularity.
- *
- * Per work center, per week date, resolved in order:
- * 1. `alwaysOn` → 24h (lights-out).
- * 2. explicit `workCenterShift` rows → Σ (shift hours whose weekday flag covers
- * that date) over the work center's shifts.
- * 3. no WC rows but the location has shifts → the same Σ over the location's
- * shifts.
- * 4. no shifts anywhere → 8h on Mon–Fri, 0 on the weekend.
+ * The windows a station can work: its working windows with its maintenance
+ * outages taken out — what the scheduler places work in.
*/
-export function getWorkCenterCalendarHoursByDay(args: {
- workCenters: { id: string; alwaysOn: boolean }[];
- workCenterShifts: { workCenterId: string; shiftId: string }[];
- locationShifts: CapacityShift[];
- /** Shifts a work center is linked to at another location. */
- linkedShifts?: CapacityShift[];
+export function withoutOutages(
+ windowsByWorkCenter: Map<string, CalendarWindow[]>,
+ outagesByWorkCenter: Map<string, CalendarWindow[]>
+): Map<string, CalendarWindow[]> {
+ const result = new Map(windowsByWorkCenter);
+ for (const [workCenterId, outages] of outagesByWorkCenter) {
+ const windows = result.get(workCenterId);
+ if (windows) result.set(workCenterId, subtractIntervals(windows, outages));
+ }
+ return result;
+}
+
+/** Each week date's bounds on the plant's calendar (DST-aware). */
+function plantDayBounds(weekDates: string[], timezone: string) {
+ return weekDates.map((day) => {
+ const dayDate = parseDate(day);
+ return {
+ day,
+ startMs: dayDate.toDate(timezone).getTime(),
+ endMs: dayDate.add({ days: 1 }).toDate(timezone).getTime()
+ };
+ });
+}
+
+/**
+ * Working hours per plant day for each work center: the Capacity view's
+ * Available series, read off the windows the scheduler places work in
+ * (shifts, holidays, maintenance downtime). A lights-out station's day is the
+ * length of that local day, 23 or 25 hours across a DST change.
+ */
+export function workingHoursByDay(args: {
+ windowsByWorkCenter: Map<string, CalendarWindow[]>;
weekDates: string[];
- /** Company holidays: 0 hours, except on a lights-out station. */
- holidayDates?: Set<string>;
+ timezone: string;
}): Map<string, Map<string, number>> {
- const { workCenters, workCenterShifts, locationShifts, weekDates } = args;
- const holidayDates = args.holidayDates ?? new Set<string>();
-
- const shiftById = new Map(
- [...locationShifts, ...(args.linkedShifts ?? [])].map((shift) => [
- shift.id,
- shift
- ])
- );
- const shiftIdsByWorkCenter = new Map<string, string[]>();
- for (const link of workCenterShifts) {
- const list = shiftIdsByWorkCenter.get(link.workCenterId);
- if (list) list.push(link.shiftId);
- else shiftIdsByWorkCenter.set(link.workCenterId, [link.shiftId]);
+ const days = plantDayBounds(args.weekDates, args.timezone);
+ const result = new Map<string, Map<string, number>>();
+ for (const [workCenterId, windows] of args.windowsByWorkCenter) {
+ result.set(
+ workCenterId,
+ new Map(
+ days.map(({ day, startMs, endMs }) => [
+ day,
+ workingOverlapMs(windows, startMs, endMs) / HOUR_MS
+ ])
+ )
+ );
}
+ return result;
+}
- // weekday index per week date — a plain calendar date, so timezone-independent
- const dowByDate = weekDates.map((day) =>
- getDayOfWeek(parseDate(day), "en-US")
+/**
+ * Each operation's hands-on share of its booking (attended ÷ duration,
+ * `remainingWorkHours`), and whether its process needs a qualified operator.
+ * An operation with nothing left keeps the share of its full time standards:
+ * its booking stands until the next re-plan.
+ */
+export async function getOperationAttendedShares(
+ client: SupabaseClient<Database>,
+ companyId: string,
+ operationIds: string[]
+): Promise<{
+ data: Map<string, { share: number; gated: boolean }>;
+ error: PostgrestError | null;
+}> {
+ const operations = await fetchAllByIds<{
+ id: string;
+ operationQuantity: number | null;
+ quantityComplete: number | null;
+ setupTime: number;
+ setupUnit: FactorUnit;
+ laborTime: number;
+ laborUnit: FactorUnit;
+ machineTime: number;
+ machineUnit: FactorUnit;
+ process: { requiresAbility: boolean } | null;
+ productionEvent: { id: string }[];
+ }>([...new Set(operationIds)], (batch) =>
+ client
+ .from("jobOperation")
+ .select(
+ "id, operationQuantity, quantityComplete, setupTime, setupUnit, laborTime, laborUnit, machineTime, machineUnit, process(requiresAbility), productionEvent(id)"
+ )
+ .in("id", batch)
+ .eq("companyId", companyId)
+ .limit(1, { referencedTable: "productionEvent" })
+ .order("id")
);
+ if (operations.error) return { data: new Map(), error: operations.error };
+ const shares = new Map<string, { share: number; gated: boolean }>();
+ for (const { productionEvent, process, ...operation } of operations.data) {
+ const remaining = remainingWorkHours(operation, productionEvent.length > 0);
+ const hours =
+ remaining.durationHours > 0
+ ? remaining
+ : remainingWorkHours({ ...operation, quantityComplete: 0 }, false);
+ if (hours.durationHours > 0) {
+ shares.set(operation.id, {
+ share: hours.attendedHours / hours.durationHours,
+ gated: process?.requiresAbility ?? false
+ });
+ }
+ }
+ return { data: shares, error: null };
+}
- const sumShiftHours = (shifts: CapacityShift[], dow: number) =>
- shifts.reduce(
- (sum, shift) => (shift.runsOn[dow] ? sum + shift.hours : sum),
- 0
+/**
+ * Hands-on hours booked per plant day at each work center, for the manning
+ * Matrix's Coverage. The scheduler books people for an operation's setup and
+ * labor at its START and lets the machine run the rest alone, so a booking's
+ * attended hours (its work × the operation's `share`) are laid on the
+ * station's working time from the booking's start. A lights-out station runs
+ * work alone unless its process needs a qualified operator (`gated`).
+ */
+export function attendedHoursByDay(args: {
+ weekDates: string[];
+ timezone: string;
+ reservations: (CapacityReservation & { operationId: string })[];
+ /** `getOperationAttendedShares` */
+ attendedShareByOperation: Map<string, { share: number; gated: boolean }>;
+ windowsByWorkCenter: Map<string, CalendarWindow[]>;
+ lightsOut: Set<string>;
+}): Record<string, Record<string, number>> {
+ const days = plantDayBounds(args.weekDates, args.timezone);
+ const result: Record<string, Record<string, number>> = {};
+ for (const reservation of args.reservations) {
+ const operation = args.attendedShareByOperation.get(
+ reservation.operationId
);
-
- const result = new Map<string, Map<string, number>>();
- for (const workCenter of workCenters) {
- const wcShiftIds = shiftIdsByWorkCenter.get(workCenter.id) ?? [];
- const wcShifts = wcShiftIds.flatMap((id) => {
- const shift = shiftById.get(id);
- return shift ? [shift] : [];
- });
- const byDate = new Map<string, number>();
- weekDates.forEach((day, i) => {
- const dow = dowByDate[i] ?? 0;
- let hours: number;
- if (workCenter.alwaysOn) {
- hours = 24;
- } else if (holidayDates.has(day)) {
- hours = 0;
- } else if (wcShifts.length > 0) {
- hours = sumShiftHours(wcShifts, dow);
- } else if (locationShifts.length > 0) {
- hours = sumShiftHours(locationShifts, dow);
- } else {
- hours = dow === 0 || dow === 6 ? 0 : FALLBACK_SHIFT_HOURS;
+ if (!operation || operation.share <= 0) continue;
+ if (args.lightsOut.has(reservation.resourceId) && !operation.gated) {
+ continue;
+ }
+ const startMs = Date.parse(reservation.startAt);
+ const endMs = Date.parse(reservation.endAt);
+ const windows = args.windowsByWorkCenter.get(reservation.resourceId) ?? [];
+ // A booking without measured work holds the working time of its span.
+ const workMs =
+ reservation.workHours != null
+ ? reservation.workHours * HOUR_MS
+ : workingOverlapMs(windows, startMs, endMs);
+ let attendedMs = operation.share * workMs;
+ for (const window of windows) {
+ if (attendedMs <= 0) break;
+ const from = Math.max(startMs, window.start);
+ const to = Math.min(endMs, window.end, from + attendedMs);
+ if (to <= from) continue;
+ attendedMs -= to - from;
+ for (const { day, startMs: dayStart, endMs: dayEnd } of days) {
+ const overlap = Math.min(to, dayEnd) - Math.max(from, dayStart);
+ if (overlap <= 0) continue;
+ const byDay = (result[reservation.resourceId] ??= {});
+ byDay[day] = (byDay[day] ?? 0) + overlap / HOUR_MS;
}
- byDate.set(day, hours);
- });
- result.set(workCenter.id, byDate);
+ }
}
return result;
}
@@ -11716,8 +11863,10 @@ function workingOverlapMs(
/**
* The Capacity view's week buckets.
*
- * Demand = open job-operation hours by due date (overdue lands in `pastDue`,
- * like the classic capacity board's Past Weeks column). Scheduled = each
+ * Demand = the hours each open job operation still needs, as the scheduler
+ * counts them (`remainingWorkHours`: setup + the longer of labor and machine,
+ * netted by what is done), by due date. Overdue lands in `pastDue`, like the
+ * classic capacity board's Past Weeks column. Scheduled = each
* reservation's actual work content distributed across its wall-clock span —
* a reservation holds the station for its full span (including idle
* overnight stretches), so distributing `workHours` keeps a spanning op from
@@ -11729,7 +11878,7 @@ export function buildPeopleCapacityBuckets(args: {
timezone: string;
operations: CapacityOperation[];
reservations: CapacityReservation[];
- /** per-work-center calendar hours (the ladder above) — clamps null-workHours reservations. */
+ /** per-work-center working hours (`workingHoursByDay`) — clamps null-workHours reservations. */
calendarHoursByWorkCenter: Map<string, Map<string, number>>;
/**
* Each work center's working windows (`getWorkCenterWorkingWindows`). A
@@ -11761,12 +11910,10 @@ export function buildPeopleCapacityBuckets(args: {
> = {};
for (const operation of operations) {
if (!operation.workCenterId || !operation.dueDate) continue;
- const durations = makeDurations(operation);
- const hours =
- (durations.setupDuration +
- durations.laborDuration +
- durations.machineDuration) /
- HOUR_MS;
+ const hours = remainingWorkHours(
+ operation,
+ operation.started ?? false
+ ).durationHours;
if (hours <= 0) continue;
const bucket = (demandByWorkCenter[operation.workCenterId] ??= {
pastDue: 0,
@@ -11781,14 +11928,7 @@ export function buildPeopleCapacityBuckets(args: {
}
// day boundaries on the plant's calendar, computed once (not per reservation)
- const dayBounds = weekDates.map((day) => {
- const dayDate = parseDate(day);
- return {
- day,
- startMs: dayDate.toDate(timezone).getTime(),
- endMs: dayDate.add({ days: 1 }).toDate(timezone).getTime()
- };
- });
+ const dayBounds = plantDayBounds(weekDates, timezone);
const scheduledByWorkCenter: Record<string, Record<string, number>> = {};
for (const reservation of reservations) {
diff --git a/apps/erp/app/modules/production/ui/Schedule/People/PeopleCapacity.tsx b/apps/erp/app/modules/production/ui/Schedule/People/PeopleCapacity.tsx
index 9ba34095b7..c3a3bfd5ae 100644
--- a/apps/erp/app/modules/production/ui/Schedule/People/PeopleCapacity.tsx
+++ b/apps/erp/app/modules/production/ui/Schedule/People/PeopleCapacity.tsx
@@ -85,7 +85,7 @@ type PeopleCapacityProps = {
shiftHoursById: Record<string, number>;
employeeShiftHours: Record<string, number>;
defaultShiftHours: number;
- /** per-work-center calendar hours (the availability ladder) — the Available series. */
+ /** per-work-center working hours (the scheduler's windows, less maintenance downtime) — the Available series. */
calendarHoursByWorkCenter: Record<string, Record<string, number>>;
/** Company holidays: the plant is closed, so nobody counts as staffed. */
holidayDates: string[];
@@ -201,7 +201,7 @@ export function PeopleCapacity({
defaultShiftHours
]);
- // Available is the calendar-hours ladder, never people-derived — staffing a
+ // Available is the station's working time, never people-derived — staffing a
// station no longer lowers its displayed available hours (the fallback cliff).
const availableHours = useCallback(
(workCenterId: string, date: string) =>
@@ -348,8 +348,9 @@ export function PeopleCapacity({
</span>{" "}
—{" "}
<Trans>
- the station's calendar hours from its shifts. Staffed hours
- (the people you've assigned) show beneath.
+ the station's working hours from its shifts, less holidays
+ and maintenance that takes it offline. Staffed hours (the
+ people you've assigned) show beneath.
</Trans>
</p>
<p>
@@ -368,8 +369,9 @@ export function PeopleCapacity({
</span>{" "}
—{" "}
<Trans>
- the job hours due that day (a due-date basis, not the day
- the work runs), with overdue work in Past due.
+ the job hours still to do that are due that day (a due-date
+ basis, not the day the work runs), with overdue work in Past
+ due.
</Trans>
</p>
</div>
diff --git a/apps/erp/app/modules/production/ui/Schedule/People/PeopleMatrix.tsx b/apps/erp/app/modules/production/ui/Schedule/People/PeopleMatrix.tsx
index 1d316d2c05..abdba32c81 100644
--- a/apps/erp/app/modules/production/ui/Schedule/People/PeopleMatrix.tsx
+++ b/apps/erp/app/modules/production/ui/Schedule/People/PeopleMatrix.tsx
@@ -80,7 +80,8 @@ type PeopleMatrixProps = {
workCenters: MatrixWorkCenter[];
assignments: MatrixAssignment[];
absences: { id: string; employeeId: string; date: string }[];
- demandByWorkCenter: Record<string, { days: Record<string, number> }>;
+ /** work center → date → hands-on hours the schedule books there */
+ attendedByWorkCenter: Record<string, Record<string, number>>;
shiftId: string | null;
locationId: string;
shiftHoursById: Record<string, number>;
@@ -105,7 +106,7 @@ export function PeopleMatrix({
workCenters,
assignments,
absences,
- demandByWorkCenter,
+ attendedByWorkCenter,
shiftId,
locationId,
shiftHoursById,
@@ -210,8 +211,8 @@ export function PeopleMatrix({
(shiftId ? shiftHoursById[shiftId] : undefined) ?? defaultShiftHours;
const neededCount = (workCenterId: string, date: string) => {
- const demand = demandByWorkCenter[workCenterId]?.days[date] ?? 0;
- return Math.ceil(demand / personDayHours);
+ const attended = attendedByWorkCenter[workCenterId]?.[date] ?? 0;
+ return Math.ceil(attended / personDayHours);
};
const dayHeaders = weekDates.map((date) => (
@@ -270,9 +271,11 @@ export function PeopleMatrix({
</p>
<p>
<Trans>
- Needed is the job hours due that day divided by{" "}
- {personDayHours}h, rounded up — the shift you're filtering
- by, or the most common shift length at this location.
+ Needed is the setup and labor hours the schedule books at
+ the station that day, divided by {personDayHours}h and
+ rounded up — the shift you're filtering by, or the most
+ common shift length at this location. Machine time and
+ lights-out stations need nobody.
</Trans>
</p>
<p>
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.json
index f4551a1492..0ddd485a06 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
@@ -777,7 +777,7 @@
{"name":"production_getPeopleAbsencesRange","classification":"READ","schema":"1474d371d593","response":"90f4a38d3460","permission":"production:view","paginates":false},
{"name":"production_getPeopleAssignments","classification":"READ","schema":"b8f638bb77e8","response":"6bf01853c73a","permission":"production:view","paginates":false},
{"name":"production_getPeopleAssignmentsRange","classification":"READ","schema":"c4a3c6cdab79","response":"ba9f9d495de9","permission":"production:view","paginates":false},
- {"name":"production_getPeopleCapacityOperations","classification":"READ","schema":"60e910dcc131","response":"9bbc101347c4","permission":"production:view","paginates":false},
+ {"name":"production_getPeopleCapacityOperations","classification":"READ","schema":"60e910dcc131","response":"2af79c824f82","permission":"production:view","paginates":false},
{"name":"production_getProcedure","classification":"READ","schema":"7f8214d1083f","response":"034de4441d04","permission":"production:view","paginates":false},
{"name":"production_getProcedures","classification":"READ","schema":"cd40ae40fad5","response":"419cf56f7e7d","permission":"production:view","paginates":true},
{"name":"production_getProceduresList","classification":"READ","schema":"31b84d65b2ac","response":"fe6a24448aaa","permission":"production:view","paginates":false},
@@ -798,7 +798,7 @@
{"name":"production_getUnbatchedBatchableOperationCount","classification":"READ","schema":"31b84d65b2ac","response":"683e4ed05232","permission":"production:view","paginates":false},
{"name":"production_getUnscheduledJobs","classification":"READ","schema":"75b90f67d533","response":"eb77a38acf19","permission":"production:view","paginates":false},
{"name":"production_getWorkCenterRequiredAbilities","classification":"READ","schema":"75b90f67d533","response":"7418ea1fc0a7","permission":"production:view","paginates":false},
- {"name":"production_getWorkCenterReservationsRange","classification":"READ","schema":"c310a7ca038d","response":"a7e9bc09d2ab","permission":"production:view","paginates":false},
+ {"name":"production_getWorkCenterReservationsRange","classification":"READ","schema":"c310a7ca038d","response":"ae001677fab0","permission":"production:view","paginates":false},
{"name":"production_getWorkCenterShifts","classification":"READ","schema":"ef138c43c92c","response":"2b4835f80e6c","permission":"production:view","paginates":false},
{"name":"production_insertAssemblyInstructionStep","classification":"WRITE","schema":"bf4512d170cc","response":"00404e686415","permission":"production:create","paginates":false},
{"name":"production_insertJob","classification":"WRITE","schema":"f450754aacd3","response":"ad63dfd9d877","permission":"production:create","paginates":false},
diff --git a/apps/erp/app/routes/x+/priority+/people.tsx b/apps/erp/app/routes/x+/priority+/people.tsx
index 5f19c6df53..c05905f0dd 100644
--- a/apps/erp/app/routes/x+/priority+/people.tsx
+++ b/apps/erp/app/routes/x+/priority+/people.tsx
@@ -27,20 +27,24 @@ import {
getShiftsWithTimesByIds
} from "~/modules/people/people.service";
import {
+ attendedHoursByDay,
buildPeopleCapacityBuckets,
getActiveEmployeeAbilities,
getHolidayDates,
getLocationEmployees,
+ getOperationAttendedShares,
getPeopleAbsences,
getPeopleAbsencesRange,
getPeopleAssignments,
getPeopleAssignmentsRange,
getPeopleCapacityOperations,
- getWorkCenterCalendarHoursByDay,
+ getWorkCenterOutages,
getWorkCenterRequiredAbilities,
getWorkCenterReservationsRange,
getWorkCenterShifts,
- getWorkCenterWorkingWindows
+ getWorkCenterWorkingWindows,
+ withoutOutages,
+ workingHoursByDay
} from "~/modules/production/production.service";
import { OvertimeDialog } from "~/modules/production/ui/Schedule/People/OvertimeDialog";
import { PeopleBoard } from "~/modules/production/ui/Schedule/People/PeopleBoard";
@@ -294,8 +298,12 @@ export async function loader({ request }: LoaderFunctionArgs) {
let calendarHoursByWorkCenter: Record<string, Record<string, number>> = {};
const capacityRungByWorkCenter: Record<string, number> = {};
let capacityHolidayDates: string[] = [];
+ // hands-on hours booked per station per day — the Matrix's Coverage
+ let attendedByWorkCenter: Record<string, Record<string, number>> = {};
if (view !== "board" || range === "week") {
+ // Capacity and Coverage both read the stations' working time.
+ const needsCalendar = view === "capacity" || view === "matrix";
const weekStartDate = weekDates[0];
const weekEndDate = weekDates[weekDates.length - 1];
// reservation window on the plant's calendar, matching the day bucketing
@@ -306,12 +314,11 @@ export async function loader({ request }: LoaderFunctionArgs) {
.add({ days: 1 })
.toDate(timezone);
- const capacityWorkCenterIds =
- view === "capacity"
- ? (workCenters.data ?? []).flatMap((workCenter) =>
- workCenter.id ? [workCenter.id as string] : []
- )
- : [];
+ const capacityWorkCenterIds = needsCalendar
+ ? (workCenters.data ?? []).flatMap((workCenter) =>
+ workCenter.id ? [workCenter.id as string] : []
+ )
+ : [];
const [
rangeAssignments,
@@ -329,22 +336,22 @@ export async function loader({ request }: LoaderFunctionArgs) {
startDate: weekStartDate,
endDate: weekEndDate
}),
- // the week board doesn't show demand — skip the heavy operation scan.
+ // only Capacity shows due-date demand — skip the heavy operation scan.
// Null start = no floor: Past due spans back to the earliest open op.
- view !== "board"
+ view === "capacity"
? getPeopleCapacityOperations(client, companyId, {
locationId,
startDate: null,
endDate: weekEndDate
})
: Promise.resolve({ data: [], error: null }),
- view === "capacity"
+ needsCalendar
? getWorkCenterReservationsRange(client, companyId, {
startAt: weekWindowStart.toISOString(),
endAt: weekWindowEnd.toISOString()
})
: Promise.resolve({ data: [], error: null }),
- view === "capacity" && capacityWorkCenterIds.length > 0
+ capacityWorkCenterIds.length > 0
? getWorkCenterShifts(client, companyId, capacityWorkCenterIds)
: Promise.resolve({ data: [], error: null })
]);
@@ -352,33 +359,28 @@ export async function loader({ request }: LoaderFunctionArgs) {
weekAssignments = rangeAssignments.data ?? [];
weekAbsences = rangeAbsences.data ?? [];
- // The engine (@carbon/planning) owns the authoritative machine-availability
- // ladder; this resolves the same rungs at day granularity for display.
+ // The stations' working windows, resolved by the scheduler's own ladder
+ // (shifts, holidays, open maintenance downtime): Available, the share of
+ // a booking each day gets, and Coverage all read them.
let calendarHoursMap = new Map<string, Map<string, number>>();
let workingWindowsByWorkCenter:
| ReturnType<typeof getWorkCenterWorkingWindows>
| undefined;
- if (view === "capacity") {
+ // Only this location's stations: the read spans the company.
+ const stationIds = new Set(capacityWorkCenterIds);
+ const stationReservations = (reservations.data ?? []).filter(
+ (reservation) => stationIds.has(reservation.resourceId)
+ );
+ if (needsCalendar) {
const wcShiftLinks = workCenterShiftRows.data ?? [];
// A booking can run past the week on either side; its working windows
// (and holidays) are needed across its whole span to divide its hours.
let spanStartMs = weekWindowStart.getTime();
let spanEndMs = weekWindowEnd.getTime();
- for (const reservation of reservations.data ?? []) {
+ for (const reservation of stationReservations) {
spanStartMs = Math.min(spanStartMs, Date.parse(reservation.startAt));
spanEndMs = Math.max(spanEndMs, Date.parse(reservation.endAt));
}
- const holidays = await getHolidayDates(client, companyId, {
- from: toCalendarDate(fromAbsolute(spanStartMs, timezone)).toString(),
- to: toCalendarDate(fromAbsolute(spanEndMs, timezone)).toString()
- });
- if (holidays.error) {
- throw redirect(
- path.to.production,
- await flash(request, error(holidays.error, "Failed to load holidays"))
- );
- }
- const holidayDates = holidays.data;
// A station can be linked to a shift of another location.
const locationShiftIds = new Set(shiftRows.map((shift) => shift.id));
const otherShiftIds = [
@@ -388,20 +390,46 @@ export async function loader({ request }: LoaderFunctionArgs) {
.filter((id) => !locationShiftIds.has(id))
)
];
- const otherShifts =
- otherShiftIds.length > 0
- ? await getShiftsWithTimesByIds(client, companyId, otherShiftIds)
- : { data: [], error: null };
- if (otherShifts.error) {
- throw redirect(
- path.to.production,
- await flash(
- request,
- error(otherShifts.error, "Failed to load shifts")
- )
- );
+ const [holidays, otherShifts, outages, attendedShares] =
+ await Promise.all([
+ getHolidayDates(client, companyId, {
+ from: toCalendarDate(
+ fromAbsolute(spanStartMs, timezone)
+ ).toString(),
+ to: toCalendarDate(fromAbsolute(spanEndMs, timezone)).toString()
+ }),
+ otherShiftIds.length > 0
+ ? getShiftsWithTimesByIds(client, companyId, otherShiftIds)
+ : Promise.resolve({ data: [], error: null }),
+ getWorkCenterOutages(client, companyId, {
+ workCenterIds: capacityWorkCenterIds,
+ rangeEnd: spanEndMs
+ }),
+ view === "matrix"
+ ? getOperationAttendedShares(
+ client,
+ companyId,
+ stationReservations.map((r) => r.operationId)
+ )
+ : Promise.resolve({
+ data: new Map<string, { share: number; gated: boolean }>(),
+ error: null
+ })
+ ]);
+ for (const [read, message] of [
+ [holidays, "Failed to load holidays"],
+ [otherShifts, "Failed to load shifts"],
+ [outages, "Failed to load maintenance downtime"],
+ [attendedShares, "Failed to load operations"]
+ ] as const) {
+ if (read.error) {
+ throw redirect(
+ path.to.production,
+ await flash(request, error(read.error, message))
+ );
+ }
}
- const linkedShiftRows = otherShifts.data ?? [];
+ const holidayDates = holidays.data;
capacityHolidayDates = [...holidayDates];
const ladderWorkCenters = (workCenters.data ?? []).flatMap(
(workCenter) =>
@@ -414,50 +442,24 @@ export async function loader({ request }: LoaderFunctionArgs) {
]
: []
);
- const locationLadderShifts = shiftRows.map((shift) => ({
- id: shift.id,
- hours: shiftHoursById[shift.id] ?? defaultShiftHours,
- runsOn: [
- shift.sunday,
- shift.monday,
- shift.tuesday,
- shift.wednesday,
- shift.thursday,
- shift.friday,
- shift.saturday
- ]
- }));
- calendarHoursMap = getWorkCenterCalendarHoursByDay({
- workCenters: ladderWorkCenters,
- workCenterShifts: wcShiftLinks,
- locationShifts: locationLadderShifts,
- linkedShifts: linkedShiftRows.map((shift) => ({
- id: shift.id,
- hours:
- shiftDurationHours(shift.startTime, shift.endTime) ??
- defaultShiftHours,
- runsOn: [
- shift.sunday,
- shift.monday,
- shift.tuesday,
- shift.wednesday,
- shift.thursday,
- shift.friday,
- shift.saturday
- ]
- })),
+ const windows = withoutOutages(
+ getWorkCenterWorkingWindows({
+ workCenters: ladderWorkCenters,
+ workCenterShifts: wcShiftLinks,
+ shifts: shiftRows,
+ linkedShifts: otherShifts.data ?? [],
+ timeZone: timezone,
+ holidayDates,
+ rangeStart: spanStartMs,
+ rangeEnd: spanEndMs
+ }),
+ outages.data
+ );
+ workingWindowsByWorkCenter = windows;
+ calendarHoursMap = workingHoursByDay({
+ windowsByWorkCenter: windows,
weekDates,
- holidayDates
- });
- workingWindowsByWorkCenter = getWorkCenterWorkingWindows({
- workCenters: ladderWorkCenters,
- workCenterShifts: wcShiftLinks,
- shifts: shiftRows,
- linkedShifts: linkedShiftRows,
- timeZone: timezone,
- holidayDates,
- rangeStart: spanStartMs,
- rangeEnd: spanEndMs
+ timezone
});
const wcHasOwnShifts = new Set(
wcShiftLinks.map((link) => link.workCenterId)
@@ -466,7 +468,7 @@ export async function loader({ request }: LoaderFunctionArgs) {
capacityRungByWorkCenter[workCenter.id] =
workCenter.alwaysOn || wcHasOwnShifts.has(workCenter.id)
? 1
- : locationLadderShifts.length > 0
+ : shiftRows.length > 0
? 2
: 3;
}
@@ -476,13 +478,25 @@ export async function loader({ request }: LoaderFunctionArgs) {
Object.fromEntries(byDay)
])
);
+ if (view === "matrix") {
+ attendedByWorkCenter = attendedHoursByDay({
+ weekDates,
+ timezone,
+ reservations: stationReservations,
+ attendedShareByOperation: attendedShares.data,
+ windowsByWorkCenter: windows,
+ lightsOut: new Set(
+ ladderWorkCenters.flatMap((wc) => (wc.alwaysOn ? [wc.id] : []))
+ )
+ });
+ }
}
const buckets = buildPeopleCapacityBuckets({
weekDates,
timezone,
operations: capacityOperations.data ?? [],
- reservations: reservations.data ?? [],
+ reservations: stationReservations,
calendarHoursByWorkCenter: calendarHoursMap,
workingWindowsByWorkCenter
});
@@ -590,7 +604,8 @@ export async function loader({ request }: LoaderFunctionArgs) {
defaultShiftHours,
calendarHoursByWorkCenter,
capacityRungByWorkCenter,
- capacityHolidayDates
+ capacityHolidayDates,
+ attendedByWorkCenter
};
}
@@ -630,7 +645,8 @@ export default function SchedulePeopleRoute() {
defaultShiftHours,
calendarHoursByWorkCenter,
capacityRungByWorkCenter,
- capacityHolidayDates
+ capacityHolidayDates,
+ attendedByWorkCenter
} = useLoaderData<typeof loader>();
const { locale } = useLocale();
const [overtimeOpen, setOvertimeOpen] = useState(false);
@@ -824,7 +840,7 @@ export default function SchedulePeopleRoute() {
workCenters={displayedWorkCenters}
assignments={matrixAssignments}
absences={weekAbsences}
- demandByWorkCenter={demandByWorkCenter}
+ attendedByWorkCenter={attendedByWorkCenter}
shiftId={shiftId}
locationId={locationId}
shiftHoursById={shiftHoursById}
diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.po
index 10089eeba0..3455d36b61 100644
--- a/packages/locale/locales/de/erp.po
+++ b/packages/locale/locales/de/erp.po
@@ -68,10 +68,18 @@ msgstr "{0, plural, one {# blockierter Datensatz} other {# blockierte Datensätz
msgid "{0, plural, one {# BOM line} other {# BOM lines}}"
msgstr ""
+#. placeholder {0}: counts.unschedulable
+msgid "{0, plural, one {# can't be scheduled} other {# can't be scheduled}}"
+msgstr ""
+
#. placeholder {0}: memberIds.length
msgid "{0, plural, one {# component in this group} other {# components in this group}}"
msgstr "{0, plural, one {# Komponente in dieser Gruppe} other {# Komponenten in dieser Gruppe}}"
+#. placeholder {0}: counts.conflicts
+msgid "{0, plural, one {# conflict} other {# conflicts}}"
+msgstr ""
+
#. placeholder {0}: target.slackDays
msgid "{0, plural, one {# day of slack} other {# days of slack}}"
msgstr "{0, plural, one {# Tag Puffer} other {# Tage Puffer}}"
@@ -80,6 +88,10 @@ msgstr "{0, plural, one {# Tag Puffer} other {# Tage Puffer}}"
msgid "{0, plural, one {# day short} other {# days short}}"
msgstr "{0, plural, one {# Tag zu kurz} other {# Tage zu kurz}}"
+#. placeholder {0}: counts.jobs
+msgid "{0, plural, one {# job} other {# jobs}}"
+msgstr ""
+
#. placeholder {0}: forecast.zeroStandardOperationCount
msgid "{0, plural, one {# operation has no time standards} other {# operations have no time standards}}"
msgstr "{0, plural, one {# Arbeitsgang hat keine Zeitstandards} other {# Arbeitsgänge haben keine Zeitstandards}}"
@@ -96,6 +108,14 @@ msgstr ""
msgid "{0, plural, one {# record needs attention} other {# records need attention}}"
msgstr "{0, plural, one {# Datensatz benötigt Aufmerksamkeit} other {# Datensätze benötigen Aufmerksamkeit}}"
+#. placeholder {0}: counts.reservations
+msgid "{0, plural, one {# reservation} other {# reservations}}"
+msgstr ""
+
+#. placeholder {0}: counts.resources
+msgid "{0, plural, one {# resource} other {# resources}}"
+msgstr ""
+
#. placeholder {0}: totalScopeRows(run.violationRowsByTable)
msgid "{0, plural, one {# row links to data outside this company, so a safety copy of your current data can't be made.} other {# rows link to data outside this company, so a safety copy of your current data can't be made.}}"
msgstr "{0, plural, one {# Zeile verweist auf Daten außerhalb dieses Unternehmens, daher kann keine Sicherungskopie Ihrer aktuellen Daten erstellt werden.} other {# Zeilen verweisen auf Daten außerhalb dieses Unternehmens, daher kann keine Sicherungskopie Ihrer aktuellen Daten erstellt werden.}}"
@@ -487,9 +507,6 @@ msgstr "{completedLines} von {lines} Positionen abgeschlossen"
msgid "{componentCount, plural, one {# component} other {# components}}"
msgstr "{componentCount, plural, one {# Komponente} other {# Komponenten}}"
-msgid "{conflictCount} conflicts"
-msgstr "{conflictCount} Konflikte"
-
msgid "{count, plural, one {# asset} other {# assets}}"
msgstr "{count, plural, one {# Anlage} other {# Anlagen}}"
@@ -529,6 +546,9 @@ msgstr "{days}T"
msgid "{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 "{departmentName} has no work centers at {locationName}. Pick another department or location."
+msgstr ""
+
msgid "{discount} off"
msgstr "{discount} Rabatt"
@@ -686,9 +706,6 @@ msgstr "{remaining, plural, one {# Phase verbleibend} other {# Phasen verbleiben
msgid "{removed} planned invoices are removed."
msgstr "{removed} geplante Rechnungen werden entfernt."
-msgid "{resourceCount} resources · {reservationCount} reservations · {jobCount} jobs"
-msgstr "{resourceCount} Ressourcen · {reservationCount} Reservierungen · {jobCount} Fertigungsaufträge"
-
msgid "{revisionLabel} will be reopened for planning as its next revision. The document already sent to the supplier is unchanged until you finalize and resend the order."
msgstr "{revisionLabel} wird zur Planung als nächste Revision wieder geöffnet. Das bereits an den Lieferanten gesendete Dokument bleibt unverändert, bis Sie die Bestellung abschließen und erneut versenden."
@@ -752,9 +769,6 @@ msgstr "{unmappedRequiredCount, plural, one {Ordnen Sie zunächst das # verbleib
msgid "{unread} unread"
msgstr "{unread} ungelesen"
-msgid "{unschedulableCount} can't be scheduled"
-msgstr "{unschedulableCount} können nicht eingeplant werden"
-
msgid "{updated, plural, one {# part updated} other {# parts updated}}"
msgstr ""
@@ -826,12 +840,6 @@ msgstr "1 Anlage zur Abschreibung · {amount}"
msgid "1 batchable operation is not in a batch — it runs individually until batched"
msgstr "1 Los-fähiger Arbeitsgang ist nicht in einem Los — er läuft einzeln, bis er gebündelt wird"
-msgid "1 can't be scheduled"
-msgstr "1 kann nicht eingeplant werden"
-
-msgid "1 conflict"
-msgstr "1 Konflikt"
-
msgid "1 day"
msgstr "1 Tag"
@@ -14156,8 +14164,8 @@ msgstr "Benötigen Sie die richtigen Spalten?"
msgid "Need-by target"
msgstr "Benötigtdatum"
-msgid "Needed is the job hours due that day divided by {personDayHours}h, rounded up — the shift you're filtering by, or the most common shift length at this location."
-msgstr "Erforderlich sind die für diesen Tag fälligen Arbeitsstunden dividiert durch {personDayHours}h, aufgerundet – die Schicht, nach der Sie filtern, oder die längste durchschnittliche Schichtlänge an diesem Ort."
+msgid "Needed is the setup and labor hours the schedule books at the station that day, divided by {personDayHours}h and rounded up — the shift you're filtering by, or the most common shift length at this location. Machine time and lights-out stations need nobody."
+msgstr ""
msgid "Needs a Business or Partner plan."
msgstr "Benötigt einen Business- oder Partner-Plan."
@@ -14666,6 +14674,9 @@ msgstr "Keine {0} Synchronisierungsvorgänge"
msgid "No {0} yet"
msgstr "Noch keine {0}"
+msgid "No {departmentName} work is scheduled at this location."
+msgstr ""
+
msgid "No {title} yet"
msgstr "Noch keine {title}"
@@ -14760,9 +14771,6 @@ msgstr "Kein CAD-Modell zum Vorschau verfügbar."
msgid "No calibration records found"
msgstr "Keine Kalibrierprotokolle gefunden"
-msgid "No capacity reservations to visualize. Schedule a job to see work-center load."
-msgstr "Keine Kapazitätsreservierungen zum Visualisieren. Planen Sie einen Auftrag, um die Arbeitsplatzauslastung zu sehen."
-
msgid "No changes recorded"
msgstr "Keine Änderungen aufgezeichnet"
@@ -15426,6 +15434,9 @@ msgstr "Keine Arbeitsplätze an diesem Standort"
msgid "No work centers exist"
msgstr "Keine Arbeitsplätze vorhanden"
+msgid "No work centers in {departmentName}"
+msgstr ""
+
msgid "Nom"
msgstr "Nom"
@@ -15595,6 +15606,9 @@ msgstr "Nichts ist synchronisiert, bis Sie die Synchronisierung einschalten."
msgid "Nothing is synced until you turn sync on. Every required account is mapped."
msgstr "Nichts wird synchronisiert, bis Sie die Synchronisierung einschalten. Jedes erforderliche Konto ist zugeordnet."
+msgid "Nothing matches the search and filters"
+msgstr ""
+
msgid "Nothing scheduled — add a station below."
msgstr "Nichts geplant — fügen Sie unten eine Station hinzu."
@@ -23310,8 +23324,8 @@ msgstr "Der Artikel, den jeder Fertigungsauftrag produziert – erforderlich, um
msgid "The item's rental rate"
msgstr "Der Mietpreis des Artikels"
-msgid "the job hours due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
-msgstr "die Arbeitsstunden fällig an diesem Tag (basierend auf dem Fälligkeitsdatum, nicht dem Tag der Ausführung), mit überfälligen Arbeiten unter Überfällig."
+msgid "the job hours still to do that are due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
+msgstr ""
msgid "The job whose operation this outside-processing line covers; the line's receipt closes the operation against this job."
msgstr "Der Auftrag, dessen Operation diese Außenbearbeitungslinie abdeckt; der Beleg der Zeile schließt die Operation gegen diesen Auftrag."
@@ -23456,9 +23470,11 @@ 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."
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The most recent scheduled work at this location was {0}."
-msgstr "Die zuletzt geplante Arbeit an diesem Standort war {0}."
+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."
+msgstr ""
+
+msgid "The most recent scheduled work 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."
@@ -23475,9 +23491,11 @@ msgstr "Die neue Versionsnummer der Methode"
msgid "The new version number of the procedure"
msgstr "Die neue Versionsnummer der Verfahrensanweisung"
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The next scheduled work at this location starts {0}."
-msgstr "Die nächste eingeplante Arbeit an diesem Standort beginnt {0}."
+msgid "The next {departmentName} work at this location starts {nextWorkDate}."
+msgstr ""
+
+msgid "The next scheduled work at this location starts {nextWorkDate}."
+msgstr ""
msgid "The night shift suits you, {name}."
msgstr "Die Nachtschicht passt gut zu dir, {name}."
@@ -23803,8 +23821,8 @@ msgstr "Der Status dieser Angebotsposition – Entwurf, Kein Angebot, Abschließ
msgid "The statement bucket all accounts under this group will use."
msgstr "Der Abrechnungskübel, den alle Konten in dieser Gruppe verwenden."
-msgid "the station's calendar hours from its shifts. Staffed hours (the people you've assigned) show beneath."
-msgstr "die Stunden des Schichtkalenders der Station aus ihren Schichten. Besetzte Stunden (die Personen, die Sie zugewiesen haben) werden darunter angezeigt."
+msgid "the station's working hours from its shifts, less holidays and maintenance that takes it offline. Staffed hours (the people you've assigned) show beneath."
+msgstr ""
msgid "The step's settings — this run predates recording the values it used."
msgstr "Die Einstellungen des Schritts — diese Ausführung stammt von vor dem Aufzeichnen der verwendeten Werte."
diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.po
index b074d53fdf..bcd431d5be 100644
--- a/packages/locale/locales/en/erp.po
+++ b/packages/locale/locales/en/erp.po
@@ -68,10 +68,18 @@ msgstr "{0, plural, one {# blocking record} other {# blocking records}}"
msgid "{0, plural, one {# BOM line} other {# BOM lines}}"
msgstr "{0, plural, one {# BOM line} other {# BOM lines}}"
+#. placeholder {0}: counts.unschedulable
+msgid "{0, plural, one {# can't be scheduled} other {# can't be scheduled}}"
+msgstr "{0, plural, one {# can't be scheduled} other {# can't be scheduled}}"
+
#. placeholder {0}: memberIds.length
msgid "{0, plural, one {# component in this group} other {# components in this group}}"
msgstr "{0, plural, one {# component in this group} other {# components in this group}}"
+#. placeholder {0}: counts.conflicts
+msgid "{0, plural, one {# conflict} other {# conflicts}}"
+msgstr "{0, plural, one {# conflict} other {# conflicts}}"
+
#. placeholder {0}: target.slackDays
msgid "{0, plural, one {# day of slack} other {# days of slack}}"
msgstr "{0, plural, one {# day of slack} other {# days of slack}}"
@@ -80,6 +88,10 @@ msgstr "{0, plural, one {# day of slack} other {# days of slack}}"
msgid "{0, plural, one {# day short} other {# days short}}"
msgstr "{0, plural, one {# day short} other {# days short}}"
+#. placeholder {0}: counts.jobs
+msgid "{0, plural, one {# job} other {# jobs}}"
+msgstr "{0, plural, one {# job} other {# jobs}}"
+
#. placeholder {0}: forecast.zeroStandardOperationCount
msgid "{0, plural, one {# operation has no time standards} other {# operations have no time standards}}"
msgstr "{0, plural, one {# operation has no time standards} other {# operations have no time standards}}"
@@ -96,6 +108,14 @@ msgstr "{0, plural, one {# parameter} other {# parameters}}"
msgid "{0, plural, one {# record needs attention} other {# records need attention}}"
msgstr "{0, plural, one {# record needs attention} other {# records need attention}}"
+#. placeholder {0}: counts.reservations
+msgid "{0, plural, one {# reservation} other {# reservations}}"
+msgstr "{0, plural, one {# reservation} other {# reservations}}"
+
+#. placeholder {0}: counts.resources
+msgid "{0, plural, one {# resource} other {# resources}}"
+msgstr "{0, plural, one {# resource} other {# resources}}"
+
#. placeholder {0}: totalScopeRows(run.violationRowsByTable)
msgid "{0, plural, one {# row links to data outside this company, so a safety copy of your current data can't be made.} other {# rows link to data outside this company, so a safety copy of your current data can't be made.}}"
msgstr "{0, plural, one {# row links to data outside this company, so a safety copy of your current data can't be made.} other {# rows link to data outside this company, so a safety copy of your current data can't be made.}}"
@@ -487,9 +507,6 @@ msgstr "{completedLines} of {lines} lines complete"
msgid "{componentCount, plural, one {# component} other {# components}}"
msgstr "{componentCount, plural, one {# component} other {# components}}"
-msgid "{conflictCount} conflicts"
-msgstr "{conflictCount} conflicts"
-
msgid "{count, plural, one {# asset} other {# assets}}"
msgstr "{count, plural, one {# asset} other {# assets}}"
@@ -529,6 +546,9 @@ msgstr "{days}d"
msgid "{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 "{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 "{discount} off"
msgstr "{discount} off"
@@ -686,9 +706,6 @@ msgstr "{remaining, plural, one {# phase left} other {# phases left}}"
msgid "{removed} planned invoices are removed."
msgstr "{removed} planned invoices are removed."
-msgid "{resourceCount} resources · {reservationCount} reservations · {jobCount} jobs"
-msgstr "{resourceCount} resources · {reservationCount} reservations · {jobCount} jobs"
-
msgid "{revisionLabel} will be reopened for planning as its next revision. The document already sent to the supplier is unchanged until you finalize and resend the order."
msgstr "{revisionLabel} will be reopened for planning as its next revision. The document already sent to the supplier is unchanged until you finalize and resend the order."
@@ -752,9 +769,6 @@ msgstr "{unmappedRequiredCount, plural, one {Map the # remaining required accoun
msgid "{unread} unread"
msgstr "{unread} unread"
-msgid "{unschedulableCount} can't be scheduled"
-msgstr "{unschedulableCount} can't be scheduled"
-
msgid "{updated, plural, one {# part updated} other {# parts updated}}"
msgstr "{updated, plural, one {# part updated} other {# parts updated}}"
@@ -826,12 +840,6 @@ msgstr "1 asset to depreciate · {amount}"
msgid "1 batchable operation is not in a batch — it runs individually until batched"
msgstr "1 batchable operation is not in a batch — it runs individually until batched"
-msgid "1 can't be scheduled"
-msgstr "1 can't be scheduled"
-
-msgid "1 conflict"
-msgstr "1 conflict"
-
msgid "1 day"
msgstr "1 day"
@@ -14156,8 +14164,8 @@ msgstr "Need the right columns?"
msgid "Need-by target"
msgstr "Need-by target"
-msgid "Needed is the job hours due that day divided by {personDayHours}h, rounded up — the shift you're filtering by, or the most common shift length at this location."
-msgstr "Needed is the job hours due that day divided by {personDayHours}h, rounded up — the shift you're filtering by, or the most common shift length at this location."
+msgid "Needed is the setup and labor hours the schedule books at the station that day, divided by {personDayHours}h and rounded up — the shift you're filtering by, or the most common shift length at this location. Machine time and lights-out stations need nobody."
+msgstr "Needed is the setup and labor hours the schedule books at the station that day, divided by {personDayHours}h and rounded up — the shift you're filtering by, or the most common shift length at this location. Machine time and lights-out stations need nobody."
msgid "Needs a Business or Partner plan."
msgstr "Needs a Business or Partner plan."
@@ -14666,6 +14674,9 @@ msgstr "No {0} sync operations"
msgid "No {0} yet"
msgstr "No {0} yet"
+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"
@@ -14760,9 +14771,6 @@ msgstr "No CAD model to preview."
msgid "No calibration records found"
msgstr "No calibration records found"
-msgid "No capacity reservations to visualize. Schedule a job to see work-center load."
-msgstr "No capacity reservations to visualize. Schedule a job to see work-center load."
-
msgid "No changes recorded"
msgstr "No changes recorded"
@@ -15426,6 +15434,9 @@ msgstr "No work centers at this location"
msgid "No work centers exist"
msgstr "No work centers exist"
+msgid "No work centers in {departmentName}"
+msgstr "No work centers in {departmentName}"
+
msgid "Nom"
msgstr "Nom"
@@ -15595,6 +15606,9 @@ msgstr "Nothing is synced until you turn sync on."
msgid "Nothing is synced until you turn sync on. Every required account is mapped."
msgstr "Nothing is synced until you turn sync on. Every required account is mapped."
+msgid "Nothing matches the search and filters"
+msgstr "Nothing matches the search and filters"
+
msgid "Nothing scheduled — add a station below."
msgstr "Nothing scheduled — add a station below."
@@ -23310,8 +23324,8 @@ msgstr "The item each job produces — require it to match to merge output lots"
msgid "The item's rental rate"
msgstr "The item's rental rate"
-msgid "the job hours due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
-msgstr "the job hours due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
+msgid "the job hours still to do that are due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
+msgstr "the job hours still to do that are due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
msgid "The job whose operation this outside-processing line covers; the line's receipt closes the operation against this job."
msgstr "The job whose operation this outside-processing line covers; the line's receipt closes the operation against this job."
@@ -23456,9 +23470,11 @@ 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."
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The most recent scheduled work at this location was {0}."
-msgstr "The most recent scheduled work at this location was {0}."
+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 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."
@@ -23475,9 +23491,11 @@ msgstr "The new version number of the method"
msgid "The new version number of the procedure"
msgstr "The new version number of the procedure"
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The next scheduled work at this location starts {0}."
-msgstr "The next scheduled work at this location starts {0}."
+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 night shift suits you, {name}."
msgstr "The night shift suits you, {name}."
@@ -23803,8 +23821,8 @@ msgstr "The state of this quote line — Draft, No Quote, Complete; No Quote rev
msgid "The statement bucket all accounts under this group will use."
msgstr "The statement bucket all accounts under this group will use."
-msgid "the station's calendar hours from its shifts. Staffed hours (the people you've assigned) show beneath."
-msgstr "the station's calendar hours from its shifts. Staffed hours (the people you've assigned) show beneath."
+msgid "the station's working hours from its shifts, less holidays and maintenance that takes it offline. Staffed hours (the people you've assigned) show beneath."
+msgstr "the station's working hours from its shifts, less holidays and maintenance that takes it offline. Staffed hours (the people you've assigned) show beneath."
msgid "The step's settings — this run predates recording the values it used."
msgstr "The step's settings — this run predates recording the values it used."
diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.po
index 621a574c01..aae42da581 100644
--- a/packages/locale/locales/es/erp.po
+++ b/packages/locale/locales/es/erp.po
@@ -68,10 +68,18 @@ msgstr "{0, plural, one {# registro bloqueante} other {# registros bloqueantes}}
msgid "{0, plural, one {# BOM line} other {# BOM lines}}"
msgstr ""
+#. placeholder {0}: counts.unschedulable
+msgid "{0, plural, one {# can't be scheduled} other {# can't be scheduled}}"
+msgstr ""
+
#. placeholder {0}: memberIds.length
msgid "{0, plural, one {# component in this group} other {# components in this group}}"
msgstr "{0, plural, one {# componente en este grupo} other {# componentes en este grupo}}"
+#. placeholder {0}: counts.conflicts
+msgid "{0, plural, one {# conflict} other {# conflicts}}"
+msgstr ""
+
#. placeholder {0}: target.slackDays
msgid "{0, plural, one {# day of slack} other {# days of slack}}"
msgstr "{0, plural, one {# día de holgura} other {# días de holgura}}"
@@ -80,6 +88,10 @@ msgstr "{0, plural, one {# día de holgura} other {# días de holgura}}"
msgid "{0, plural, one {# day short} other {# days short}}"
msgstr "{0, plural, one {# día de atraso} other {# días de atraso}}"
+#. placeholder {0}: counts.jobs
+msgid "{0, plural, one {# job} other {# jobs}}"
+msgstr ""
+
#. placeholder {0}: forecast.zeroStandardOperationCount
msgid "{0, plural, one {# operation has no time standards} other {# operations have no time standards}}"
msgstr "{0, plural, one {# operación no tiene estándares de tiempo} other {# operaciones no tienen estándares de tiempo}}"
@@ -96,6 +108,14 @@ msgstr ""
msgid "{0, plural, one {# record needs attention} other {# records need attention}}"
msgstr "{0, plural, one {# registro necesita atención} other {# registros necesitan atención}}"
+#. placeholder {0}: counts.reservations
+msgid "{0, plural, one {# reservation} other {# reservations}}"
+msgstr ""
+
+#. placeholder {0}: counts.resources
+msgid "{0, plural, one {# resource} other {# resources}}"
+msgstr ""
+
#. placeholder {0}: totalScopeRows(run.violationRowsByTable)
msgid "{0, plural, one {# row links to data outside this company, so a safety copy of your current data can't be made.} other {# rows link to data outside this company, so a safety copy of your current data can't be made.}}"
msgstr "{0, plural, one {# fila vincula a datos fuera de esta empresa, por lo que no se puede hacer una copia de seguridad de sus datos actuales.} other {# filas vinculan a datos fuera de esta empresa, por lo que no se puede hacer una copia de seguridad de sus datos actuales.}}"
@@ -487,9 +507,6 @@ msgstr "{completedLines} de {lines} líneas completadas"
msgid "{componentCount, plural, one {# component} other {# components}}"
msgstr "{componentCount, plural, one {# componente} other {# componentes}}"
-msgid "{conflictCount} conflicts"
-msgstr "{conflictCount} conflictos"
-
msgid "{count, plural, one {# asset} other {# assets}}"
msgstr "{count, plural, one {# activo} other {# activos}}"
@@ -529,6 +546,9 @@ msgstr "{days}d"
msgid "{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 "{departmentName} has no work centers at {locationName}. Pick another department or location."
+msgstr ""
+
msgid "{discount} off"
msgstr "{discount} descuento"
@@ -686,9 +706,6 @@ msgstr "{remaining, plural, one {# fase restante} other {# fases restantes}}"
msgid "{removed} planned invoices are removed."
msgstr "{removed} facturas planificadas se eliminan."
-msgid "{resourceCount} resources · {reservationCount} reservations · {jobCount} jobs"
-msgstr "{resourceCount} Recursos · {reservationCount} reservaciones · {jobCount} Órdenes de trabajo"
-
msgid "{revisionLabel} will be reopened for planning as its next revision. The document already sent to the supplier is unchanged until you finalize and resend the order."
msgstr "{revisionLabel} se reabrirá para Planificación como su próxima Revisión. El Documento ya enviado al Proveedor permanece sin cambios hasta que finalice y reenvíe la orden."
@@ -752,9 +769,6 @@ msgstr "{unmappedRequiredCount, plural, one {Asigna primero la # cuenta requerid
msgid "{unread} unread"
msgstr "{unread} sin leer"
-msgid "{unschedulableCount} can't be scheduled"
-msgstr "{unschedulableCount} no puede ser programado"
-
msgid "{updated, plural, one {# part updated} other {# parts updated}}"
msgstr ""
@@ -826,12 +840,6 @@ msgstr "1 activo para depreciar · {amount}"
msgid "1 batchable operation is not in a batch — it runs individually until batched"
msgstr "1 operación agrupable no está en un lote de producción — se ejecuta individualmente hasta que se agrupe"
-msgid "1 can't be scheduled"
-msgstr "1 no puede ser programado"
-
-msgid "1 conflict"
-msgstr "1 conflicto"
-
msgid "1 day"
msgstr "1 día"
@@ -14156,8 +14164,8 @@ msgstr "¿Necesitas las columnas correctas?"
msgid "Need-by target"
msgstr "Necesario para"
-msgid "Needed is the job hours due that day divided by {personDayHours}h, rounded up — the shift you're filtering by, or the most common shift length at this location."
-msgstr "Lo necesario son las horas de trabajo vencidas ese día divididas por {personDayHours}h, redondeadas hacia arriba — el turno por el que filtras, o la duración de turno más común en esta ubicación."
+msgid "Needed is the setup and labor hours the schedule books at the station that day, divided by {personDayHours}h and rounded up — the shift you're filtering by, or the most common shift length at this location. Machine time and lights-out stations need nobody."
+msgstr ""
msgid "Needs a Business or Partner plan."
msgstr "Requiere un plan Business o Partner."
@@ -14666,6 +14674,9 @@ msgstr "Sin operaciones de sincronización de {0}"
msgid "No {0} yet"
msgstr "Sin {0} aún"
+msgid "No {departmentName} work is scheduled at this location."
+msgstr ""
+
msgid "No {title} yet"
msgstr "Sin {title} aún"
@@ -14760,9 +14771,6 @@ msgstr "No hay modelo CAD para previsualizar."
msgid "No calibration records found"
msgstr "No se encontraron registros de calibración"
-msgid "No capacity reservations to visualize. Schedule a job to see work-center load."
-msgstr "No hay reservas de capacidad para visualizar. Programa un trabajo para ver la carga del centro de trabajo."
-
msgid "No changes recorded"
msgstr "Sin cambios registrados"
@@ -15426,6 +15434,9 @@ 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 {departmentName}"
+msgstr ""
+
msgid "Nom"
msgstr "Nom"
@@ -15595,6 +15606,9 @@ msgstr "Nada se sincroniza hasta que active la sincronización."
msgid "Nothing is synced until you turn sync on. Every required account is mapped."
msgstr "Nada se sincroniza hasta que actives la sincronización. Cada cuenta requerida está mapeada."
+msgid "Nothing matches the search and filters"
+msgstr ""
+
msgid "Nothing scheduled — add a station below."
msgstr "Nada programado — agrega una estación a continuación."
@@ -23310,8 +23324,8 @@ msgstr "El artículo que cada orden de trabajo produce — requiere que coincida
msgid "The item's rental rate"
msgstr "La tarifa de renta del artículo"
-msgid "the job hours due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
-msgstr "las horas de Orden de trabajo vencidas ese día (una base de fecha de vencimiento, no el día que se ejecuta el trabajo), con trabajo Atrasado en Pasado vencido."
+msgid "the job hours still to do that are due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
+msgstr ""
msgid "The job whose operation this outside-processing line covers; the line's receipt closes the operation against this job."
msgstr "El trabajo cuya operación cubre esta línea de procesamiento externo; el recibo de la línea cierra la operación contra este trabajo."
@@ -23456,9 +23470,11 @@ 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."
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The most recent scheduled work at this location was {0}."
-msgstr "El trabajo programado más reciente en esta ubicación fue {0}."
+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."
+msgstr ""
+
+msgid "The most recent scheduled work 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."
@@ -23475,9 +23491,11 @@ 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"
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The next scheduled work at this location starts {0}."
-msgstr "El próximo trabajo programado en esta ubicación comienza {0}."
+msgid "The next {departmentName} work at this location starts {nextWorkDate}."
+msgstr ""
+
+msgid "The next scheduled work at this location starts {nextWorkDate}."
+msgstr ""
msgid "The night shift suits you, {name}."
msgstr "El turno nocturno te conviene, {name}."
@@ -23803,8 +23821,8 @@ msgstr "El estado de esta línea de cotización - Borrador, Sin Cotización, Com
msgid "The statement bucket all accounts under this group will use."
msgstr "El grupo de estados que utilizan todos los cuentas bajo este grupo."
-msgid "the station's calendar hours from its shifts. Staffed hours (the people you've assigned) show beneath."
-msgstr "las horas de calendario de la estación de sus turnos. Las horas asignadas (las personas que ha asignado) se muestran debajo."
+msgid "the station's working hours from its shifts, less holidays and maintenance that takes it offline. Staffed hours (the people you've assigned) show beneath."
+msgstr ""
msgid "The step's settings — this run predates recording the values it used."
msgstr "La configuración del paso — esta ejecución predice el registro de los valores que usó."
diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.po
index da78a81967..9077225c69 100644
--- a/packages/locale/locales/fr/erp.po
+++ b/packages/locale/locales/fr/erp.po
@@ -68,10 +68,18 @@ msgstr "{0, plural, one {# enregistrement bloquant} other {# enregistrements blo
msgid "{0, plural, one {# BOM line} other {# BOM lines}}"
msgstr ""
+#. placeholder {0}: counts.unschedulable
+msgid "{0, plural, one {# can't be scheduled} other {# can't be scheduled}}"
+msgstr ""
+
#. placeholder {0}: memberIds.length
msgid "{0, plural, one {# component in this group} other {# components in this group}}"
msgstr "{0, plural, one {# composant dans ce groupe} other {# composants dans ce groupe}}"
+#. placeholder {0}: counts.conflicts
+msgid "{0, plural, one {# conflict} other {# conflicts}}"
+msgstr ""
+
#. placeholder {0}: target.slackDays
msgid "{0, plural, one {# day of slack} other {# days of slack}}"
msgstr "{0, plural, one {# jour de marge} other {# jours de marge}}"
@@ -80,6 +88,10 @@ msgstr "{0, plural, one {# jour de marge} other {# jours de marge}}"
msgid "{0, plural, one {# day short} other {# days short}}"
msgstr "{0, plural, one {# jour de retard} other {# jours de retard}}"
+#. placeholder {0}: counts.jobs
+msgid "{0, plural, one {# job} other {# jobs}}"
+msgstr ""
+
#. placeholder {0}: forecast.zeroStandardOperationCount
msgid "{0, plural, one {# operation has no time standards} other {# operations have no time standards}}"
msgstr "{0, plural, one {# opération n'a pas de normes de temps} other {# opérations n'ont pas de normes de temps}}"
@@ -96,6 +108,14 @@ msgstr ""
msgid "{0, plural, one {# record needs attention} other {# records need attention}}"
msgstr "{0, plural, one {# enregistrement nécessite une attention} other {# enregistrements nécessitent une attention}}"
+#. placeholder {0}: counts.reservations
+msgid "{0, plural, one {# reservation} other {# reservations}}"
+msgstr ""
+
+#. placeholder {0}: counts.resources
+msgid "{0, plural, one {# resource} other {# resources}}"
+msgstr ""
+
#. placeholder {0}: totalScopeRows(run.violationRowsByTable)
msgid "{0, plural, one {# row links to data outside this company, so a safety copy of your current data can't be made.} other {# rows link to data outside this company, so a safety copy of your current data can't be made.}}"
msgstr "{0, plural, one {# ligne se connecte à des données en dehors de cette Société, donc une copie de sécurité de vos données actuelles ne peut pas être créée.} other {# lignes se connectent à des données en dehors de cette Société, donc une copie de sécurité de vos données actuelles ne peut pas être créée.}}"
@@ -487,9 +507,6 @@ msgstr "{completedLines} sur {lines} lignes complètes"
msgid "{componentCount, plural, one {# component} other {# components}}"
msgstr "{componentCount, plural, one {# composant} other {# composants}}"
-msgid "{conflictCount} conflicts"
-msgstr "{conflictCount} conflits"
-
msgid "{count, plural, one {# asset} other {# assets}}"
msgstr "{count, plural, one {# actif} other {# actifs}}"
@@ -529,6 +546,9 @@ msgstr "{days}j"
msgid "{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 "{departmentName} has no work centers at {locationName}. Pick another department or location."
+msgstr ""
+
msgid "{discount} off"
msgstr "{discount} de réduction"
@@ -686,9 +706,6 @@ msgstr "{remaining, plural, one {# phase restante} other {# phases restantes}}"
msgid "{removed} planned invoices are removed."
msgstr "{removed} factures planifiées sont supprimées."
-msgid "{resourceCount} resources · {reservationCount} reservations · {jobCount} jobs"
-msgstr "{resourceCount} Ressources · {reservationCount} réservations · {jobCount} Ordres de fabrication"
-
msgid "{revisionLabel} will be reopened for planning as its next revision. The document already sent to the supplier is unchanged until you finalize and resend the order."
msgstr "La révision {revisionLabel} sera rouverte pour planification en tant que sa prochaine révision. Le document déjà envoyé au fournisseur reste inchangé jusqu'à ce que vous finalisiez et renvoyiez la commande."
@@ -752,9 +769,6 @@ msgstr "{unmappedRequiredCount, plural, one {Mapper d'abord le # compte requis r
msgid "{unread} unread"
msgstr "{unread} non lu"
-msgid "{unschedulableCount} can't be scheduled"
-msgstr "{unschedulableCount} ne peuvent pas être planifiés"
-
msgid "{updated, plural, one {# part updated} other {# parts updated}}"
msgstr ""
@@ -826,12 +840,6 @@ msgstr "1 actif à amortir · {amount}"
msgid "1 batchable operation is not in a batch — it runs individually until batched"
msgstr "1 opération pouvant être mise en lot n'est pas dans un lot — elle s'exécute individuellement jusqu'à être mise en lot"
-msgid "1 can't be scheduled"
-msgstr "1 ne peut pas être planifié"
-
-msgid "1 conflict"
-msgstr "1 conflit"
-
msgid "1 day"
msgstr "1 jour"
@@ -14156,8 +14164,8 @@ msgstr "Besoin des bonnes colonnes ?"
msgid "Need-by target"
msgstr "Date de besoin"
-msgid "Needed is the job hours due that day divided by {personDayHours}h, rounded up — the shift you're filtering by, or the most common shift length at this location."
-msgstr "Ce qui est nécessaire est les heures dues ce jour pour les ordres de fabrication divisées par {personDayHours}h, arrondies — l'équipe que vous filtrez, ou la durée d'équipe la plus courante à ce site."
+msgid "Needed is the setup and labor hours the schedule books at the station that day, divided by {personDayHours}h and rounded up — the shift you're filtering by, or the most common shift length at this location. Machine time and lights-out stations need nobody."
+msgstr ""
msgid "Needs a Business or Partner plan."
msgstr "Nécessite un plan Business ou Partner."
@@ -14666,6 +14674,9 @@ msgstr "Aucune opération de synchronisation {0}"
msgid "No {0} yet"
msgstr "Pas encore de {0}"
+msgid "No {departmentName} work is scheduled at this location."
+msgstr ""
+
msgid "No {title} yet"
msgstr "Aucun {title} pour le moment"
@@ -14760,9 +14771,6 @@ msgstr "Aucun modèle CAD à prévisualiser."
msgid "No calibration records found"
msgstr "Aucun enregistrement d'étalonnage trouvé"
-msgid "No capacity reservations to visualize. Schedule a job to see work-center load."
-msgstr "Aucune réservation de capacité à visualiser. Planifiez une tâche pour voir la charge du centre de travail."
-
msgid "No changes recorded"
msgstr "Aucune modification enregistrée"
@@ -15426,6 +15434,9 @@ 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 {departmentName}"
+msgstr ""
+
msgid "Nom"
msgstr "Nom"
@@ -15595,6 +15606,9 @@ msgstr "Rien n'est synchronisé jusqu'à ce que vous activiez la synchronisation
msgid "Nothing is synced until you turn sync on. Every required account is mapped."
msgstr "Rien n'est synchronisé tant que vous n'activez pas la synchronisation. Chaque compte obligatoire est mappé."
+msgid "Nothing matches the search and filters"
+msgstr ""
+
msgid "Nothing scheduled — add a station below."
msgstr "Rien de programmé — ajoutez une station ci-dessous."
@@ -23310,8 +23324,8 @@ msgstr "L'article que chaque ordre de fabrication produit — exiger qu'il corre
msgid "The item's rental rate"
msgstr "Le tarif de location de l'article"
-msgid "the job hours due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
-msgstr "les heures de travail dues ce jour-là (selon la date d'échéance, pas le jour où le travail s'exécute), avec le travail en retard en Retard."
+msgid "the job hours still to do that are due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
+msgstr ""
msgid "The job whose operation this outside-processing line covers; the line's receipt closes the operation against this job."
msgstr "Le travail dont l'opération couvre cette ligne de traitement externe; le reçu de la ligne ferme l'opération contre ce travail."
@@ -23456,9 +23470,11 @@ 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é."
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The most recent scheduled work at this location was {0}."
-msgstr "Le travail planifié le plus récent sur ce site était {0}."
+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."
+msgstr ""
+
+msgid "The most recent scheduled work 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."
@@ -23475,9 +23491,11 @@ 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"
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The next scheduled work at this location starts {0}."
-msgstr "Le travail planifié suivant sur ce site commence {0}."
+msgid "The next {departmentName} work at this location starts {nextWorkDate}."
+msgstr ""
+
+msgid "The next scheduled work at this location starts {nextWorkDate}."
+msgstr ""
msgid "The night shift suits you, {name}."
msgstr "L'équipe de nuit vous convient, {name}."
@@ -23803,8 +23821,8 @@ msgstr "L'état de cette ligne de devis — Brouillon, Refus de devis, Terminé
msgid "The statement bucket all accounts under this group will use."
msgstr "Le groupe d'états que tous les comptes sous ce groupe utiliseront."
-msgid "the station's calendar hours from its shifts. Staffed hours (the people you've assigned) show beneath."
-msgstr "les heures du calendrier de la station selon ses équipes. Les heures pourvues (les personnes que vous avez assignées) s'affichent ci-dessous."
+msgid "the station's working hours from its shifts, less holidays and maintenance that takes it offline. Staffed hours (the people you've assigned) show beneath."
+msgstr ""
msgid "The step's settings — this run predates recording the values it used."
msgstr "Les paramètres de l'étape — cette exécution est antérieure à l'enregistrement des valeurs qu'elle a utilisées."
diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.po
index 0bdec83909..f3b770a29f 100644
--- a/packages/locale/locales/hi/erp.po
+++ b/packages/locale/locales/hi/erp.po
@@ -68,10 +68,18 @@ msgstr "{0, plural, one {# अवरोधक रिकॉर्ड} other {#
msgid "{0, plural, one {# BOM line} other {# BOM lines}}"
msgstr ""
+#. placeholder {0}: counts.unschedulable
+msgid "{0, plural, one {# can't be scheduled} other {# can't be scheduled}}"
+msgstr ""
+
#. placeholder {0}: memberIds.length
msgid "{0, plural, one {# component in this group} other {# components in this group}}"
msgstr "{0, plural, one {इस समूह में # घटक} other {इस समूह में # घटक}}"
+#. placeholder {0}: counts.conflicts
+msgid "{0, plural, one {# conflict} other {# conflicts}}"
+msgstr ""
+
#. placeholder {0}: target.slackDays
msgid "{0, plural, one {# day of slack} other {# days of slack}}"
msgstr "{0, plural, one {# दिन का अतिरिक्त समय} other {# दिन का अतिरिक्त समय}}"
@@ -80,6 +88,10 @@ msgstr "{0, plural, one {# दिन का अतिरिक्त समय}
msgid "{0, plural, one {# day short} other {# days short}}"
msgstr "{0, plural, one {# दिन की कमी} other {# दिन की कमी}}"
+#. placeholder {0}: counts.jobs
+msgid "{0, plural, one {# job} other {# jobs}}"
+msgstr ""
+
#. placeholder {0}: forecast.zeroStandardOperationCount
msgid "{0, plural, one {# operation has no time standards} other {# operations have no time standards}}"
msgstr "{0, plural, one {# ऑपरेशन के लिए कोई समय मानक नहीं है} other {# ऑपरेशन के लिए कोई समय मानक नहीं हैं}}"
@@ -96,6 +108,14 @@ msgstr ""
msgid "{0, plural, one {# record needs attention} other {# records need attention}}"
msgstr "{0, plural, one {# रिकॉर्ड को ध्यान की आवश्यकता है} other {# रिकॉर्ड को ध्यान की आवश्यकता है}}"
+#. placeholder {0}: counts.reservations
+msgid "{0, plural, one {# reservation} other {# reservations}}"
+msgstr ""
+
+#. placeholder {0}: counts.resources
+msgid "{0, plural, one {# resource} other {# resources}}"
+msgstr ""
+
#. placeholder {0}: totalScopeRows(run.violationRowsByTable)
msgid "{0, plural, one {# row links to data outside this company, so a safety copy of your current data can't be made.} other {# rows link to data outside this company, so a safety copy of your current data can't be made.}}"
msgstr "{0, plural, one {# पंक्ति इस कंपनी के बाहर डेटा से जुड़ी है, इसलिए आपके वर्तमान डेटा की सुरक्षा प्रति नहीं बनाई जा सकती।} other {# पंक्तियाँ इस कंपनी के बाहर डेटा से जुड़ी हैं, इसलिए आपके वर्तमान डेटा की सुरक्षा प्रति नहीं बनाई जा सकती।}}"
@@ -487,9 +507,6 @@ msgstr "{completedLines} में से {lines} पंक्तियाँ
msgid "{componentCount, plural, one {# component} other {# components}}"
msgstr "{componentCount, plural, one {# घटक} other {# घटक}}"
-msgid "{conflictCount} conflicts"
-msgstr "{conflictCount} विरोध"
-
msgid "{count, plural, one {# asset} other {# assets}}"
msgstr "{count, plural, one {# संपत्ति} other {# संपत्तियाँ}}"
@@ -529,6 +546,9 @@ msgstr "{days}d"
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 "{departmentName} has no work centers at {locationName}. Pick another department or location."
+msgstr ""
+
msgid "{discount} off"
msgstr "{discount} छूट"
@@ -686,9 +706,6 @@ msgstr "{remaining, plural, one {# चरण बचा} other {# चरण ब
msgid "{removed} planned invoices are removed."
msgstr "{removed} योजनाबद्ध चालान निकाल दिए गए हैं।"
-msgid "{resourceCount} resources · {reservationCount} reservations · {jobCount} jobs"
-msgstr "{resourceCount} संसाधन · {reservationCount} आरक्षण · {jobCount} जॉब"
-
msgid "{revisionLabel} will be reopened for planning as its next revision. The document already sent to the supplier is unchanged until you finalize and resend the order."
msgstr "{revisionLabel} को योजना के लिए फिर से खोला जाएगा क्योंकि यह इसका अगला रिवीजन है। आपूर्तिकर्ता को भेजा गया दस्तावेज़ तब तक अपरिवर्तित रहता है जब तक आप अंतिम रूप नहीं देते और ऑर्डर फिर से भेजते हैं।"
@@ -752,9 +769,6 @@ msgstr "{unmappedRequiredCount, plural, one {पहले # शेष आवश
msgid "{unread} unread"
msgstr "{unread} अपठित"
-msgid "{unschedulableCount} can't be scheduled"
-msgstr "{unschedulableCount} को शेड्यूल नहीं किया जा सकता"
-
msgid "{updated, plural, one {# part updated} other {# parts updated}}"
msgstr ""
@@ -826,12 +840,6 @@ msgstr "1 संपत्ति का मूल्यह्रास करन
msgid "1 batchable operation is not in a batch — it runs individually until batched"
msgstr "1 बैचेबल ऑपरेशन बैच में नहीं है — जब तक बैच न हो जाए, यह अलग-अलग चलता है"
-msgid "1 can't be scheduled"
-msgstr "1 को शेड्यूल नहीं किया जा सकता"
-
-msgid "1 conflict"
-msgstr "1 विरोध"
-
msgid "1 day"
msgstr "1 दिन"
@@ -14156,8 +14164,8 @@ msgstr "क्या आपको सही कॉलम चाहिए?"
msgid "Need-by target"
msgstr "आवश्यकता-द्वारा लक्ष्य"
-msgid "Needed is the job hours due that day divided by {personDayHours}h, rounded up — the shift you're filtering by, or the most common shift length at this location."
-msgstr "आवश्यक उस दिन के कारण काम के घंटे को {personDayHours}h से विभाजित किया जाता है, गोल किया जाता है — आप जिस शिफ्ट को फ़िल्टर कर रहे हैं, या इस स्थान पर सबसे सामान्य शिफ्ट की लंबाई।"
+msgid "Needed is the setup and labor hours the schedule books at the station that day, divided by {personDayHours}h and rounded up — the shift you're filtering by, or the most common shift length at this location. Machine time and lights-out stations need nobody."
+msgstr ""
msgid "Needs a Business or Partner plan."
msgstr "एक बिजनेस या पार्टनर प्लान की आवश्यकता है।"
@@ -14666,6 +14674,9 @@ msgstr "कोई {0} सिंक ऑपरेशन नहीं"
msgid "No {0} yet"
msgstr "अभी कोई {0} नहीं"
+msgid "No {departmentName} work is scheduled at this location."
+msgstr ""
+
msgid "No {title} yet"
msgstr "अभी {title} नहीं है"
@@ -14760,9 +14771,6 @@ msgstr "पूर्वावलोकन के लिए कोई CAD मॉ
msgid "No calibration records found"
msgstr "कोई अंशांकन रिकॉर्ड नहीं मिला"
-msgid "No capacity reservations to visualize. Schedule a job to see work-center load."
-msgstr "कोई क्षमता आरक्षण नहीं है जो देखा जा सके। कार्य-केंद्र लोड देखने के लिए एक नौकरी शेड्यूल करें।"
-
msgid "No changes recorded"
msgstr "कोई परिवर्तन दर्ज नहीं किया गया"
@@ -15426,6 +15434,9 @@ msgstr "इस स्थान पर कोई वर्क सेंटर न
msgid "No work centers exist"
msgstr "कोई वर्क सेंटर मौजूद नहीं है"
+msgid "No work centers in {departmentName}"
+msgstr ""
+
msgid "Nom"
msgstr "नाम"
@@ -15595,6 +15606,9 @@ msgstr "जब तक आप सिंक को चालू नहीं क
msgid "Nothing is synced until you turn sync on. Every required account is mapped."
msgstr "जब तक आप सिंक चालू नहीं करते, कुछ भी सिंक नहीं होता है। हर आवश्यक खाता मैप किया गया है।"
+msgid "Nothing matches the search and filters"
+msgstr ""
+
msgid "Nothing scheduled — add a station below."
msgstr "कुछ भी शेड्यूल नहीं किया गया — नीचे एक स्टेशन जोड़ें।"
@@ -23310,8 +23324,8 @@ msgstr "प्रत्येक जॉब द्वारा उत्पाद
msgid "The item's rental rate"
msgstr "आइटम की किराये की दर"
-msgid "the job hours due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
-msgstr "उस दिन देय नौकरी के घंटे (देय तारीख आधार पर, वह दिन नहीं जब काम चलता है), अतिदेय कार्य पिछली देय में।"
+msgid "the job hours still to do that are due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
+msgstr ""
msgid "The job whose operation this outside-processing line covers; the line's receipt closes the operation against this job."
msgstr "वह काम जिसका संचालन यह बाहरी-प्रसंस्करण लाइन कवर करता है; लाइन की रसीद इस काम के विरुद्ध संचालन को बंद करती है।"
@@ -23456,9 +23470,11 @@ 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 "सबसे संभावित विफलता मोड जिसे अनुरोधकर्ता संदेह करता है; तकनीशियन इसे बंद करते समय की पुष्टि या प्रतिस्थापन करता है, और संदेह और वास्तविक के बीच अंतर विश्वसनीयता रिपोर्ट करता है।"
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The most recent scheduled work at this location was {0}."
-msgstr "इस स्थान पर सबसे हाल ही में शेड्यूल किया गया काम {0} था।"
+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."
+msgstr ""
+
+msgid "The most recent scheduled work 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 "इस लाइन पर प्रति यूनिट मूल्य; इनलाइन ट्रेस आइकन दिखाता है कि कौन सा मूल्य नियम या ओवरराइड इसे उत्पादित किया।"
@@ -23475,9 +23491,11 @@ msgstr "विधि का नया संस्करण संख्या"
msgid "The new version number of the procedure"
msgstr "कार्यविधि की नई संस्करण संख्या"
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The next scheduled work at this location starts {0}."
-msgstr "इस स्थान पर अगला निर्धारित कार्य {0} से शुरू होता है।"
+msgid "The next {departmentName} work at this location starts {nextWorkDate}."
+msgstr ""
+
+msgid "The next scheduled work at this location starts {nextWorkDate}."
+msgstr ""
msgid "The night shift suits you, {name}."
msgstr "रात की शिफ्ट आपको सूट करती है, {name}।"
@@ -23803,8 +23821,8 @@ msgstr "इस कोटेशन पंक्ति की स्थिति
msgid "The statement bucket all accounts under this group will use."
msgstr "विवरण बाल्टी जो इस समूह के सभी खाते उपयोग करेंगे।"
-msgid "the station's calendar hours from its shifts. Staffed hours (the people you've assigned) show beneath."
-msgstr "स्टेशन के शिफ्ट से कैलेंडर घंटे। असाइन किए गए लोग नीचे दिखाई देते हैं।"
+msgid "the station's working hours from its shifts, less holidays and maintenance that takes it offline. Staffed hours (the people you've assigned) show beneath."
+msgstr ""
msgid "The step's settings — this run predates recording the values it used."
msgstr "चरण की सेटिंग — यह रन उन मानों को रिकॉर्ड करने से पहले का है जो इसने उपयोग किए।"
diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.po
index 11966cdb01..051caf2c33 100644
--- a/packages/locale/locales/it/erp.po
+++ b/packages/locale/locales/it/erp.po
@@ -68,10 +68,18 @@ msgstr "{0, plural, one {# record bloccante} other {# record bloccanti}}"
msgid "{0, plural, one {# BOM line} other {# BOM lines}}"
msgstr ""
+#. placeholder {0}: counts.unschedulable
+msgid "{0, plural, one {# can't be scheduled} other {# can't be scheduled}}"
+msgstr ""
+
#. placeholder {0}: memberIds.length
msgid "{0, plural, one {# component in this group} other {# components in this group}}"
msgstr "{0, plural, one {# componente in questo gruppo} other {# componenti in questo gruppo}}"
+#. placeholder {0}: counts.conflicts
+msgid "{0, plural, one {# conflict} other {# conflicts}}"
+msgstr ""
+
#. placeholder {0}: target.slackDays
msgid "{0, plural, one {# day of slack} other {# days of slack}}"
msgstr "{0, plural, one {# giorno di margine} other {# giorni di margine}}"
@@ -80,6 +88,10 @@ msgstr "{0, plural, one {# giorno di margine} other {# giorni di margine}}"
msgid "{0, plural, one {# day short} other {# days short}}"
msgstr "{0, plural, one {# giorno di ritardo} other {# giorni di ritardo}}"
+#. placeholder {0}: counts.jobs
+msgid "{0, plural, one {# job} other {# jobs}}"
+msgstr ""
+
#. placeholder {0}: forecast.zeroStandardOperationCount
msgid "{0, plural, one {# operation has no time standards} other {# operations have no time standards}}"
msgstr "{0, plural, one {# operazione senza standard di tempo} other {# operazioni senza standard di tempo}}"
@@ -96,6 +108,14 @@ msgstr ""
msgid "{0, plural, one {# record needs attention} other {# records need attention}}"
msgstr "{0, plural, one {# record richiede attenzione} other {# record richiedono attenzione}}"
+#. placeholder {0}: counts.reservations
+msgid "{0, plural, one {# reservation} other {# reservations}}"
+msgstr ""
+
+#. placeholder {0}: counts.resources
+msgid "{0, plural, one {# resource} other {# resources}}"
+msgstr ""
+
#. placeholder {0}: totalScopeRows(run.violationRowsByTable)
msgid "{0, plural, one {# row links to data outside this company, so a safety copy of your current data can't be made.} other {# rows link to data outside this company, so a safety copy of your current data can't be made.}}"
msgstr "{0, plural, one {# riga si collega ai dati al di fuori di questa Azienda, quindi non è possibile fare una copia di sicurezza dei dati attuali.} other {# righe si collegano ai dati al di fuori di questa Azienda, quindi non è possibile fare una copia di sicurezza dei dati attuali.}}"
@@ -487,9 +507,6 @@ msgstr "{completedLines} di {lines} righe completate"
msgid "{componentCount, plural, one {# component} other {# components}}"
msgstr "{componentCount, plural, one {# componente} other {# componenti}}"
-msgid "{conflictCount} conflicts"
-msgstr "{conflictCount} conflitti"
-
msgid "{count, plural, one {# asset} other {# assets}}"
msgstr "{count, plural, one {# cespite} other {# cespiti}}"
@@ -529,6 +546,9 @@ msgstr "{days}g"
msgid "{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 "{departmentName} has no work centers at {locationName}. Pick another department or location."
+msgstr ""
+
msgid "{discount} off"
msgstr "{discount} di sconto"
@@ -686,9 +706,6 @@ msgstr "{remaining, plural, one {# fase rimanente} other {# fasi rimanenti}}"
msgid "{removed} planned invoices are removed."
msgstr "{removed} fatture pianificate sono rimosse."
-msgid "{resourceCount} resources · {reservationCount} reservations · {jobCount} jobs"
-msgstr "{resourceCount} risorse · {reservationCount} prenotazioni · {jobCount} ordini di produzione"
-
msgid "{revisionLabel} will be reopened for planning as its next revision. The document already sent to the supplier is unchanged until you finalize and resend the order."
msgstr "{revisionLabel} sarà riaperto per la pianificazione come prossima revisione. Il documento già inviato al fornitore rimane invariato fino a quando non finalizzi e reinvii l'ordine."
@@ -752,9 +769,6 @@ msgstr "{unmappedRequiredCount, plural, one {Mappa prima il # account richiesto
msgid "{unread} unread"
msgstr "{unread} non letti"
-msgid "{unschedulableCount} can't be scheduled"
-msgstr "{unschedulableCount} non può essere programmato"
-
msgid "{updated, plural, one {# part updated} other {# parts updated}}"
msgstr ""
@@ -826,12 +840,6 @@ msgstr "1 immobilizzazione da ammortizzare · {amount}"
msgid "1 batchable operation is not in a batch — it runs individually until batched"
msgstr "1 operazione raggruppabile non è in un lotto — viene eseguita singolarmente fino a quando non viene raggruppata"
-msgid "1 can't be scheduled"
-msgstr "1 non può essere programmato"
-
-msgid "1 conflict"
-msgstr "1 conflitto"
-
msgid "1 day"
msgstr "1 giorno"
@@ -14156,8 +14164,8 @@ msgstr "Hai bisogno delle colonne giuste?"
msgid "Need-by target"
msgstr "Data di necessità"
-msgid "Needed is the job hours due that day divided by {personDayHours}h, rounded up — the shift you're filtering by, or the most common shift length at this location."
-msgstr "Necessario sono le ore di lavoro dovute quel giorno divise per {personDayHours}h, arrotondate - il turno per cui stai filtrando, o la lunghezza di turno più comune in questa posizione."
+msgid "Needed is the setup and labor hours the schedule books at the station that day, divided by {personDayHours}h and rounded up — the shift you're filtering by, or the most common shift length at this location. Machine time and lights-out stations need nobody."
+msgstr ""
msgid "Needs a Business or Partner plan."
msgstr "Richiede un piano Business o Partner."
@@ -14666,6 +14674,9 @@ msgstr "Nessuna operazione di sincronizzazione {0}"
msgid "No {0} yet"
msgstr "Nessun {0} ancora"
+msgid "No {departmentName} work is scheduled at this location."
+msgstr ""
+
msgid "No {title} yet"
msgstr "Nessun {title} ancora"
@@ -14760,9 +14771,6 @@ msgstr "Nessun modello CAD da visualizzare."
msgid "No calibration records found"
msgstr "Nessun registro di taratura trovato"
-msgid "No capacity reservations to visualize. Schedule a job to see work-center load."
-msgstr "Nessuna prenotazione di capacità da visualizzare. Pianifica un lavoro per vedere il carico del centro di lavoro."
-
msgid "No changes recorded"
msgstr "Nessuna modifica registrata"
@@ -15426,6 +15434,9 @@ msgstr "Nessun centro di lavoro in questa ubicazione"
msgid "No work centers exist"
msgstr "Non esistono centri di lavoro"
+msgid "No work centers in {departmentName}"
+msgstr ""
+
msgid "Nom"
msgstr "Nom"
@@ -15595,6 +15606,9 @@ msgstr "Nulla è sincronizzato finché non attivi la sincronizzazione."
msgid "Nothing is synced until you turn sync on. Every required account is mapped."
msgstr "Nulla è sincronizzato finché non attivi la sincronizzazione. Ogni account richiesto è mappato."
+msgid "Nothing matches the search and filters"
+msgstr ""
+
msgid "Nothing scheduled — add a station below."
msgstr "Niente programmato — aggiungi una stazione di seguito."
@@ -23310,8 +23324,8 @@ msgstr "L'articolo che ogni ordine di produzione produce — richiedi che corris
msgid "The item's rental rate"
msgstr "La tariffa di noleggio dell'articolo"
-msgid "the job hours due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
-msgstr "le ore di ordine di produzione dovute quel giorno (sulla base della scadenza, non il giorno in cui il lavoro viene eseguito), con il lavoro in ritardo in Scaduto."
+msgid "the job hours still to do that are due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
+msgstr ""
msgid "The job whose operation this outside-processing line covers; the line's receipt closes the operation against this job."
msgstr "Il lavoro la cui operazione copre questa riga di lavorazione esterna; la ricevuta della riga chiude l'operazione su questo lavoro."
@@ -23456,9 +23470,11 @@ 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à."
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The most recent scheduled work at this location was {0}."
-msgstr "Il lavoro programmato più recente presso questa ubicazione era {0}."
+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."
+msgstr ""
+
+msgid "The most recent scheduled work 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."
@@ -23475,9 +23491,11 @@ msgstr "Il nuovo numero di versione del metodo"
msgid "The new version number of the procedure"
msgstr "Il nuovo numero di versione della procedura"
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The next scheduled work at this location starts {0}."
-msgstr "Il prossimo lavoro programmato in questa ubicazione inizia {0}."
+msgid "The next {departmentName} work at this location starts {nextWorkDate}."
+msgstr ""
+
+msgid "The next scheduled work at this location starts {nextWorkDate}."
+msgstr ""
msgid "The night shift suits you, {name}."
msgstr "Il turno di notte ti si addice, {name}."
@@ -23803,8 +23821,8 @@ msgstr "Lo stato di questa riga offerta — Bozza, Nessuna offerta, Completa; Ne
msgid "The statement bucket all accounts under this group will use."
msgstr "Il bucket del rendiconto che tutti gli account sotto questo gruppo utilizzeranno."
-msgid "the station's calendar hours from its shifts. Staffed hours (the people you've assigned) show beneath."
-msgstr "le ore del calendario della stazione dai suoi turni. Le ore di personale (le persone che hai assegnato) vengono visualizzate di seguito."
+msgid "the station's working hours from its shifts, less holidays and maintenance that takes it offline. Staffed hours (the people you've assigned) show beneath."
+msgstr ""
msgid "The step's settings — this run predates recording the values it used."
msgstr "Le impostazioni del passaggio — questa esecuzione precede la registrazione dei valori che ha utilizzato."
diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.po
index 0eae44a1ec..0903b7f062 100644
--- a/packages/locale/locales/ja/erp.po
+++ b/packages/locale/locales/ja/erp.po
@@ -68,10 +68,18 @@ msgstr "{0, plural, one {# ブロック中のレコード} other {# ブロック
msgid "{0, plural, one {# BOM line} other {# BOM lines}}"
msgstr ""
+#. placeholder {0}: counts.unschedulable
+msgid "{0, plural, one {# can't be scheduled} other {# can't be scheduled}}"
+msgstr ""
+
#. placeholder {0}: memberIds.length
msgid "{0, plural, one {# component in this group} other {# components in this group}}"
msgstr "{0, plural, one {このグループ内の # 個のコンポーネント} other {このグループ内の # 個のコンポーネント}}"
+#. placeholder {0}: counts.conflicts
+msgid "{0, plural, one {# conflict} other {# conflicts}}"
+msgstr ""
+
#. placeholder {0}: target.slackDays
msgid "{0, plural, one {# day of slack} other {# days of slack}}"
msgstr "{0, plural, one {# 日のスラック} other {# 日のスラック}}"
@@ -80,6 +88,10 @@ msgstr "{0, plural, one {# 日のスラック} other {# 日のスラック}}"
msgid "{0, plural, one {# day short} other {# days short}}"
msgstr "{0, plural, one {# 日の不足} other {# 日の不足}}"
+#. placeholder {0}: counts.jobs
+msgid "{0, plural, one {# job} other {# jobs}}"
+msgstr ""
+
#. placeholder {0}: forecast.zeroStandardOperationCount
msgid "{0, plural, one {# operation has no time standards} other {# operations have no time standards}}"
msgstr "{0, plural, one {# 工程に標準時間がない} other {# 工程に標準時間がない}}"
@@ -96,6 +108,14 @@ msgstr ""
msgid "{0, plural, one {# record needs attention} other {# records need attention}}"
msgstr "{0, plural, one {# 件のレコードが対応を要しています} other {# 件のレコードが対応を要しています}}"
+#. placeholder {0}: counts.reservations
+msgid "{0, plural, one {# reservation} other {# reservations}}"
+msgstr ""
+
+#. placeholder {0}: counts.resources
+msgid "{0, plural, one {# resource} other {# resources}}"
+msgstr ""
+
#. placeholder {0}: totalScopeRows(run.violationRowsByTable)
msgid "{0, plural, one {# row links to data outside this company, so a safety copy of your current data can't be made.} other {# rows link to data outside this company, so a safety copy of your current data can't be made.}}"
msgstr "{0, plural, one {# 行はこの会社の外部のデータにリンクしているため、現在のデータの安全なコピーを作成できません。} other {# 行はこの会社の外部のデータにリンクしているため、現在のデータの安全なコピーを作成できません。}}"
@@ -487,9 +507,6 @@ msgstr "{completedLines}/{lines}明細完了"
msgid "{componentCount, plural, one {# component} other {# components}}"
msgstr "{componentCount, plural, one {# コンポーネント} other {# コンポーネント}}"
-msgid "{conflictCount} conflicts"
-msgstr "{conflictCount} 個の競合"
-
msgid "{count, plural, one {# asset} other {# assets}}"
msgstr "{count, plural, one {# 個の資産} other {# 個の資産}}"
@@ -529,6 +546,9 @@ msgstr "{days}日"
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 "{departmentName} has no work centers at {locationName}. Pick another department or location."
+msgstr ""
+
msgid "{discount} off"
msgstr "{discount} 割引"
@@ -686,9 +706,6 @@ msgstr "{remaining, plural, one {# フェーズ残り} other {# フェーズ残
msgid "{removed} planned invoices are removed."
msgstr "{removed} 件の計画済み請求書が削除されました。"
-msgid "{resourceCount} resources · {reservationCount} reservations · {jobCount} jobs"
-msgstr "{resourceCount} リソース · {reservationCount} 予約 · {jobCount} 製造指図"
-
msgid "{revisionLabel} will be reopened for planning as its next revision. The document already sent to the supplier is unchanged until you finalize and resend the order."
msgstr "{revisionLabel}は次のリビジョンとして計画のために再オープンされます。仕入先に送付済みの文書は、確定して発注書を再度送信するまで変更されません。"
@@ -752,9 +769,6 @@ msgstr "{unmappedRequiredCount, plural, one {残りの # 個の必須勘定科
msgid "{unread} unread"
msgstr "{unread}件未読"
-msgid "{unschedulableCount} can't be scheduled"
-msgstr "{unschedulableCount}はスケジュール化できません"
-
msgid "{updated, plural, one {# part updated} other {# parts updated}}"
msgstr ""
@@ -826,12 +840,6 @@ msgstr "1件の減価償却対象資産 · {amount}"
msgid "1 batchable operation is not in a batch — it runs individually until batched"
msgstr "1 つのバッチ対象の工程はバッチに含まれていません — それはバッチ化されるまで個別に実行されます"
-msgid "1 can't be scheduled"
-msgstr "1はスケジュール化できません"
-
-msgid "1 conflict"
-msgstr "1 個の競合"
-
msgid "1 day"
msgstr "1日"
@@ -14156,8 +14164,8 @@ msgstr "正しい列が必要ですか?"
msgid "Need-by target"
msgstr "所要日目標"
-msgid "Needed is the job hours due that day divided by {personDayHours}h, rounded up — the shift you're filtering by, or the most common shift length at this location."
-msgstr "必要人数は、その日の予定作業時間を{personDayHours}hで除した値を四捨五入したものです。フィルタリングしているシフト、またはこの場所で最も一般的なシフト長です。"
+msgid "Needed is the setup and labor hours the schedule books at the station that day, divided by {personDayHours}h and rounded up — the shift you're filtering by, or the most common shift length at this location. Machine time and lights-out stations need nobody."
+msgstr ""
msgid "Needs a Business or Partner plan."
msgstr "ビジネスプランまたはパートナープランが必要です。"
@@ -14666,6 +14674,9 @@ msgstr "{0}の同期操作はありません。"
msgid "No {0} yet"
msgstr "まだ{0}がありません"
+msgid "No {departmentName} work is scheduled at this location."
+msgstr ""
+
msgid "No {title} yet"
msgstr "{title}はまだありません"
@@ -14760,9 +14771,6 @@ msgstr "プレビューするCADモデルがありません。"
msgid "No calibration records found"
msgstr "校正記録が見つかりません"
-msgid "No capacity reservations to visualize. Schedule a job to see work-center load."
-msgstr "表示する容量予約はありません。ジョブをスケジュールして作業センターの負荷を表示してください。"
-
msgid "No changes recorded"
msgstr "変更が記録されていません"
@@ -15426,6 +15434,9 @@ msgstr "この拠点には作業区がありません"
msgid "No work centers exist"
msgstr "作業区がありません"
+msgid "No work centers in {departmentName}"
+msgstr ""
+
msgid "Nom"
msgstr "公称値"
@@ -15595,6 +15606,9 @@ msgstr "同期を有効にするまで、何も同期されません。"
msgid "Nothing is synced until you turn sync on. Every required account is mapped."
msgstr "同期をオンにするまで、何も同期されません。必要なすべてのアカウントがマップされています。"
+msgid "Nothing matches the search and filters"
+msgstr ""
+
msgid "Nothing scheduled — add a station below."
msgstr "スケジュールがありません。以下にステーションを追加してください。"
@@ -23310,8 +23324,8 @@ msgstr "各製造指図が生産する品目 — 出力ロットをマージす
msgid "The item's rental rate"
msgstr "品目のレンタル料金"
-msgid "the job hours due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
-msgstr "その日に期限切れになるジョブの時間(作業が実行される日ではなく、期限日ベース)、期限超過の作業は「期限超過」に表示されます。"
+msgid "the job hours still to do that are due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
+msgstr ""
msgid "The job whose operation this outside-processing line covers; the line's receipt closes the operation against this job."
msgstr "この外部加工明細が対象とする作業。行の受領はこの作業に対して操作を閉じます。"
@@ -23456,9 +23470,11 @@ 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 "リクエスターが疑う最も可能性の高い故障モード。技術者はクローズ時にこれを確認または置き換え、疑われたものと実際のものの違いが信頼性レポートに表示されます。"
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The most recent scheduled work at this location was {0}."
-msgstr "この拠点での最後のスケジュール作業は{0}でした。"
+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."
+msgstr ""
+
+msgid "The most recent scheduled work 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 "この明細の協議済み単価。この明細に表示されるトレースアイコンは、どの価格設定ルールまたは上書きが生成したかを示します。"
@@ -23475,9 +23491,11 @@ msgstr "メソッドの新しいバージョン番号"
msgid "The new version number of the procedure"
msgstr "手順書の新しいバージョン番号"
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The next scheduled work at this location starts {0}."
-msgstr "この拠点の次のスケジュール作業は{0}に開始します。"
+msgid "The next {departmentName} work at this location starts {nextWorkDate}."
+msgstr ""
+
+msgid "The next scheduled work at this location starts {nextWorkDate}."
+msgstr ""
msgid "The night shift suits you, {name}."
msgstr "夜間シフトはあなたに合っています、{name}。"
@@ -23803,8 +23821,8 @@ msgstr "この見積明細の状態 — 下書き、見積辞退、完了。見
msgid "The statement bucket all accounts under this group will use."
msgstr "このグループ下のすべてのアカウントが使用するステートメントバケット。"
-msgid "the station's calendar hours from its shifts. Staffed hours (the people you've assigned) show beneath."
-msgstr "ステーションのシフトからのカレンダー時間。配員時間(割り当てた人員)が下に表示されます。"
+msgid "the station's working hours from its shifts, less holidays and maintenance that takes it offline. Staffed hours (the people you've assigned) show beneath."
+msgstr ""
msgid "The step's settings — this run predates recording the values it used."
msgstr "ステップの設定。この実行は、使用された値の記録より前のものです。"
diff --git a/packages/locale/locales/ko/erp.po b/packages/locale/locales/ko/erp.po
index d88bb1111b..7827d97dea 100644
--- a/packages/locale/locales/ko/erp.po
+++ b/packages/locale/locales/ko/erp.po
@@ -68,10 +68,18 @@ msgstr "{0, plural, one {# 차단 레코드} other {# 차단 레코드}}"
msgid "{0, plural, one {# BOM line} other {# BOM lines}}"
msgstr ""
+#. placeholder {0}: counts.unschedulable
+msgid "{0, plural, one {# can't be scheduled} other {# can't be scheduled}}"
+msgstr ""
+
#. placeholder {0}: memberIds.length
msgid "{0, plural, one {# component in this group} other {# components in this group}}"
msgstr "{0, plural, one {이 그룹의 # 부품} other {이 그룹의 # 부품}}"
+#. placeholder {0}: counts.conflicts
+msgid "{0, plural, one {# conflict} other {# conflicts}}"
+msgstr ""
+
#. placeholder {0}: target.slackDays
msgid "{0, plural, one {# day of slack} other {# days of slack}}"
msgstr "{0, plural, one {여유 # 일} other {여유 # 일}}"
@@ -80,6 +88,10 @@ msgstr "{0, plural, one {여유 # 일} other {여유 # 일}}"
msgid "{0, plural, one {# day short} other {# days short}}"
msgstr "{0, plural, one {# 일 부족} other {# 일 부족}}"
+#. placeholder {0}: counts.jobs
+msgid "{0, plural, one {# job} other {# jobs}}"
+msgstr ""
+
#. placeholder {0}: forecast.zeroStandardOperationCount
msgid "{0, plural, one {# operation has no time standards} other {# operations have no time standards}}"
msgstr "{0, plural, one {# 공정에 표준시간이 없습니다} other {# 공정에 표준시간이 없습니다}}"
@@ -96,6 +108,14 @@ msgstr ""
msgid "{0, plural, one {# record needs attention} other {# records need attention}}"
msgstr "{0, plural, one {# 기록에 주의가 필요합니다} other {# 기록에 주의가 필요합니다}}"
+#. placeholder {0}: counts.reservations
+msgid "{0, plural, one {# reservation} other {# reservations}}"
+msgstr ""
+
+#. placeholder {0}: counts.resources
+msgid "{0, plural, one {# resource} other {# resources}}"
+msgstr ""
+
#. placeholder {0}: totalScopeRows(run.violationRowsByTable)
msgid "{0, plural, one {# row links to data outside this company, so a safety copy of your current data can't be made.} other {# rows link to data outside this company, so a safety copy of your current data can't be made.}}"
msgstr "{0, plural, one {# 행은 이 회사 외부의 데이터에 연결되어 있어서 현재 데이터의 안전한 사본을 만들 수 없습니다.} other {# 행은 이 회사 외부의 데이터에 연결되어 있어서 현재 데이터의 안전한 사본을 만들 수 없습니다.}}"
@@ -487,9 +507,6 @@ msgstr "{completedLines}/{lines} 라인 완료"
msgid "{componentCount, plural, one {# component} other {# components}}"
msgstr "{componentCount, plural, one {# 구성품} other {# 구성품}}"
-msgid "{conflictCount} conflicts"
-msgstr "{conflictCount}개 충돌"
-
msgid "{count, plural, one {# asset} other {# assets}}"
msgstr "{count, plural, one {# 자산} other {# 자산}}"
@@ -529,6 +546,9 @@ msgstr "{days}일"
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 "{departmentName} has no work centers at {locationName}. Pick another department or location."
+msgstr ""
+
msgid "{discount} off"
msgstr "{discount} 할인"
@@ -686,9 +706,6 @@ msgstr "{remaining}단계 남음"
msgid "{removed} planned invoices are removed."
msgstr "{removed}개 계획됨 송장이 제거됨"
-msgid "{resourceCount} resources · {reservationCount} reservations · {jobCount} jobs"
-msgstr "{resourceCount}개 자원 · {reservationCount}개 예약 · {jobCount}개 작업 지시"
-
msgid "{revisionLabel} will be reopened for planning as its next revision. The document already sent to the supplier is unchanged until you finalize and resend the order."
msgstr "{revisionLabel}이(가) 다음 리비전으로 계획을 위해 다시 열기됩니다. 이미 공급업체로 보낸 문서는 주문서를 최종화하고 다시 보낼 때까지 변경되지 않습니다."
@@ -752,9 +769,6 @@ msgstr "{unmappedRequiredCount, plural, one {먼저 # 남은 필수 계정을
msgid "{unread} unread"
msgstr "{unread} 미읽음"
-msgid "{unschedulableCount} can't be scheduled"
-msgstr "{unschedulableCount}개는 일정을 짤 수 없습니다"
-
msgid "{updated, plural, one {# part updated} other {# parts updated}}"
msgstr ""
@@ -826,12 +840,6 @@ msgstr "1개의 감가상각 자산 · {amount}"
msgid "1 batchable operation is not in a batch — it runs individually until batched"
msgstr "1개 배치 가능한 공정은 배치에 포함되지 않음 — 배치될 때까지 개별적으로 실행됨"
-msgid "1 can't be scheduled"
-msgstr "1개는 일정을 짤 수 없습니다"
-
-msgid "1 conflict"
-msgstr "1개 충돌"
-
msgid "1 day"
msgstr "1일"
@@ -14156,8 +14164,8 @@ msgstr "적절한 열이 필요하신가요?"
msgid "Need-by target"
msgstr "소요 일자"
-msgid "Needed is the job hours due that day divided by {personDayHours}h, rounded up — the shift you're filtering by, or the most common shift length at this location."
-msgstr "필요한 것은 그 날의 작업 지시 시간을 {personDayHours}h로 나눈 값(올림)입니다 — 필터링하는 교대조 또는 이 사업장의 가장 일반적인 교대조 길이입니다."
+msgid "Needed is the setup and labor hours the schedule books at the station that day, divided by {personDayHours}h and rounded up — the shift you're filtering by, or the most common shift length at this location. Machine time and lights-out stations need nobody."
+msgstr ""
msgid "Needs a Business or Partner plan."
msgstr "Business 또는 Partner 요금제가 필요합니다."
@@ -14666,6 +14674,9 @@ msgstr "{0} 동기화 작업 없음"
msgid "No {0} yet"
msgstr "아직 {0}이(가) 없습니다"
+msgid "No {departmentName} work is scheduled at this location."
+msgstr ""
+
msgid "No {title} yet"
msgstr "아직 {title} 없음"
@@ -14760,9 +14771,6 @@ msgstr "미리 볼 수 있는 CAD 모델이 없습니다."
msgid "No calibration records found"
msgstr "교정 기록이 없습니다"
-msgid "No capacity reservations to visualize. Schedule a job to see work-center load."
-msgstr "시각화할 용량 예약이 없습니다. 작업을 예약하여 작업 센터 부하를 확인하세요."
-
msgid "No changes recorded"
msgstr "기록된 변경 사항이 없습니다"
@@ -15426,6 +15434,9 @@ msgstr "이 사업장에 작업장이 없습니다"
msgid "No work centers exist"
msgstr "존재하는 작업장이 없습니다"
+msgid "No work centers in {departmentName}"
+msgstr ""
+
msgid "Nom"
msgstr "명목"
@@ -15595,6 +15606,9 @@ msgstr "동기화를 활성화할 때까지 아무것도 동기화되지 않습
msgid "Nothing is synced until you turn sync on. Every required account is mapped."
msgstr "동기화를 켜야 동기화됩니다. 필요한 모든 계정이 매핑되었습니다."
+msgid "Nothing matches the search and filters"
+msgstr ""
+
msgid "Nothing scheduled — add a station below."
msgstr "일정이 없습니다 — 아래에서 스테이션을 추가하세요."
@@ -23310,8 +23324,8 @@ msgstr "각 작업 지시가 생산하는 품목 — 출력 로트를 병합하
msgid "The item's rental rate"
msgstr "품목의 임차료"
-msgid "the job hours due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
-msgstr "그 날에 마감될 작업 지시 시간(작업이 실행되는 날이 아닌 마감일 기준)이며, 기한 초과 작업은 기한 초과 섹션에 표시됩니다."
+msgid "the job hours still to do that are due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
+msgstr ""
msgid "The job whose operation this outside-processing line covers; the line's receipt closes the operation against this job."
msgstr "이 외주 라인이 처리하는 공정작업이 속한 작업입니다. 이 라인의 입고는 해당 작업의 공정작업을 마감합니다."
@@ -23456,9 +23470,11 @@ 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 "요청자가 의심하는 가장 유력한 고장 모드입니다. 기술자는 마감 시 이를 확인하거나 다른 것으로 교체하며, 예상과 실제의 차이는 신뢰성 보고서에 반영됩니다."
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The most recent scheduled work at this location was {0}."
-msgstr "이 사업장에서 가장 최근에 일정이 잡힌 작업은 {0}이었습니다."
+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."
+msgstr ""
+
+msgid "The most recent scheduled work 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 "이 라인에서 협상된 단가입니다. 인라인 추적 아이콘을 통해 어떤 가격 규칙 또는 재정의로 이 값이 산출되었는지 확인할 수 있습니다."
@@ -23475,9 +23491,11 @@ msgstr "방법의 새 버전 번호"
msgid "The new version number of the procedure"
msgstr "절차서의 새로운 버전 번호"
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The next scheduled work at this location starts {0}."
-msgstr "이 사업장의 다음 일정이 잡힌 작업은 {0}에 시작됩니다."
+msgid "The next {departmentName} work at this location starts {nextWorkDate}."
+msgstr ""
+
+msgid "The next scheduled work at this location starts {nextWorkDate}."
+msgstr ""
msgid "The night shift suits you, {name}."
msgstr "야간 교대조가 당신에게 맞습니다, {name}."
@@ -23803,8 +23821,8 @@ msgstr "이 견적 라인의 상태 — 초안, 견적 거절, 완료됨. 견적
msgid "The statement bucket all accounts under this group will use."
msgstr "이 그룹에 속한 모든 계정이 사용할 재무제표 구분입니다."
-msgid "the station's calendar hours from its shifts. Staffed hours (the people you've assigned) show beneath."
-msgstr "스테이션의 교대조로부터의 달력 시간입니다. 배정된 인원의 시간이 아래에 표시됩니다."
+msgid "the station's working hours from its shifts, less holidays and maintenance that takes it offline. Staffed hours (the people you've assigned) show beneath."
+msgstr ""
msgid "The step's settings — this run predates recording the values it used."
msgstr "단계의 설정입니다 — 이 실행은 사용한 값을 기록하기 전의 것입니다."
diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.po
index dca46a5a69..abbc11d594 100644
--- a/packages/locale/locales/pl/erp.po
+++ b/packages/locale/locales/pl/erp.po
@@ -68,10 +68,18 @@ msgstr "{0, plural, one {# rekord blokujący} other {# rekordy blokujące}}"
msgid "{0, plural, one {# BOM line} other {# BOM lines}}"
msgstr ""
+#. placeholder {0}: counts.unschedulable
+msgid "{0, plural, one {# can't be scheduled} other {# can't be scheduled}}"
+msgstr ""
+
#. placeholder {0}: memberIds.length
msgid "{0, plural, one {# component in this group} other {# components in this group}}"
msgstr "{0, plural, one {# składnik w tej grupie} other {# składników w tej grupie}}"
+#. placeholder {0}: counts.conflicts
+msgid "{0, plural, one {# conflict} other {# conflicts}}"
+msgstr ""
+
#. placeholder {0}: target.slackDays
msgid "{0, plural, one {# day of slack} other {# days of slack}}"
msgstr "{0, plural, one {# dzień luzu} few {# dni luzu} many {# dni luzu} other {# dni luzu}}"
@@ -80,6 +88,10 @@ msgstr "{0, plural, one {# dzień luzu} few {# dni luzu} many {# dni luzu} other
msgid "{0, plural, one {# day short} other {# days short}}"
msgstr "{0, plural, one {# dzień za krótko} few {# dni za krótko} many {# dni za krótko} other {# dni za krótko}}"
+#. placeholder {0}: counts.jobs
+msgid "{0, plural, one {# job} other {# jobs}}"
+msgstr ""
+
#. placeholder {0}: forecast.zeroStandardOperationCount
msgid "{0, plural, one {# operation has no time standards} other {# operations have no time standards}}"
msgstr "{0, plural, one {# operacja nie ma standardów czasu} few {# operacje nie mają standardów czasu} many {# operacji nie ma standardów czasu} other {# operacji nie ma standardów czasu}}"
@@ -96,6 +108,14 @@ msgstr ""
msgid "{0, plural, one {# record needs attention} other {# records need attention}}"
msgstr "{0, plural, one {# rekord wymaga uwagi} other {# rekordy wymagają uwagi}}"
+#. placeholder {0}: counts.reservations
+msgid "{0, plural, one {# reservation} other {# reservations}}"
+msgstr ""
+
+#. placeholder {0}: counts.resources
+msgid "{0, plural, one {# resource} other {# resources}}"
+msgstr ""
+
#. placeholder {0}: totalScopeRows(run.violationRowsByTable)
msgid "{0, plural, one {# row links to data outside this company, so a safety copy of your current data can't be made.} other {# rows link to data outside this company, so a safety copy of your current data can't be made.}}"
msgstr "{0, plural, one {# wiersz łączy się z danymi spoza tej firmy, dlatego nie można utworzyć kopii bezpieczeństwa bieżących danych.} other {# wierszy łączy się z danymi spoza tej firmy, dlatego nie można utworzyć kopii bezpieczeństwa bieżących danych.}}"
@@ -487,9 +507,6 @@ msgstr "{completedLines} z {lines} pozycji ukończone"
msgid "{componentCount, plural, one {# component} other {# components}}"
msgstr "{componentCount, plural, one {# komponent} other {# komponenty}}"
-msgid "{conflictCount} conflicts"
-msgstr "{conflictCount} konflikty"
-
msgid "{count, plural, one {# asset} other {# assets}}"
msgstr "{count, plural, one {# zasób} other {# zasoby}}"
@@ -529,6 +546,9 @@ msgstr "{days}d"
msgid "{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 "{departmentName} has no work centers at {locationName}. Pick another department or location."
+msgstr ""
+
msgid "{discount} off"
msgstr "{discount} rabatu"
@@ -686,9 +706,6 @@ msgstr "{remaining, plural, one {# faza pozostała} other {# faz pozostało}}"
msgid "{removed} planned invoices are removed."
msgstr "{removed} zaplanowanych faktur zostało usunięte."
-msgid "{resourceCount} resources · {reservationCount} reservations · {jobCount} jobs"
-msgstr "{resourceCount} zasobów · {reservationCount} rezerwacji · {jobCount} zleceń produkcyjnych"
-
msgid "{revisionLabel} will be reopened for planning as its next revision. The document already sent to the supplier is unchanged until you finalize and resend the order."
msgstr "{revisionLabel} zostanie otwarta ponownie do planowania jako jej następna rewizja. Dokument już wysłany dostawcy pozostaje niezmieniony do czasu sfinalizowania i ponownego wysłania zamówienia."
@@ -752,9 +769,6 @@ msgstr "{unmappedRequiredCount, plural, one {Najpierw zmapuj # pozostałe wymaga
msgid "{unread} unread"
msgstr "{unread} nieprzeczytane"
-msgid "{unschedulableCount} can't be scheduled"
-msgstr "Nie można zaplanować {unschedulableCount}"
-
msgid "{updated, plural, one {# part updated} other {# parts updated}}"
msgstr ""
@@ -826,12 +840,6 @@ msgstr "1 aktywo do amortyzacji · {amount}"
msgid "1 batchable operation is not in a batch — it runs individually until batched"
msgstr "1 operacja możliwa do tworzenia partii nie należy do partii — uruchamia się indywidualnie do czasu jej pogrupowania"
-msgid "1 can't be scheduled"
-msgstr "Nie można zaplanować 1"
-
-msgid "1 conflict"
-msgstr "1 konflikt"
-
msgid "1 day"
msgstr "1 dzień"
@@ -14156,8 +14164,8 @@ msgstr "Potrzebujesz odpowiednich kolumn?"
msgid "Need-by target"
msgstr "Termin zapotrzebowania"
-msgid "Needed is the job hours due that day divided by {personDayHours}h, rounded up — the shift you're filtering by, or the most common shift length at this location."
-msgstr "Potrzebne = godziny pracy przypadające tego dnia podzielone przez {personDayHours}h, zaokrąglone w górę — zmiana, którą filtrujesz, lub najczęstsza długość zmiany w tej lokalizacji."
+msgid "Needed is the setup and labor hours the schedule books at the station that day, divided by {personDayHours}h and rounded up — the shift you're filtering by, or the most common shift length at this location. Machine time and lights-out stations need nobody."
+msgstr ""
msgid "Needs a Business or Partner plan."
msgstr "Wymaga planu Business lub Partner."
@@ -14666,6 +14674,9 @@ msgstr "Brak operacji synchronizacji {0}"
msgid "No {0} yet"
msgstr "Jeszcze brak {0}"
+msgid "No {departmentName} work is scheduled at this location."
+msgstr ""
+
msgid "No {title} yet"
msgstr "Brak {title} na razie"
@@ -14760,9 +14771,6 @@ msgstr "Brak modelu CAD do podglądu."
msgid "No calibration records found"
msgstr "Nie znaleziono zapisów wzorcowania"
-msgid "No capacity reservations to visualize. Schedule a job to see work-center load."
-msgstr "Brak rezerwacji pojemności do wizualizacji. Zaplanuj pracę, aby zobaczyć obciążenie centrum pracy."
-
msgid "No changes recorded"
msgstr "Brak zarejestrowanych zmian"
@@ -15426,6 +15434,9 @@ msgstr "Brak stanowisk roboczych w tej lokalizacji"
msgid "No work centers exist"
msgstr "Nie istnieją stanowiska robocze"
+msgid "No work centers in {departmentName}"
+msgstr ""
+
msgid "Nom"
msgstr "Nom"
@@ -15595,6 +15606,9 @@ msgstr "Nic nie jest zsynchronizowane, dopóki nie włączysz synchronizacji."
msgid "Nothing is synced until you turn sync on. Every required account is mapped."
msgstr "Nic nie jest synchronizowane, dopóki nie włączysz synchronizacji. Każde wymagane konto jest zmapowane."
+msgid "Nothing matches the search and filters"
+msgstr ""
+
msgid "Nothing scheduled — add a station below."
msgstr "Nic nie zaplanowano — dodaj stanowisko poniżej."
@@ -23310,8 +23324,8 @@ msgstr "Artykuł, który każde zlecenie produkcyjne wytwarza — wymagaj jego d
msgid "The item's rental rate"
msgstr "Stawka wynajmu artykułu"
-msgid "the job hours due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
-msgstr "godziny zadania należne tego dnia (na podstawie terminu, nie dnia wykonania), z zalegającymi pracami w Zalegające."
+msgid "the job hours still to do that are due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
+msgstr ""
msgid "The job whose operation this outside-processing line covers; the line's receipt closes the operation against this job."
msgstr "Zadanie, którego operacja pokrywa ta linia przetwarzania zewnętrznego; rachunek linii zamyka operację dla tego zadania."
@@ -23456,9 +23470,11 @@ 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."
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The most recent scheduled work at this location was {0}."
-msgstr "Ostatnia zaplanowana praca w tej lokalizacji była {0}."
+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."
+msgstr ""
+
+msgid "The most recent scheduled work 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."
@@ -23475,9 +23491,11 @@ msgstr "Nowy numer wersji metody"
msgid "The new version number of the procedure"
msgstr "Nowy numer wersji procedury"
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The next scheduled work at this location starts {0}."
-msgstr "Następna zaplanowana praca na tej lokalizacji zaczyna się {0}."
+msgid "The next {departmentName} work at this location starts {nextWorkDate}."
+msgstr ""
+
+msgid "The next scheduled work at this location starts {nextWorkDate}."
+msgstr ""
msgid "The night shift suits you, {name}."
msgstr "Zmiana nocna pasuje do ciebie, {name}."
@@ -23803,8 +23821,8 @@ msgstr "Stan tej pozycji oferty — Wersja robocza, Odmowa oferty, Zakończone;
msgid "The statement bucket all accounts under this group will use."
msgstr "Grupa sprawozdań, którą będą używać wszystkie konta w tej grupie."
-msgid "the station's calendar hours from its shifts. Staffed hours (the people you've assigned) show beneath."
-msgstr "godziny z kalendarza stacji wynikające z jej zmian. Godziny obsadzone (pracownicy, którym przypisano zadanie) pokazane poniżej."
+msgid "the station's working hours from its shifts, less holidays and maintenance that takes it offline. Staffed hours (the people you've assigned) show beneath."
+msgstr ""
msgid "The step's settings — this run predates recording the values it used."
msgstr "Ustawienia kroku — to uruchomienie pochodzi sprzed rejestracji wartości, które zastosowało."
diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.po
index 2c746d4e42..d729385541 100644
--- a/packages/locale/locales/pt/erp.po
+++ b/packages/locale/locales/pt/erp.po
@@ -68,10 +68,18 @@ msgstr "{0, plural, one {# registro bloqueador} other {# registros bloqueadores}
msgid "{0, plural, one {# BOM line} other {# BOM lines}}"
msgstr ""
+#. placeholder {0}: counts.unschedulable
+msgid "{0, plural, one {# can't be scheduled} other {# can't be scheduled}}"
+msgstr ""
+
#. placeholder {0}: memberIds.length
msgid "{0, plural, one {# component in this group} other {# components in this group}}"
msgstr "{0, plural, one {# componente neste grupo} other {# componentes neste grupo}}"
+#. placeholder {0}: counts.conflicts
+msgid "{0, plural, one {# conflict} other {# conflicts}}"
+msgstr ""
+
#. placeholder {0}: target.slackDays
msgid "{0, plural, one {# day of slack} other {# days of slack}}"
msgstr "{0, plural, one {# dia de folga} other {# dias de folga}}"
@@ -80,6 +88,10 @@ msgstr "{0, plural, one {# dia de folga} other {# dias de folga}}"
msgid "{0, plural, one {# day short} other {# days short}}"
msgstr "{0, plural, one {# dia de falta} other {# dias de falta}}"
+#. placeholder {0}: counts.jobs
+msgid "{0, plural, one {# job} other {# jobs}}"
+msgstr ""
+
#. placeholder {0}: forecast.zeroStandardOperationCount
msgid "{0, plural, one {# operation has no time standards} other {# operations have no time standards}}"
msgstr "{0, plural, one {# operação não tem padrões de tempo} other {# operações não têm padrões de tempo}}"
@@ -96,6 +108,14 @@ msgstr ""
msgid "{0, plural, one {# record needs attention} other {# records need attention}}"
msgstr "{0, plural, one {# registro precisa de atenção} other {# registros precisam de atenção}}"
+#. placeholder {0}: counts.reservations
+msgid "{0, plural, one {# reservation} other {# reservations}}"
+msgstr ""
+
+#. placeholder {0}: counts.resources
+msgid "{0, plural, one {# resource} other {# resources}}"
+msgstr ""
+
#. placeholder {0}: totalScopeRows(run.violationRowsByTable)
msgid "{0, plural, one {# row links to data outside this company, so a safety copy of your current data can't be made.} other {# rows link to data outside this company, so a safety copy of your current data can't be made.}}"
msgstr "{0, plural, one {# linha vincula dados fora desta empresa, portanto uma cópia de segurança de seus dados atuais não pode ser feita.} other {# linhas vinculam dados fora desta empresa, portanto uma cópia de segurança de seus dados atuais não pode ser feita.}}"
@@ -487,9 +507,6 @@ msgstr "{completedLines} de {lines} linhas completas"
msgid "{componentCount, plural, one {# component} other {# components}}"
msgstr "{componentCount, plural, one {# componente} other {# componentes}}"
-msgid "{conflictCount} conflicts"
-msgstr "{conflictCount} conflitos"
-
msgid "{count, plural, one {# asset} other {# assets}}"
msgstr "{count, plural, one {# ativo} other {# ativos}}"
@@ -529,6 +546,9 @@ msgstr "{days}d"
msgid "{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 "{departmentName} has no work centers at {locationName}. Pick another department or location."
+msgstr ""
+
msgid "{discount} off"
msgstr "{discount} de desconto"
@@ -686,9 +706,6 @@ msgstr "{remaining, plural, one {# fase restante} other {# fases restantes}}"
msgid "{removed} planned invoices are removed."
msgstr "{removed} faturas planejadas foram removidas."
-msgid "{resourceCount} resources · {reservationCount} reservations · {jobCount} jobs"
-msgstr "{resourceCount} recursos · {reservationCount} reservas · {jobCount} ordens de produção"
-
msgid "{revisionLabel} will be reopened for planning as its next revision. The document already sent to the supplier is unchanged until you finalize and resend the order."
msgstr "{revisionLabel} será reaberto para planejamento como sua próxima revisão. O documento já enviado ao fornecedor permanece inalterado até você finalizar e reenviar o pedido."
@@ -752,9 +769,6 @@ msgstr "{unmappedRequiredCount, plural, one {Mapeie primeiro a # conta obrigató
msgid "{unread} unread"
msgstr "{unread} não lido"
-msgid "{unschedulableCount} can't be scheduled"
-msgstr "{unschedulableCount} não podem ser programadas"
-
msgid "{updated, plural, one {# part updated} other {# parts updated}}"
msgstr ""
@@ -826,12 +840,6 @@ msgstr "1 ativo para depreciar · {amount}"
msgid "1 batchable operation is not in a batch — it runs individually until batched"
msgstr "1 operação agrupável não está em um lote de produção — ela é executada individualmente até ser agrupada"
-msgid "1 can't be scheduled"
-msgstr "1 não pode ser programada"
-
-msgid "1 conflict"
-msgstr "1 conflito"
-
msgid "1 day"
msgstr "1 dia"
@@ -14156,8 +14164,8 @@ msgstr "Precisa das colunas certas?"
msgid "Need-by target"
msgstr "Alvo de necessidade"
-msgid "Needed is the job hours due that day divided by {personDayHours}h, rounded up — the shift you're filtering by, or the most common shift length at this location."
-msgstr "Necessário é as horas de trabalho devidas naquele dia divididas por {personDayHours}h, arredondadas para cima — o turno que você está filtrando ou o comprimento de turno mais comum neste local."
+msgid "Needed is the setup and labor hours the schedule books at the station that day, divided by {personDayHours}h and rounded up — the shift you're filtering by, or the most common shift length at this location. Machine time and lights-out stations need nobody."
+msgstr ""
msgid "Needs a Business or Partner plan."
msgstr "Requer um plano Business ou Partner."
@@ -14666,6 +14674,9 @@ msgstr "Sem operações de sincronização {0}"
msgid "No {0} yet"
msgstr "Nenhum {0} ainda"
+msgid "No {departmentName} work is scheduled at this location."
+msgstr ""
+
msgid "No {title} yet"
msgstr "Sem {title} ainda"
@@ -14760,9 +14771,6 @@ msgstr "Nenhum modelo CAD para visualizar."
msgid "No calibration records found"
msgstr "Nenhum registro de calibração encontrado"
-msgid "No capacity reservations to visualize. Schedule a job to see work-center load."
-msgstr "Nenhuma reserva de capacidade para visualizar. Agende um trabalho para ver a carga do centro de trabalho."
-
msgid "No changes recorded"
msgstr "Nenhuma alteração registrada"
@@ -15426,6 +15434,9 @@ msgstr "Sem centros de trabalho neste local"
msgid "No work centers exist"
msgstr "Nenhum centro de trabalho existe"
+msgid "No work centers in {departmentName}"
+msgstr ""
+
msgid "Nom"
msgstr "Nom"
@@ -15595,6 +15606,9 @@ msgstr "Nada está sincronizado até você ativar a sincronização."
msgid "Nothing is synced until you turn sync on. Every required account is mapped."
msgstr "Nada é sincronizado até você ativar a sincronização. Todas as contas necessárias estão mapeadas."
+msgid "Nothing matches the search and filters"
+msgstr ""
+
msgid "Nothing scheduled — add a station below."
msgstr "Nada agendado — adicione uma estação abaixo."
@@ -23310,8 +23324,8 @@ msgstr "O item que cada ordem de produção produz — exija que corresponda par
msgid "The item's rental rate"
msgstr "A taxa de aluguel do item"
-msgid "the job hours due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
-msgstr "as horas de trabalho devidas naquele dia (com base na data de vencimento, não no dia em que o trabalho é executado), com trabalho atrasado em Vencido."
+msgid "the job hours still to do that are due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
+msgstr ""
msgid "The job whose operation this outside-processing line covers; the line's receipt closes the operation against this job."
msgstr "O trabalho cuja operação cobre essa linha de processamento externo; o recebimento da linha fecha a operação contra esse trabalho."
@@ -23456,9 +23470,11 @@ 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."
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The most recent scheduled work at this location was {0}."
-msgstr "O trabalho programado mais recente neste local foi {0}."
+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."
+msgstr ""
+
+msgid "The most recent scheduled work 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."
@@ -23475,9 +23491,11 @@ 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"
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The next scheduled work at this location starts {0}."
-msgstr "O próximo trabalho programado neste local começa {0}."
+msgid "The next {departmentName} work at this location starts {nextWorkDate}."
+msgstr ""
+
+msgid "The next scheduled work at this location starts {nextWorkDate}."
+msgstr ""
msgid "The night shift suits you, {name}."
msgstr "O turno da noite combina com você, {name}."
@@ -23803,8 +23821,8 @@ msgstr "O estado desta linha do orçamento — Rascunho, Sem cotação, Concluí
msgid "The statement bucket all accounts under this group will use."
msgstr "O grupo de demonstrações que todas as contas sob este grupo usarão."
-msgid "the station's calendar hours from its shifts. Staffed hours (the people you've assigned) show beneath."
-msgstr "as horas do calendário da estação dos seus turnos. As horas pessoais (as pessoas que você atribuiu) aparecem abaixo."
+msgid "the station's working hours from its shifts, less holidays and maintenance that takes it offline. Staffed hours (the people you've assigned) show beneath."
+msgstr ""
msgid "The step's settings — this run predates recording the values it used."
msgstr "As configurações da etapa — essa execução antecede o registro dos valores que usou."
diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.po
index 970880293d..7bc55da115 100644
--- a/packages/locale/locales/ru/erp.po
+++ b/packages/locale/locales/ru/erp.po
@@ -68,10 +68,18 @@ msgstr "{0, plural, one {# блокирующая запись} other {# бло
msgid "{0, plural, one {# BOM line} other {# BOM lines}}"
msgstr ""
+#. placeholder {0}: counts.unschedulable
+msgid "{0, plural, one {# can't be scheduled} other {# can't be scheduled}}"
+msgstr ""
+
#. placeholder {0}: memberIds.length
msgid "{0, plural, one {# component in this group} other {# components in this group}}"
msgstr "{0, plural, one {# компонент в этой группе} other {# компонентов в этой группе}}"
+#. placeholder {0}: counts.conflicts
+msgid "{0, plural, one {# conflict} other {# conflicts}}"
+msgstr ""
+
#. placeholder {0}: target.slackDays
msgid "{0, plural, one {# day of slack} other {# days of slack}}"
msgstr "{0, plural, one {# день страхового запаса} few {# дня страхового запаса} many {# дней страхового запаса} other {# дней страхового запаса}}"
@@ -80,6 +88,10 @@ msgstr "{0, plural, one {# день страхового запаса} few {# д
msgid "{0, plural, one {# day short} other {# days short}}"
msgstr "{0, plural, one {# день недостатка} few {# дня недостатка} many {# дней недостатка} other {# дней недостатка}}"
+#. placeholder {0}: counts.jobs
+msgid "{0, plural, one {# job} other {# jobs}}"
+msgstr ""
+
#. placeholder {0}: forecast.zeroStandardOperationCount
msgid "{0, plural, one {# operation has no time standards} other {# operations have no time standards}}"
msgstr "{0, plural, one {# операция не имеет временных нормативов} few {# операции не имеют временных нормативов} many {# операций не имеют временных нормативов} other {# операций не имеют временных нормативов}}"
@@ -96,6 +108,14 @@ msgstr ""
msgid "{0, plural, one {# record needs attention} other {# records need attention}}"
msgstr "{0, plural, one {# запись требует внимания} other {# записей требуют внимания}}"
+#. placeholder {0}: counts.reservations
+msgid "{0, plural, one {# reservation} other {# reservations}}"
+msgstr ""
+
+#. placeholder {0}: counts.resources
+msgid "{0, plural, one {# resource} other {# resources}}"
+msgstr ""
+
#. placeholder {0}: totalScopeRows(run.violationRowsByTable)
msgid "{0, plural, one {# row links to data outside this company, so a safety copy of your current data can't be made.} other {# rows link to data outside this company, so a safety copy of your current data can't be made.}}"
msgstr "{0, plural, one {# строка связана с данными вне этой организации, поэтому резервная копия ваших текущих данных не может быть создана.} other {# строк связаны с данными вне этой организации, поэтому резервная копия ваших текущих данных не может быть создана.}}"
@@ -487,9 +507,6 @@ msgstr "{completedLines} из {lines} строк завершено"
msgid "{componentCount, plural, one {# component} other {# components}}"
msgstr "{componentCount, plural, one {# компонент} other {# компонентов}}"
-msgid "{conflictCount} conflicts"
-msgstr "{conflictCount} конфликтов"
-
msgid "{count, plural, one {# asset} other {# assets}}"
msgstr "{count, plural, one {# актив} few {# актива} many {# активов} other {# активов}}"
@@ -529,6 +546,9 @@ msgstr "{days}д"
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 "{departmentName} has no work centers at {locationName}. Pick another department or location."
+msgstr ""
+
msgid "{discount} off"
msgstr "{discount} скидка"
@@ -686,9 +706,6 @@ msgstr "{remaining, plural, one {# этап остался} other {# этапо
msgid "{removed} planned invoices are removed."
msgstr "{removed} запланированные счет-фактуры удалены."
-msgid "{resourceCount} resources · {reservationCount} reservations · {jobCount} jobs"
-msgstr "{resourceCount} ресурсов · {reservationCount} резервирований · {jobCount} производственных заказов"
-
msgid "{revisionLabel} will be reopened for planning as its next revision. The document already sent to the supplier is unchanged until you finalize and resend the order."
msgstr "{revisionLabel} будет открыта заново для планирования в качестве следующей ревизии. Документ, уже отправленный поставщику, остаётся без изменений до окончательного утверждения и повторной отправки заказа."
@@ -752,9 +769,6 @@ msgstr "{unmappedRequiredCount, plural, one {Сначала сопоставьт
msgid "{unread} unread"
msgstr "{unread} непрочитанных"
-msgid "{unschedulableCount} can't be scheduled"
-msgstr "{unschedulableCount} не может быть спланировано"
-
msgid "{updated, plural, one {# part updated} other {# parts updated}}"
msgstr ""
@@ -826,12 +840,6 @@ msgstr "1 актив к амортизации · {amount}"
msgid "1 batchable operation is not in a batch — it runs individually until batched"
msgstr "1 группируемая операция не входит в серию — она выполняется отдельно до группировки"
-msgid "1 can't be scheduled"
-msgstr "1 не может быть спланировано"
-
-msgid "1 conflict"
-msgstr "1 конфликт"
-
msgid "1 day"
msgstr "1 день"
@@ -14156,8 +14164,8 @@ msgstr "Нужны правильные столбцы?"
msgid "Need-by target"
msgstr "Целевая дата потребности"
-msgid "Needed is the job hours due that day divided by {personDayHours}h, rounded up — the shift you're filtering by, or the most common shift length at this location."
-msgstr "Необходимо - это рабочие часы, приходящиеся на день, делённые на {personDayHours}ч, округленные в большую сторону — смена, по которой вы фильтруете, или наиболее распространённая длина смены в этом месте."
+msgid "Needed is the setup and labor hours the schedule books at the station that day, divided by {personDayHours}h and rounded up — the shift you're filtering by, or the most common shift length at this location. Machine time and lights-out stations need nobody."
+msgstr ""
msgid "Needs a Business or Partner plan."
msgstr "Требуется план Business или Partner."
@@ -14666,6 +14674,9 @@ msgstr "Нет операций синхронизации {0}"
msgid "No {0} yet"
msgstr "Пока нет {0}"
+msgid "No {departmentName} work is scheduled at this location."
+msgstr ""
+
msgid "No {title} yet"
msgstr "Нет {title} ещё"
@@ -14760,9 +14771,6 @@ msgstr "Нет модели CAD для предпросмотра."
msgid "No calibration records found"
msgstr "Записи о калибровке не найдены"
-msgid "No capacity reservations to visualize. Schedule a job to see work-center load."
-msgstr "Нет резервирований мощности для визуализации. Запланируйте задание, чтобы увидеть нагрузку рабочего центра."
-
msgid "No changes recorded"
msgstr "Изменений не записано"
@@ -15426,6 +15434,9 @@ msgstr "На этой площадке нет рабочих центров"
msgid "No work centers exist"
msgstr "Рабочих центров не существует"
+msgid "No work centers in {departmentName}"
+msgstr ""
+
msgid "Nom"
msgstr "Номин"
@@ -15595,6 +15606,9 @@ msgstr "Ничего не синхронизируется, пока вы не
msgid "Nothing is synced until you turn sync on. Every required account is mapped."
msgstr "Ничего не синхронизируется, пока вы не включите синхронизацию. Каждый требуемый счет распределен."
+msgid "Nothing matches the search and filters"
+msgstr ""
+
msgid "Nothing scheduled — add a station below."
msgstr "Ничего не запланировано — добавьте рабочее место ниже."
@@ -23310,8 +23324,8 @@ msgstr "Номенклатура, которую производит кажды
msgid "The item's rental rate"
msgstr "Ставка аренды номенклатуры"
-msgid "the job hours due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
-msgstr "рабочие часы, подлежащие в этот день (на основе даты срока, не дня выполнения работы), с просроченной работой в разделе «Просроченные»."
+msgid "the job hours still to do that are due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
+msgstr ""
msgid "The job whose operation this outside-processing line covers; the line's receipt closes the operation against this job."
msgstr "Работа, операция которой охватывает эту строку внешней обработки; квитанция по строке закрывает операцию для этой работы."
@@ -23456,9 +23470,11 @@ 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 "Наиболее вероятный режим отказа, который подозревает запросчик; техник подтверждает или заменяет это при закрытии, и разница между подозреваемым и фактическим питает отчеты надежности."
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The most recent scheduled work at this location was {0}."
-msgstr "Самая недавняя запланированная работа на этой площадке была {0}."
+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."
+msgstr ""
+
+msgid "The most recent scheduled work 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 "Согласованная цена за единицу на этой строке; значок встроенной трассировки показывает, какое правило ценообразования или переопределение его создало."
@@ -23475,9 +23491,11 @@ msgstr "Номер новой версии метода"
msgid "The new version number of the procedure"
msgstr "Новый номер версии процедуры"
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The next scheduled work at this location starts {0}."
-msgstr "Следующая запланированная работа на этой площадке начинается {0}."
+msgid "The next {departmentName} work at this location starts {nextWorkDate}."
+msgstr ""
+
+msgid "The next scheduled work at this location starts {nextWorkDate}."
+msgstr ""
msgid "The night shift suits you, {name}."
msgstr "Ночная смена вам подходит, {name}."
@@ -23803,8 +23821,8 @@ msgstr "Состояние этой строки предложения — Че
msgid "The statement bucket all accounts under this group will use."
msgstr "Группа отчетов, которую будут использовать все учетные записи в этой группе."
-msgid "the station's calendar hours from its shifts. Staffed hours (the people you've assigned) show beneath."
-msgstr "часы календаря станции из ее смен. Укомплектованные часы (люди, которых вы назначили) показаны ниже."
+msgid "the station's working hours from its shifts, less holidays and maintenance that takes it offline. Staffed hours (the people you've assigned) show beneath."
+msgstr ""
msgid "The step's settings — this run predates recording the values it used."
msgstr "Настройки этого шага — этот запуск предшествует записи использованных им значений."
diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.po
index 2a81eee51b..ca6954f5b8 100644
--- a/packages/locale/locales/tr/erp.po
+++ b/packages/locale/locales/tr/erp.po
@@ -68,10 +68,18 @@ msgstr "{0, plural, one {# engelleme kaydı} other {# engelleme kaydı}}"
msgid "{0, plural, one {# BOM line} other {# BOM lines}}"
msgstr ""
+#. placeholder {0}: counts.unschedulable
+msgid "{0, plural, one {# can't be scheduled} other {# can't be scheduled}}"
+msgstr ""
+
#. placeholder {0}: memberIds.length
msgid "{0, plural, one {# component in this group} other {# components in this group}}"
msgstr "{0, plural, one {# bileşen bu grupta} other {# bileşen bu grupta}}"
+#. placeholder {0}: counts.conflicts
+msgid "{0, plural, one {# conflict} other {# conflicts}}"
+msgstr ""
+
#. placeholder {0}: target.slackDays
msgid "{0, plural, one {# day of slack} other {# days of slack}}"
msgstr "{0, plural, one {# gün esneklik payı} other {# gün esneklik payı}}"
@@ -80,6 +88,10 @@ msgstr "{0, plural, one {# gün esneklik payı} other {# gün esneklik payı}}"
msgid "{0, plural, one {# day short} other {# days short}}"
msgstr "{0, plural, one {# gün gecikme} other {# gün gecikme}}"
+#. placeholder {0}: counts.jobs
+msgid "{0, plural, one {# job} other {# jobs}}"
+msgstr ""
+
#. placeholder {0}: forecast.zeroStandardOperationCount
msgid "{0, plural, one {# operation has no time standards} other {# operations have no time standards}}"
msgstr "{0, plural, one {# operasyon için zaman standardı yok} other {# operasyon için zaman standardı yok}}"
@@ -96,6 +108,14 @@ msgstr ""
msgid "{0, plural, one {# record needs attention} other {# records need attention}}"
msgstr "{0, plural, one {# kayıt dikkat gerektiriyor} other {# kayıt dikkat gerektiriyor}}"
+#. placeholder {0}: counts.reservations
+msgid "{0, plural, one {# reservation} other {# reservations}}"
+msgstr ""
+
+#. placeholder {0}: counts.resources
+msgid "{0, plural, one {# resource} other {# resources}}"
+msgstr ""
+
#. placeholder {0}: totalScopeRows(run.violationRowsByTable)
msgid "{0, plural, one {# row links to data outside this company, so a safety copy of your current data can't be made.} other {# rows link to data outside this company, so a safety copy of your current data can't be made.}}"
msgstr "{0, plural, one {# satır bu şirketin dışındaki verilere bağlantı kuruyor, bu nedenle mevcut verilerinizin güvenli bir kopyası oluşturulamıyor.} other {# satır bu şirketin dışındaki verilere bağlantı kuruyor, bu nedenle mevcut verilerinizin güvenli bir kopyası oluşturulamıyor.}}"
@@ -487,9 +507,6 @@ msgstr "{completedLines}/{lines} satır tamamlandı"
msgid "{componentCount, plural, one {# component} other {# components}}"
msgstr "{componentCount, plural, one {# bileşen} other {# bileşen}}"
-msgid "{conflictCount} conflicts"
-msgstr "{conflictCount} çakışma"
-
msgid "{count, plural, one {# asset} other {# assets}}"
msgstr "{count, plural, one {# kıymet} other {# kıymetler}}"
@@ -529,6 +546,9 @@ msgstr "{days}g"
msgid "{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 "{departmentName} has no work centers at {locationName}. Pick another department or location."
+msgstr ""
+
msgid "{discount} off"
msgstr "{discount} indirim"
@@ -686,9 +706,6 @@ msgstr "{remaining, plural, one {# aşama kaldı} other {# aşama kaldı}}"
msgid "{removed} planned invoices are removed."
msgstr "{removed} planlanan fatura kaldırıldı."
-msgid "{resourceCount} resources · {reservationCount} reservations · {jobCount} jobs"
-msgstr "{resourceCount} Kaynaklar · {reservationCount} rezervasyonlar · {jobCount} İş emirleri"
-
msgid "{revisionLabel} will be reopened for planning as its next revision. The document already sent to the supplier is unchanged until you finalize and resend the order."
msgstr "{revisionLabel} planlama için sonraki revizyonu olarak yeniden açılacak. Tedarikçiye gönderilen belge, siparişi sonuçlandırana ve yeniden gönderene kadar değişmeden kalır."
@@ -752,9 +769,6 @@ msgstr "{unmappedRequiredCount, plural, one {Önce kalan # gerekli hesabı eşle
msgid "{unread} unread"
msgstr "{unread} okunmamış"
-msgid "{unschedulableCount} can't be scheduled"
-msgstr "{unschedulableCount} planlanmıyor"
-
msgid "{updated, plural, one {# part updated} other {# parts updated}}"
msgstr ""
@@ -826,12 +840,6 @@ msgstr "1 amortisman yapılacak kıymet · {amount}"
msgid "1 batchable operation is not in a batch — it runs individually until batched"
msgstr "1 partiye alınabilir operasyon partide değil — partiye alınıncaya kadar tek tek çalışır"
-msgid "1 can't be scheduled"
-msgstr "1 planlanmıyor"
-
-msgid "1 conflict"
-msgstr "1 çakışma"
-
msgid "1 day"
msgstr "1 gün"
@@ -14156,8 +14164,8 @@ msgstr "Doğru sütunlara ihtiyacınız var mı?"
msgid "Need-by target"
msgstr "Gerek duyulan hedef"
-msgid "Needed is the job hours due that day divided by {personDayHours}h, rounded up — the shift you're filtering by, or the most common shift length at this location."
-msgstr "Gerekli olan, o gün vadesi gelen iş saatleri {personDayHours}s'ye bölünmüş, yuvarlanmıştır — filtrelediğiniz vardiya veya bu konumdaki en yaygın vardiya uzunluğu."
+msgid "Needed is the setup and labor hours the schedule books at the station that day, divided by {personDayHours}h and rounded up — the shift you're filtering by, or the most common shift length at this location. Machine time and lights-out stations need nobody."
+msgstr ""
msgid "Needs a Business or Partner plan."
msgstr "Business veya Partner planı gereklidir."
@@ -14666,6 +14674,9 @@ msgstr "{0} senkronizasyon işlemi yok"
msgid "No {0} yet"
msgstr "Henüz {0} yok"
+msgid "No {departmentName} work is scheduled at this location."
+msgstr ""
+
msgid "No {title} yet"
msgstr "Henüz {title} yok"
@@ -14760,9 +14771,6 @@ msgstr "Önizlemek için CAD modeli yok."
msgid "No calibration records found"
msgstr "Kalibrasyon kaydı bulunamadı"
-msgid "No capacity reservations to visualize. Schedule a job to see work-center load."
-msgstr "Görselleştirilecek kapasite rezervasyonu yok. İş merkezi yükünü görmek için bir işi planlayın."
-
msgid "No changes recorded"
msgstr "Değişiklik kaydedilmedi"
@@ -15426,6 +15434,9 @@ msgstr "Bu lokasyonda İş merkezi yok"
msgid "No work centers exist"
msgstr "İş merkezi bulunmamaktadır"
+msgid "No work centers in {departmentName}"
+msgstr ""
+
msgid "Nom"
msgstr "Nom"
@@ -15595,6 +15606,9 @@ msgstr "Eşitlemeyi açana kadar hiçbir şey eşitlenmez."
msgid "Nothing is synced until you turn sync on. Every required account is mapped."
msgstr "Senkronizasyonu açana kadar hiçbir şey senkronize edilmez. Tüm gerekli hesaplar eşleştirilmiştir."
+msgid "Nothing matches the search and filters"
+msgstr ""
+
msgid "Nothing scheduled — add a station below."
msgstr "Hiçbir şey zamanlanmadı — aşağıya bir istasyon ekleyin."
@@ -23310,8 +23324,8 @@ msgstr "Her iş emrinin ürettiği stok kartı — çıkış lotlarını birleş
msgid "The item's rental rate"
msgstr "Stok kartı'nın kiralama oranı"
-msgid "the job hours due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
-msgstr "o gün vadesi olan iş saatleri (çalışmanın çalıştığı günü değil, vade tarihine göre), gecikmiş iş Gecikmede."
+msgid "the job hours still to do that are due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
+msgstr ""
msgid "The job whose operation this outside-processing line covers; the line's receipt closes the operation against this job."
msgstr "Bu dış işleme satırının kapsadığı işlem, işi; satırın alındığı bu işi karşı operasyonu kapatır."
@@ -23456,9 +23470,11 @@ 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."
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The most recent scheduled work at this location was {0}."
-msgstr "Bu lokasyon'daki en son zamanlanmış iş {0} 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 ""
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."
@@ -23475,9 +23491,11 @@ msgstr "metodun yeni sürüm numarası"
msgid "The new version number of the procedure"
msgstr "Prosedürün yeni sürüm numarası"
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The next scheduled work at this location starts {0}."
-msgstr "Bu lokasyondaki bir sonraki planlanan çalışma {0} başlayacak."
+msgid "The next {departmentName} work at this location starts {nextWorkDate}."
+msgstr ""
+
+msgid "The next scheduled work at this location starts {nextWorkDate}."
+msgstr ""
msgid "The night shift suits you, {name}."
msgstr "Gece vardiyası sana yakışıyor, {name}."
@@ -23803,8 +23821,8 @@ msgstr "Bu teklif satırının durumu — Taslak, Teklif Yok, Tamamlandı; Tekli
msgid "The statement bucket all accounts under this group will use."
msgstr "Bu grup altındaki tüm hesapların kullanacağı beyan grubu."
-msgid "the station's calendar hours from its shifts. Staffed hours (the people you've assigned) show beneath."
-msgstr "İstasyonun Vardiyalarından takvim saatleri. Atanan Personel saatleri (atadığınız kişiler) aşağıda gösterilir."
+msgid "the station's working hours from its shifts, less holidays and maintenance that takes it offline. Staffed hours (the people you've assigned) show beneath."
+msgstr ""
msgid "The step's settings — this run predates recording the values it used."
msgstr "Adımın ayarları — bu çalıştırma, kullanılan değerleri kaydetmekten öncedir."
diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.po
index 8b1602b83d..1076d97e10 100644
--- a/packages/locale/locales/zh/erp.po
+++ b/packages/locale/locales/zh/erp.po
@@ -68,10 +68,18 @@ msgstr "{0, plural, one {# 条阻止记录} other {# 条阻止记录}}"
msgid "{0, plural, one {# BOM line} other {# BOM lines}}"
msgstr ""
+#. placeholder {0}: counts.unschedulable
+msgid "{0, plural, one {# can't be scheduled} other {# can't be scheduled}}"
+msgstr ""
+
#. placeholder {0}: memberIds.length
msgid "{0, plural, one {# component in this group} other {# components in this group}}"
msgstr "{0, plural, one {此组中的 # 个组件} other {此组中的 # 个组件}}"
+#. placeholder {0}: counts.conflicts
+msgid "{0, plural, one {# conflict} other {# conflicts}}"
+msgstr ""
+
#. placeholder {0}: target.slackDays
msgid "{0, plural, one {# day of slack} other {# days of slack}}"
msgstr "{0, plural, one {# 天的松弛} other {# 天的松弛}}"
@@ -80,6 +88,10 @@ msgstr "{0, plural, one {# 天的松弛} other {# 天的松弛}}"
msgid "{0, plural, one {# day short} other {# days short}}"
msgstr "{0, plural, one {缺# 天} other {缺# 天}}"
+#. placeholder {0}: counts.jobs
+msgid "{0, plural, one {# job} other {# jobs}}"
+msgstr ""
+
#. placeholder {0}: forecast.zeroStandardOperationCount
msgid "{0, plural, one {# operation has no time standards} other {# operations have no time standards}}"
msgstr "{0, plural, one {# 道工序无工时定额} other {# 道工序无工时定额}}"
@@ -96,6 +108,14 @@ msgstr ""
msgid "{0, plural, one {# record needs attention} other {# records need attention}}"
msgstr "{0, plural, one {# 条记录需要关注} other {# 条记录需要关注}}"
+#. placeholder {0}: counts.reservations
+msgid "{0, plural, one {# reservation} other {# reservations}}"
+msgstr ""
+
+#. placeholder {0}: counts.resources
+msgid "{0, plural, one {# resource} other {# resources}}"
+msgstr ""
+
#. placeholder {0}: totalScopeRows(run.violationRowsByTable)
msgid "{0, plural, one {# row links to data outside this company, so a safety copy of your current data can't be made.} other {# rows link to data outside this company, so a safety copy of your current data can't be made.}}"
msgstr "{0, plural, one {# 行链接到该公司外的数据,无法制作当前数据的安全副本。} other {# 行链接到该公司外的数据,无法制作当前数据的安全副本。}}"
@@ -487,9 +507,6 @@ msgstr "{completedLines}的{lines}行已完成"
msgid "{componentCount, plural, one {# component} other {# components}}"
msgstr "{componentCount, plural, one {# 个组件} other {# 个组件}}"
-msgid "{conflictCount} conflicts"
-msgstr "{conflictCount} 个冲突"
-
msgid "{count, plural, one {# asset} other {# assets}}"
msgstr "{count, plural, one {# 项资产} other {# 项资产}}"
@@ -529,6 +546,9 @@ msgstr "{days}天"
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 "{departmentName} has no work centers at {locationName}. Pick another department or location."
+msgstr ""
+
msgid "{discount} off"
msgstr "{discount} 折扣"
@@ -686,9 +706,6 @@ msgstr "{remaining, plural, one {# 个阶段剩余} other {# 个阶段剩余}}"
msgid "{removed} planned invoices are removed."
msgstr "{removed} 个已计划发票已移除。"
-msgid "{resourceCount} resources · {reservationCount} reservations · {jobCount} jobs"
-msgstr "{resourceCount} 个资源 · {reservationCount} 个预留 · {jobCount} 个任务"
-
msgid "{revisionLabel} will be reopened for planning as its next revision. The document already sent to the supplier is unchanged until you finalize and resend the order."
msgstr "{revisionLabel} 将作为其下一个修订版重新打开以进行计划。已发送给供应商的文件在您最终确定并重新发送订单之前保持不变。"
@@ -752,9 +769,6 @@ msgstr "{unmappedRequiredCount, plural, one {先映射剩余的 # 个必需账
msgid "{unread} unread"
msgstr "{unread} 条未读"
-msgid "{unschedulableCount} can't be scheduled"
-msgstr "{unschedulableCount}无法排程"
-
msgid "{updated, plural, one {# part updated} other {# parts updated}}"
msgstr ""
@@ -826,12 +840,6 @@ msgstr "1 项资产待折旧 · {amount}"
msgid "1 batchable operation is not in a batch — it runs individually until batched"
msgstr "1 个可分组的工序不在生产批次中 — 它单独运行,直到被分组"
-msgid "1 can't be scheduled"
-msgstr "1无法排程"
-
-msgid "1 conflict"
-msgstr "1 个冲突"
-
msgid "1 day"
msgstr "1 天"
@@ -14156,8 +14164,8 @@ msgstr "需要正确的列吗?"
msgid "Need-by target"
msgstr "需要日期"
-msgid "Needed is the job hours due that day divided by {personDayHours}h, rounded up — the shift you're filtering by, or the most common shift length at this location."
-msgstr "需要的是该天的工作小时数除以 {personDayHours} 小时,向上舍入——您筛选的班次或此位置最常见的班次时长。"
+msgid "Needed is the setup and labor hours the schedule books at the station that day, divided by {personDayHours}h and rounded up — the shift you're filtering by, or the most common shift length at this location. Machine time and lights-out stations need nobody."
+msgstr ""
msgid "Needs a Business or Partner plan."
msgstr "需要业务或合作伙伴计划。"
@@ -14666,6 +14674,9 @@ msgstr "无{0}个同步操作"
msgid "No {0} yet"
msgstr "还没有{0}"
+msgid "No {departmentName} work is scheduled at this location."
+msgstr ""
+
msgid "No {title} yet"
msgstr "暂无 {title}"
@@ -14760,9 +14771,6 @@ msgstr "没有CAD模型可预览。"
msgid "No calibration records found"
msgstr "未找到校准记录"
-msgid "No capacity reservations to visualize. Schedule a job to see work-center load."
-msgstr "没有产能预留可显示。计划一项任务以查看工作中心负荷。"
-
msgid "No changes recorded"
msgstr "未记录任何更改"
@@ -15426,6 +15434,9 @@ msgstr "此地点没有工作中心"
msgid "No work centers exist"
msgstr "没有工作中心存在"
+msgid "No work centers in {departmentName}"
+msgstr ""
+
msgid "Nom"
msgstr "标称值"
@@ -15595,6 +15606,9 @@ msgstr "在启用同步前,没有任何内容会被同步。"
msgid "Nothing is synced until you turn sync on. Every required account is mapped."
msgstr "在您打开同步之前,没有任何内容被同步。每个必需的账户都已映射。"
+msgid "Nothing matches the search and filters"
+msgstr ""
+
msgid "Nothing scheduled — add a station below."
msgstr "未安排任何事项——在下方添加工位。"
@@ -23310,8 +23324,8 @@ msgstr "每个工单生产的物料 — 要求其匹配以合并输出批次"
msgid "The item's rental rate"
msgstr "该物料的租赁费率"
-msgid "the job hours due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
-msgstr "该天到期的任务小时数(以截止日期为基础,而不是工作运行的日期),逾期工作在逾期中。"
+msgid "the job hours still to do that are due that day (a due-date basis, not the day the work runs), with overdue work in Past due."
+msgstr ""
msgid "The job whose operation this outside-processing line covers; the line's receipt closes the operation against this job."
msgstr "该外部处理行所涵盖的操作工作;行的收据关闭对该工作的操作。"
@@ -23456,9 +23470,11 @@ 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 "请求者怀疑的最可能的失败模式;技术人员在关闭时确认或替换此项,疑似与实际之间的差异会影响可靠性报告。"
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The most recent scheduled work at this location was {0}."
-msgstr "该地点最近的排程工作是{0}。"
+msgid "The most recent {departmentName} work at this location was {nextWorkDate}."
+msgstr ""
+
+msgid "The most recent scheduled work 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 "此行协商的单价;内联跟踪图标显示哪个定价规则或覆盖生成了它。"
@@ -23475,9 +23491,11 @@ msgstr "该方法的新版本号"
msgid "The new version number of the procedure"
msgstr "程序文件的新版本号"
-#. placeholder {0}: formatDate( nextScheduledDate, { weekday: "long", month: "short", day: "numeric" }, locale )
-msgid "The next scheduled work at this location starts {0}."
-msgstr "此地点下一个排程工作将于{0}开始。"
+msgid "The next {departmentName} work at this location starts {nextWorkDate}."
+msgstr ""
+
+msgid "The next scheduled work at this location starts {nextWorkDate}."
+msgstr ""
msgid "The night shift suits you, {name}."
msgstr "晚班适合你,{name}。"
@@ -23803,8 +23821,8 @@ msgstr "报价行的状态 — 草稿、不报价、完成;不报价时显示
msgid "The statement bucket all accounts under this group will use."
msgstr "此组下所有帐户将使用的报表组。"
-msgid "the station's calendar hours from its shifts. Staffed hours (the people you've assigned) show beneath."
-msgstr "工作站从其班次的日历小时数。配置人员小时数(您分配的人员)显示在下方。"
+msgid "the station's working hours from its shifts, less holidays and maintenance that takes it offline. Staffed hours (the people you've assigned) show beneath."
+msgstr ""
msgid "The step's settings — this run predates recording the values it used."
msgstr "步骤的设置 — 此运行早于记录其使用的值。"
diff --git a/packages/planning/src/index.ts b/packages/planning/src/index.ts
index 5224cf761b..c3b4f74579 100644
--- a/packages/planning/src/index.ts
+++ b/packages/planning/src/index.ts
@@ -21,8 +21,10 @@ export {
type CalendarWindow,
subtractIntervals
} from "./scheduling/calendar-utils.ts";
+export { remainingWorkHours } from "./scheduling/duration-calculator.ts";
export {
closeHolidays,
+ downtimeOutages,
type LadderShiftRow,
resolveLocationWindows,
resolveWorkCenterWindows,
diff --git a/packages/planning/src/scheduling/duration-calculator.test.ts b/packages/planning/src/scheduling/duration-calculator.test.ts
index fbd927b96f..d012c25f93 100644
--- a/packages/planning/src/scheduling/duration-calculator.test.ts
+++ b/packages/planning/src/scheduling/duration-calculator.test.ts
@@ -6,7 +6,8 @@ import { it } from "vitest";
import {
calculateAttendedHours,
calculateDurationHours,
- remainingFractions
+ remainingFractions,
+ remainingWorkHours
} from "./duration-calculator.ts";
import { assertEquals } from "./test-helpers.ts";
import type { BaseOperation } from "./types.ts";
@@ -123,3 +124,38 @@ it("remainingFractions: null quantities default to full work", () => {
{ setup: 0, work: 0 }
);
});
+
+// 1h setup + 4h labor + 6h machine on 10 pieces, half of them made.
+const halfDone = op({
+ operationQuantity: 10,
+ quantityComplete: 5,
+ setupTime: 1,
+ setupUnit: "Total Hours",
+ laborTime: 0.4,
+ laborUnit: "Hours/Piece",
+ machineTime: 0.6,
+ machineUnit: "Hours/Piece"
+});
+
+it("remainingWorkHours: labor and machine overlap, so the duration is setup + the longer of the two", () => {
+ assertEquals(
+ remainingWorkHours({ ...halfDone, quantityComplete: 0 }, false),
+ {
+ setupHours: 1,
+ laborHours: 4,
+ machineHours: 6,
+ durationHours: 7,
+ attendedHours: 5
+ }
+ );
+});
+
+it("remainingWorkHours: a started operation keeps only the work left and no setup", () => {
+ assertEquals(remainingWorkHours(halfDone, true), {
+ setupHours: 0,
+ laborHours: 2,
+ machineHours: 3,
+ durationHours: 3,
+ attendedHours: 2
+ });
+});
diff --git a/packages/planning/src/scheduling/duration-calculator.ts b/packages/planning/src/scheduling/duration-calculator.ts
index 58e6c4d8af..2fed1a0e98 100644
--- a/packages/planning/src/scheduling/duration-calculator.ts
+++ b/packages/planning/src/scheduling/duration-calculator.ts
@@ -7,6 +7,19 @@ import type { BaseOperation, FactorUnit } from "./types.ts";
const HOURS_PER_WORKDAY = 8;
+/** The fields of an operation its time standards are read from. */
+type OperationTimes = Pick<
+ BaseOperation,
+ | "operationQuantity"
+ | "quantityComplete"
+ | "setupTime"
+ | "setupUnit"
+ | "laborTime"
+ | "laborUnit"
+ | "machineTime"
+ | "machineUnit"
+>;
+
/**
* Convert time value to hours based on the unit type
*/
@@ -174,7 +187,7 @@ export function calculateDurationMs(operation: BaseOperation): number {
/**
* Calculate detailed duration breakdown for an operation
*/
-export function calculateDurationBreakdown(operation: BaseOperation): {
+export function calculateDurationBreakdown(operation: OperationTimes): {
setupHours: number;
laborHours: number;
machineHours: number;
@@ -241,4 +254,35 @@ export function remainingFractions(
return { setup, work };
}
+/**
+ * The hours a (possibly started) operation still needs, split the way the
+ * scheduler books them: `remainingFractions` nets each part, `durationHours`
+ * is setup + max(labor, machine) and `attendedHours` the hands-on part
+ * (setup + labor, never more than the duration).
+ */
+export function remainingWorkHours(
+ op: OperationTimes,
+ hasProductionEvent: boolean
+): {
+ setupHours: number;
+ laborHours: number;
+ machineHours: number;
+ durationHours: number;
+ attendedHours: number;
+} {
+ const { setup, work } = remainingFractions(op, hasProductionEvent);
+ const breakdown = calculateDurationBreakdown(op);
+ const setupHours = breakdown.setupHours * setup;
+ const laborHours = breakdown.laborHours * work;
+ const machineHours = breakdown.machineHours * work;
+ const durationHours = setupHours + Math.max(laborHours, machineHours);
+ return {
+ setupHours,
+ laborHours,
+ machineHours,
+ durationHours,
+ attendedHours: Math.min(setupHours + laborHours, durationHours)
+ };
+}
+
export { convertToHours, convertToMilliseconds, HOURS_PER_WORKDAY };
diff --git a/packages/planning/src/scheduling/machine-availability.test.ts b/packages/planning/src/scheduling/machine-availability.test.ts
index 8eed53d6f7..9b0c92c8f3 100644
--- a/packages/planning/src/scheduling/machine-availability.test.ts
+++ b/packages/planning/src/scheduling/machine-availability.test.ts
@@ -12,6 +12,7 @@ import { it } from "vitest";
import { intersectWindows, subtractIntervals } from "./calendar-utils.ts";
import {
closeHolidays,
+ downtimeOutages,
type LadderShiftRow,
resolveLocationWindows,
resolveWorkCenterWindows,
@@ -303,3 +304,57 @@ it("a holiday closes a shift-based work center for the whole local day; a lights
assertEquals(result.get("wc-shift"), [tuesday]);
assertEquals(result.get("wc-lights-out"), [around]);
});
+
+const dispatch = (
+ overrides: Partial<Parameters<typeof downtimeOutages>[0]["dispatches"][0]>
+) => ({
+ id: "md-1",
+ workCenterId: "wc-a",
+ plannedStartTime: null,
+ plannedEndTime: null,
+ actualStartTime: null,
+ actualEndTime: null,
+ createdAt: "2026-01-05T06:00:00Z",
+ ...overrides
+});
+
+it("downtimeOutages: an actual time wins over the planned one, on the dispatch's station and every joined one", () => {
+ const outages = downtimeOutages({
+ dispatches: [
+ dispatch({
+ plannedStartTime: "2026-01-06T08:00:00Z",
+ plannedEndTime: "2026-01-06T12:00:00Z",
+ actualStartTime: "2026-01-06T09:00:00Z"
+ })
+ ],
+ dispatchWorkCenters: [
+ { maintenanceDispatchId: "md-1", workCenterId: "wc-b" },
+ { maintenanceDispatchId: "md-1", workCenterId: "wc-elsewhere" }
+ ],
+ workCenterIds: ["wc-a", "wc-b"],
+ rangeEnd: RANGE_END
+ });
+ const window = {
+ start: utc("2026-01-06T09:00:00Z"),
+ end: utc("2026-01-06T12:00:00Z")
+ };
+ assertEquals(
+ [...outages],
+ [
+ ["wc-a", [window]],
+ ["wc-b", [window]]
+ ]
+ );
+});
+
+it("downtimeOutages: a dispatch with no end is down to the range end, from its creation when it has no start", () => {
+ const outages = downtimeOutages({
+ dispatches: [dispatch({})],
+ dispatchWorkCenters: [],
+ workCenterIds: ["wc-a"],
+ rangeEnd: RANGE_END
+ });
+ assertEquals(outages.get("wc-a"), [
+ { start: utc("2026-01-05T06:00:00Z"), end: RANGE_END }
+ ]);
+});
diff --git a/packages/planning/src/scheduling/machine-availability.ts b/packages/planning/src/scheduling/machine-availability.ts
index b67032ec3b..00b50d53b8 100644
--- a/packages/planning/src/scheduling/machine-availability.ts
+++ b/packages/planning/src/scheduling/machine-availability.ts
@@ -17,7 +17,7 @@
* location's timezone.
*
* Downtime (open maintenance dispatches flagged `takesWorkCenterOffline`) is
- * subtracted from the resolved windows by the caller (see Task 17).
+ * subtracted from the resolved windows by the caller, using `downtimeOutages`.
*/
import {
@@ -27,6 +27,7 @@ import {
STOCK_WEEK_SHIFTS,
unionWindows
} from "./calendar-utils.ts";
+import { toInstantMs } from "./date-utils.ts";
import { subtractDates } from "./people-utils.ts";
/** One weekday window of a shift, with the timezone it is expressed in. */
@@ -193,3 +194,61 @@ export function closeHolidays(args: {
}
return result;
}
+
+type Instant = Date | string;
+
+/**
+ * Outage windows per work center from open maintenance dispatches flagged
+ * `takesWorkCenterOffline`. A dispatch is down from (actualStartTime ??
+ * plannedStartTime ?? createdAt) to (actualEndTime ?? plannedEndTime ??
+ * `rangeEnd`: no end estimate means down until further notice), on its own
+ * work center and every work center joined to it. Only `workCenterIds` are
+ * returned. An `alwaysOn` station is not exempt: a broken lights-out machine
+ * is still down.
+ */
+export function downtimeOutages(args: {
+ dispatches: {
+ id: string;
+ workCenterId: string | null;
+ plannedStartTime: Instant | null;
+ plannedEndTime: Instant | null;
+ actualStartTime: Instant | null;
+ actualEndTime: Instant | null;
+ createdAt: Instant;
+ }[];
+ dispatchWorkCenters: {
+ maintenanceDispatchId: string;
+ workCenterId: string;
+ }[];
+ workCenterIds: string[];
+ rangeEnd: number;
+}): Map<string, CalendarWindow[]> {
+ const joined = new Map<string, string[]>();
+ for (const row of args.dispatchWorkCenters) {
+ const list = joined.get(row.maintenanceDispatchId) ?? [];
+ list.push(row.workCenterId);
+ joined.set(row.maintenanceDispatchId, list);
+ }
+ const wanted = new Set(args.workCenterIds);
+ const outages = new Map<string, CalendarWindow[]>();
+ for (const dispatch of args.dispatches) {
+ const start = toInstantMs(
+ dispatch.actualStartTime ??
+ dispatch.plannedStartTime ??
+ dispatch.createdAt
+ );
+ const endAt = dispatch.actualEndTime ?? dispatch.plannedEndTime;
+ const end = endAt ? toInstantMs(endAt) : args.rangeEnd;
+ const affected = new Set(
+ [dispatch.workCenterId, ...(joined.get(dispatch.id) ?? [])].filter(
+ (id): id is string => id !== null && wanted.has(id)
+ )
+ );
+ for (const workCenterId of affected) {
+ const list = outages.get(workCenterId) ?? [];
+ list.push({ start, end });
+ outages.set(workCenterId, list);
+ }
+ }
+ return outages;
+}
diff --git a/packages/planning/src/scheduling/master-data-provider.ts b/packages/planning/src/scheduling/master-data-provider.ts
index 6dda4e5757..5d55903801 100644
--- a/packages/planning/src/scheduling/master-data-provider.ts
+++ b/packages/planning/src/scheduling/master-data-provider.ts
@@ -27,6 +27,7 @@ import {
} from "./date-utils.ts";
import {
closeHolidays,
+ downtimeOutages,
type LadderShiftRow,
resolveLocationWindows,
resolveWorkCenterWindows,
@@ -1318,38 +1319,12 @@ export class KyselyMasterDataProvider implements MasterDataProvider {
dispatches.map((d) => d.id)
)
.execute();
- const joinByDispatch = new Map<string, string[]>();
- for (const j of joinRows) {
- const list = joinByDispatch.get(j.maintenanceDispatchId) ?? [];
- list.push(j.workCenterId);
- joinByDispatch.set(j.maintenanceDispatchId, list);
- }
-
- const wcIdSet = new Set(workCenterIds);
- const toMs = (v: unknown) => toInstantMs(v as unknown as Date | string);
- for (const d of dispatches) {
- const start = toMs(
- d.actualStartTime ?? d.plannedStartTime ?? d.createdAt
- );
- const end = d.actualEndTime
- ? toMs(d.actualEndTime)
- : d.plannedEndTime
- ? toMs(d.plannedEndTime)
- : rangeEnd; // no end estimate = down until further notice
- const affected = new Set<string>();
- if (d.workCenterId && wcIdSet.has(d.workCenterId)) {
- affected.add(d.workCenterId);
- }
- for (const wcId of joinByDispatch.get(d.id) ?? []) {
- if (wcIdSet.has(wcId)) affected.add(wcId);
- }
- for (const wcId of affected) {
- const list = outagesByWc.get(wcId) ?? [];
- list.push({ start, end });
- outagesByWc.set(wcId, list);
- }
- }
- return outagesByWc;
+ return downtimeOutages({
+ dispatches,
+ dispatchWorkCenters: joinRows,
+ workCenterIds,
+ rangeEnd
+ });
}
async getLocationCalendarWindows(
diff --git a/packages/planning/src/scheduling/work-center-selector.ts b/packages/planning/src/scheduling/work-center-selector.ts
index 52add4e738..892eb42156 100644
--- a/packages/planning/src/scheduling/work-center-selector.ts
+++ b/packages/planning/src/scheduling/work-center-selector.ts
@@ -21,9 +21,8 @@ import {
toInstantMs
} from "./date-utils.ts";
import {
- calculateDurationBreakdown,
calculateDurationHours,
- remainingFractions
+ remainingWorkHours
} from "./duration-calculator.ts";
import type { MasterDataProvider } from "./master-data-provider.ts";
import {
@@ -576,21 +575,13 @@ export class WorkCenterSelector {
// left. Labor + machine scale by remaining quantity; setup is done once
// any production event exists. A fully-complete op nets to 0 hours and is
// filtered from the reservation set in buildWrites (endAt > startAt).
- const { setup: setupFrac, work: workFrac } = remainingFractions(
- op,
- ctx.operationsWithEvents.has(op.id)
- );
- const breakdown = calculateDurationBreakdown({
- ...op,
- priority: op.priority ?? undefined
- });
- const setupHours = breakdown.setupHours * setupFrac;
- const laborHours = breakdown.laborHours * workFrac;
- const machineHours = breakdown.machineHours * workFrac;
- // Total = setup + max(labor, machine) since labor and machine overlap
- const durationHours = setupHours + Math.max(laborHours, machineHours);
- // Hands-on window (setup + labor); the rest of the span runs lights-out
- const attendedHours = Math.min(setupHours + laborHours, durationHours);
+ const {
+ setupHours,
+ laborHours,
+ machineHours,
+ durationHours,
+ attendedHours
+ } = remainingWorkHours(op, ctx.operationsWithEvents.has(op.id));
// Split components for people team mode (labor parallelizes across the
// present people; setup and machine time don't)
const teamComponents = { setupHours, laborHours, machineHours };