Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
fix(erp): keep the last valid date range while From is after To
naveenkashfb830277762f
diff --git a/.ai/playbooks/date-range-filter.md b/.ai/playbooks/date-range-filter.mdnew file mode 100644index 0000000000..e275bae780--- /dev/null+++ b/.ai/playbooks/date-range-filter.md@@ -0,0 +1,61 @@+# Date Range Filter (table `dateRange` + batch builder Custom due)++Last tested: 2026-10-06+Routes: `/x/production/jobs`, `/x/sales/orders`, `/x/invoicing/sales`,+`/x/inventory/stock-movements`, `/x/production/batches/new`++## Prerequisites+- A seeded company (dev seed / demo dataset) with jobs that have due dates,+ sales orders, sales invoices with `dateDue`, and item ledger rows.+- Batch builder: a `process` with `batchable = true` and unbatched, unstarted+ operations on it at one location (demo data: Manufacturing Plant / PCB Assembly).+- A "Forgot to Clock Out?" modal may cover the app after login. Click+ **"I'm Still Working"** (sessionStorage-only, writes nothing). Escape does not close it.++## Steps++### 1. Table filter via UI (Jobs)+- `/x/production/jobs` → click **Filter** → option **Due Date** → a popover+ with **From** / **To** date fields (DD/MM/YYYY segments in an en-GB locale).+- Click the `spinbutton "day, From"` segment and type the digits (`01102026`).+ The URL updates after ~400 ms to `?filter=dueDate:between:2026-10-01,`.+- Then the `spinbutton "day, To"` segment → `15102026` → URL+ `…between:2026-10-01,2026-10-15`.++### 2. Verify+- Compare the rows with the DB:+ `select "jobId" from job where "dueDate" between '…' and '…'`.+- Chip reads `Due Date · is between · 1 Oct 2026 – 15 Oct 2026`; open-ended+ ranges read `is on or after` / `is on or before`.+- A From after To leaves the URL unchanged and flags both fields.+- Chip **Remove filter** clears it.+- Faster for other lists: load the URL directly+ (`?filter=<col>:between:<from>,<to>`, either side empty) and read the+ pagination total (the text after `100 rows` → "1", "N").++### 3. Batch builder Custom due+- `/x/production/batches/new` → process combobox → **PCB Assembly**.+- Due toggle: `radio "All" / "7d" / "14d" / "30d"`, plus an unnamed radio = Custom.+- Custom shows inline From / To fields, and the From calendar opens on its own.+ Days with candidates due show a dot (navigate months with the `Previous` button).+- Type in the segments as above. The list filters client-side immediately.++## Selector Notes+- Date segments: `spinbutton "day, From"`, `"month, From"`, `"year, From"` (same for To).+- Clearing a field: click each segment and press Backspace until it reads 0.+- Count job rows: `[...document.querySelectorAll('tbody tr')]`, then take the+ `J0…` text. Lists have one extra non-data `tbody tr`, so use the pagination+ total for counts.+- Candidates API (for expected values):+ `/api/production/batchable-operations?location=<id>&process=<id>`. Effective due =+ `dueDate ?? jobDueDate`. Operations already in a batch render as a `BAT…` row,+ not as candidates.++## Common Failures+- **Escape in the batch builder closes the whole New Batch modal**, not just the+ calendar popover.+- **Typing a two-digit day passes through a one-digit intermediate** ("2" then+ "20"). Fixed 2026-10-06: `DateRangeFields` emits `null` for an invalid range,+ so the debounce restarts and the intermediate value is never applied.+- Stock movements and other lists show one more `tbody tr` than there are rows.+ Use the pagination total.diff --git a/apps/erp/app/components/DateRangeFields.tsx b/apps/erp/app/components/DateRangeFields.tsxindex 8abcb3ce3a..d427bc9ce2 100644--- a/apps/erp/app/components/DateRangeFields.tsx+++ b/apps/erp/app/components/DateRangeFields.tsx@@ -15,8 +15,13 @@ export type DateRangeValue = {type DateRangeFieldsProps = {/** Read once on mount; the fields hold the draft from then on. */defaultValue?: DateRangeValue;- /** Called with every complete range — a From after To is never emitted. */- onChange: (value: DateRangeValue) => void;+ /**+ * Called on every change. `null` while From is after To: there is nothing+ * to apply, and the caller keeps its last range. It is still a change, so a+ * debounced caller restarts its timer instead of firing a value typed on the+ * way to the invalid one.+ */+ onChange: (value: DateRangeValue | null) => void;/** `stacked` for a popover, `inline` for a toolbar. */layout?: "stacked" | "inline";/** Open the From calendar on mount, for a control the user just picked. */@@ -45,9 +50,9 @@ const DateRangeFields = ({const update = (next: DateRangeValue) => {setRange(next);- // From after To is flagged on the pickers and never reaches the caller- if (next.from && next.to && next.from.compare(next.to) > 0) return;- onChange(next);+ // From after To is flagged on the pickers and is never applied+ const isValid = !(next.from && next.to && next.from.compare(next.to) > 0);+ onChange(isValid ? next : null);};const inline = layout === "inline";diff --git a/apps/erp/app/components/Table/components/Filter/DateRangeFilter.tsx b/apps/erp/app/components/Table/components/Filter/DateRangeFilter.tsxindex 57a5b10ec1..8cdde481be 100644--- a/apps/erp/app/components/Table/components/Filter/DateRangeFilter.tsx+++ b/apps/erp/app/components/Table/components/Filter/DateRangeFilter.tsx@@ -34,8 +34,13 @@ const DateRangeFilter = ({ accessorKey }: DateRangeFilterProps) => {return { from: toCalendarDate(from), to: toCalendarDate(to) };});- const apply = ({ from, to }: DateRangeValue) => {- const value = formatRangeFilter(from?.toString(), to?.toString());+ const apply = (range: DateRangeValue | null) => {+ // From after To: keep whatever the URL already says+ if (!range) return;+ const value = formatRangeFilter(+ range.from?.toString(),+ range.to?.toString()+ );// Already what the URL says — closing the popover replays the last changeif (value === getFilterValue(accessorKey)) return;if (value) {@@ -51,7 +56,7 @@ const DateRangeFilter = ({ accessorKey }: DateRangeFilterProps) => {const applyRef = useRef(apply);applyRef.current = apply;const debouncedApply = useDebounce(- (next: DateRangeValue) => applyRef.current(next),+ (next: DateRangeValue | null) => applyRef.current(next),400,true);diff --git a/apps/erp/app/modules/production/ui/Batches/BatchBuilder.tsx b/apps/erp/app/modules/production/ui/Batches/BatchBuilder.tsxindex b4f1abbf15..af687c2fda 100644--- a/apps/erp/app/modules/production/ui/Batches/BatchBuilder.tsx+++ b/apps/erp/app/modules/production/ui/Batches/BatchBuilder.tsx@@ -1720,7 +1720,8 @@ function ComposePanel({layout="inline"autoOpendefaultValue={dueRange ?? undefined}- onChange={onDueRangeChange}+ // From after To: keep filtering by the last valid range+ onChange={(range) => range && onDueRangeChange(range)}isDateMarked={isDueDay}/>)}diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.poindex 790362faf5..fe53607745 100644--- a/packages/locale/locales/de/erp.po+++ b/packages/locale/locales/de/erp.po@@ -2260,7 +2260,7 @@ msgstr "Möchten Sie dieses Prüfmittel wirklich aktivieren?."msgid "Are you sure you want to cancel {0}? It will be closed and read-only until you reopen it."msgstr "Möchten Sie {0} wirklich stornieren? Es wird geschlossen und schreibgeschützt, bis Sie es wieder öffnen."-#. placeholder {0}: routeData?.rfqSummary ?.rfqId!+#. placeholder {0}: routeData?.rfqSummary ?.rfqIdmsgid "Are you sure you want to cancel {0}? This will also cancel all related supplier quotes."msgstr "Sind Sie sicher, dass Sie {0} stornieren möchten? Dies storniert auch alle zugehörigen Lieferantenofferten."@@ -2633,8 +2633,8 @@ msgstr "Möchten Sie diese Seite wirklich verlassen?"msgid "Are you sure you want to pass this checkpoint? The {0} phase still has unfinished tasks."msgstr "Sind Sie sicher, dass Sie diesen Checkpoint passieren möchten? Die Phase {0} hat noch unvollendete Aufgaben."-#. placeholder {0}: selectedPurchaseInvoice.invoiceId!-#. placeholder {0}: selectedSalesInvoice.invoiceId!+#. placeholder {0}: selectedPurchaseInvoice.invoiceId+#. placeholder {0}: selectedSalesInvoice.invoiceIdmsgid "Are you sure you want to permanently delete {0}?"msgstr "Sind Sie sicher, dass Sie {0} dauerhaft löschen möchten?"@@ -21355,8 +21355,7 @@ msgstr "Du kannst diesen Schlüssel nur einmal sehen. Speichere ihn sicher."#. placeholder {0}: leftoverQuantity === 1 ? "part" : "parts"#. placeholder {1}: job.quantity-msgid ""-"You completed {leftoverQuantity} more \n"+msgid "You completed {leftoverQuantity} more \n"" {0} than the\n"" ordered quantity of {1}. What would you like\n"" to do with the extra parts?"diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.poindex ce75926630..ace6a865a9 100644--- a/packages/locale/locales/en/erp.po+++ b/packages/locale/locales/en/erp.po@@ -2260,7 +2260,7 @@ msgstr "Are you sure you want to activate this gauge?."msgid "Are you sure you want to cancel {0}? It will be closed and read-only until you reopen it."msgstr "Are you sure you want to cancel {0}? It will be closed and read-only until you reopen it."-#. placeholder {0}: routeData?.rfqSummary ?.rfqId!+#. placeholder {0}: routeData?.rfqSummary ?.rfqIdmsgid "Are you sure you want to cancel {0}? This will also cancel all related supplier quotes."msgstr "Are you sure you want to cancel {0}? This will also cancel all related supplier quotes."@@ -2633,8 +2633,8 @@ msgstr "Are you sure you want to leave this page?"msgid "Are you sure you want to pass this checkpoint? The {0} phase still has unfinished tasks."msgstr "Are you sure you want to pass this checkpoint? The {0} phase still has unfinished tasks."-#. placeholder {0}: selectedPurchaseInvoice.invoiceId!-#. placeholder {0}: selectedSalesInvoice.invoiceId!+#. placeholder {0}: selectedPurchaseInvoice.invoiceId+#. placeholder {0}: selectedSalesInvoice.invoiceIdmsgid "Are you sure you want to permanently delete {0}?"msgstr "Are you sure you want to permanently delete {0}?"@@ -21355,13 +21355,11 @@ msgstr "You can only see this key once. Store it safely."#. placeholder {0}: leftoverQuantity === 1 ? "part" : "parts"#. placeholder {1}: job.quantity-msgid ""-"You completed {leftoverQuantity} more \n"+msgid "You completed {leftoverQuantity} more \n"" {0} than the\n"" ordered quantity of {1}. What would you like\n"" to do with the extra parts?"-msgstr ""-"You completed {leftoverQuantity} more \n"+msgstr "You completed {leftoverQuantity} more \n"" {0} than the\n"" ordered quantity of {1}. What would you like\n"" to do with the extra parts?"diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.poindex ed796bef11..b00d38fe6e 100644--- a/packages/locale/locales/es/erp.po+++ b/packages/locale/locales/es/erp.po@@ -2260,7 +2260,7 @@ msgstr "¿Está seguro de que desea activar este instrumento de medición?."msgid "Are you sure you want to cancel {0}? It will be closed and read-only until you reopen it."msgstr "¿Está seguro de que desea cancelar {0}? Será cerrado y de solo lectura hasta que lo reabra."-#. placeholder {0}: routeData?.rfqSummary ?.rfqId!+#. placeholder {0}: routeData?.rfqSummary ?.rfqIdmsgid "Are you sure you want to cancel {0}? This will also cancel all related supplier quotes."msgstr "¿Está seguro de que desea cancelar {0}? Esto también cancelará todas las cotizaciones del proveedor relacionadas."@@ -2633,8 +2633,8 @@ msgstr "¿Estás seguro de que quieres salir de esta página?"msgid "Are you sure you want to pass this checkpoint? The {0} phase still has unfinished tasks."msgstr "¿Estás seguro de que deseas pasar este checkpoint? La fase {0} aún tiene tareas sin terminar."-#. placeholder {0}: selectedPurchaseInvoice.invoiceId!-#. placeholder {0}: selectedSalesInvoice.invoiceId!+#. placeholder {0}: selectedPurchaseInvoice.invoiceId+#. placeholder {0}: selectedSalesInvoice.invoiceIdmsgid "Are you sure you want to permanently delete {0}?"msgstr "¿Estás seguro de que deseas eliminar permanentemente {0}?"@@ -21355,8 +21355,7 @@ msgstr "Solo puedes ver esta clave una vez. Guárdala de forma segura."#. placeholder {0}: leftoverQuantity === 1 ? "part" : "parts"#. placeholder {1}: job.quantity-msgid ""-"You completed {leftoverQuantity} more \n"+msgid "You completed {leftoverQuantity} more \n"" {0} than the\n"" ordered quantity of {1}. What would you like\n"" to do with the extra parts?"diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.poindex daade5701a..5ea94de107 100644--- a/packages/locale/locales/fr/erp.po+++ b/packages/locale/locales/fr/erp.po@@ -2260,7 +2260,7 @@ msgstr "Êtes-vous sûr de vouloir activer cet instrument de mesure ?"msgid "Are you sure you want to cancel {0}? It will be closed and read-only until you reopen it."msgstr "Êtes-vous sûr de vouloir annuler {0} ? Il sera fermé et en lecture seule jusqu'à ce que vous le rouvriez."-#. placeholder {0}: routeData?.rfqSummary ?.rfqId!+#. placeholder {0}: routeData?.rfqSummary ?.rfqIdmsgid "Are you sure you want to cancel {0}? This will also cancel all related supplier quotes."msgstr "Êtes-vous sûr de vouloir annuler {0} ? Cela annulera également tous les devis fournisseurs associés."@@ -2633,8 +2633,8 @@ msgstr "Êtes-vous sûr de vouloir quitter cette page ?"msgid "Are you sure you want to pass this checkpoint? The {0} phase still has unfinished tasks."msgstr "Êtes-vous sûr de vouloir passer ce point de contrôle ? La phase {0} a encore des tâches inachevées."-#. placeholder {0}: selectedPurchaseInvoice.invoiceId!-#. placeholder {0}: selectedSalesInvoice.invoiceId!+#. placeholder {0}: selectedPurchaseInvoice.invoiceId+#. placeholder {0}: selectedSalesInvoice.invoiceIdmsgid "Are you sure you want to permanently delete {0}?"msgstr "Êtes-vous sûr de vouloir supprimer définitivement {0} ?"@@ -21355,8 +21355,7 @@ msgstr "Vous ne pouvez voir cette clé qu'une seule fois. Conservez-la en sécur#. placeholder {0}: leftoverQuantity === 1 ? "part" : "parts"#. placeholder {1}: job.quantity-msgid ""-"You completed {leftoverQuantity} more \n"+msgid "You completed {leftoverQuantity} more \n"" {0} than the\n"" ordered quantity of {1}. What would you like\n"" to do with the extra parts?"diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.poindex d308df5192..f8b84b07a3 100644--- a/packages/locale/locales/hi/erp.po+++ b/packages/locale/locales/hi/erp.po@@ -2260,7 +2260,7 @@ msgstr "क्या आप सुनिश्चित हैं कि आपmsgid "Are you sure you want to cancel {0}? It will be closed and read-only until you reopen it."msgstr "क्या आप {0} को रद्द करना चाहते हैं? यह बंद हो जाएगी और पढ़ने के लिए केवल तब तक होगी जब तक आप इसे फिर से खोलेंगे।"-#. placeholder {0}: routeData?.rfqSummary ?.rfqId!+#. placeholder {0}: routeData?.rfqSummary ?.rfqIdmsgid "Are you sure you want to cancel {0}? This will also cancel all related supplier quotes."msgstr "क्या आप {0} को रद्द करना चाहते हैं? यह सभी संबंधित आपूर्तिकर्ता कोटेशन को भी रद्द कर देगा।"@@ -2633,8 +2633,8 @@ msgstr "क्या आप वाकई इस पृष्ठ को छोडmsgid "Are you sure you want to pass this checkpoint? The {0} phase still has unfinished tasks."msgstr "क्या आप सुनिश्चित हैं कि आप इस चेकपॉइंट को पास करना चाहते हैं? {0} चरण में अभी भी अधूरे कार्य हैं।"-#. placeholder {0}: selectedPurchaseInvoice.invoiceId!-#. placeholder {0}: selectedSalesInvoice.invoiceId!+#. placeholder {0}: selectedPurchaseInvoice.invoiceId+#. placeholder {0}: selectedSalesInvoice.invoiceIdmsgid "Are you sure you want to permanently delete {0}?"msgstr "क्या आप {0} को स्थायी रूप से हटाना चाहते हैं?"@@ -21355,13 +21355,11 @@ msgstr "आप इस कुंजी को केवल एक बार द#. placeholder {0}: leftoverQuantity === 1 ? "part" : "parts"#. placeholder {1}: job.quantity-msgid ""-"You completed {leftoverQuantity} more \n"+msgid "You completed {leftoverQuantity} more \n"" {0} than the\n"" ordered quantity of {1}. What would you like\n"" to do with the extra parts?"-msgstr ""-"आप {leftoverQuantity} अधिक \n"+msgstr "आप {leftoverQuantity} अधिक \n"" {0} को {1} की ऑर्डर की गई \n"" मात्रा से पूरा कर चुके हैं। आप अतिरिक्त पार्ट्स के साथ \n"" क्या करना चाहेंगे?"diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.poindex 68ab061a3c..b5742743a3 100644--- a/packages/locale/locales/it/erp.po+++ b/packages/locale/locales/it/erp.po@@ -2260,7 +2260,7 @@ msgstr "Sei sicuro di voler attivare questo strumento di misura?."msgid "Are you sure you want to cancel {0}? It will be closed and read-only until you reopen it."msgstr "Sei sicuro di voler cancellare {0}? Sarà chiuso e in sola lettura fino a quando non lo riapri."-#. placeholder {0}: routeData?.rfqSummary ?.rfqId!+#. placeholder {0}: routeData?.rfqSummary ?.rfqIdmsgid "Are you sure you want to cancel {0}? This will also cancel all related supplier quotes."msgstr "Sei sicuro di voler annullare {0}? Questo annullerà anche tutte le offerte del fornitore correlate."@@ -2633,8 +2633,8 @@ msgstr "Sei sicuro di voler lasciare questa pagina?"msgid "Are you sure you want to pass this checkpoint? The {0} phase still has unfinished tasks."msgstr "Sei sicuro di voler superare questo checkpoint? La fase {0} ha ancora attività non completate."-#. placeholder {0}: selectedPurchaseInvoice.invoiceId!-#. placeholder {0}: selectedSalesInvoice.invoiceId!+#. placeholder {0}: selectedPurchaseInvoice.invoiceId+#. placeholder {0}: selectedSalesInvoice.invoiceIdmsgid "Are you sure you want to permanently delete {0}?"msgstr "Sei sicuro di voler eliminare permanentemente {0}?"@@ -21355,8 +21355,7 @@ msgstr "Puoi visualizzare questa chiave solo una volta. Conservala in modo sicur#. placeholder {0}: leftoverQuantity === 1 ? "part" : "parts"#. placeholder {1}: job.quantity-msgid ""-"You completed {leftoverQuantity} more \n"+msgid "You completed {leftoverQuantity} more \n"" {0} than the\n"" ordered quantity of {1}. What would you like\n"" to do with the extra parts?"diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.poindex 64b85ff08b..5a35f54042 100644--- a/packages/locale/locales/ja/erp.po+++ b/packages/locale/locales/ja/erp.po@@ -2260,7 +2260,7 @@ msgstr "この測定器を有効にしてもよろしいですか?."msgid "Are you sure you want to cancel {0}? It will be closed and read-only until you reopen it."msgstr "{0} をキャンセルしてもよろしいですか?クローズ済になり、再オープンするまで読み取り専用になります。"-#. placeholder {0}: routeData?.rfqSummary ?.rfqId!+#. placeholder {0}: routeData?.rfqSummary ?.rfqIdmsgid "Are you sure you want to cancel {0}? This will also cancel all related supplier quotes."msgstr "{0} をキャンセルしてもよろしいですか?関連するすべての仕入先見積もキャンセルされます。"@@ -2633,8 +2633,8 @@ msgstr "このページを離れてもよろしいですか?"msgid "Are you sure you want to pass this checkpoint? The {0} phase still has unfinished tasks."msgstr "このチェックポイントをパスしてもよろしいですか?{0}フェーズにはまだ未完了のタスクがあります。"-#. placeholder {0}: selectedPurchaseInvoice.invoiceId!-#. placeholder {0}: selectedSalesInvoice.invoiceId!+#. placeholder {0}: selectedPurchaseInvoice.invoiceId+#. placeholder {0}: selectedSalesInvoice.invoiceIdmsgid "Are you sure you want to permanently delete {0}?"msgstr "{0}を完全に削除してもよろしいですか?"@@ -21355,8 +21355,7 @@ msgstr "このキーは一度だけ表示されます。安全に保管してく#. placeholder {0}: leftoverQuantity === 1 ? "part" : "parts"#. placeholder {1}: job.quantity-msgid ""-"You completed {leftoverQuantity} more \n"+msgid "You completed {leftoverQuantity} more \n"" {0} than the\n"" ordered quantity of {1}. What would you like\n"" to do with the extra parts?"diff --git a/packages/locale/locales/ko/erp.po b/packages/locale/locales/ko/erp.poindex 07a11de5fd..7e832ff9a3 100644--- a/packages/locale/locales/ko/erp.po+++ b/packages/locale/locales/ko/erp.po@@ -2260,7 +2260,7 @@ msgstr "이 계측기를 활성화하시겠습니까?."msgid "Are you sure you want to cancel {0}? It will be closed and read-only until you reopen it."msgstr "{0}를 취소하시겠습니까? 다시 열기할 때까지 마감되고 읽기 전용이 됩니다."-#. placeholder {0}: routeData?.rfqSummary ?.rfqId!+#. placeholder {0}: routeData?.rfqSummary ?.rfqIdmsgid "Are you sure you want to cancel {0}? This will also cancel all related supplier quotes."msgstr "{0}을(를) 취소하시겠습니까? 관련된 모든 공급업체 견적도 함께 취소됩니다."@@ -2633,8 +2633,8 @@ msgstr "이 페이지를 나가시겠습니까?"msgid "Are you sure you want to pass this checkpoint? The {0} phase still has unfinished tasks."msgstr "이 체크포인트를 통과하시겠습니까? {0} 단계에 아직 완료되지 않은 작업이 있습니다."-#. placeholder {0}: selectedPurchaseInvoice.invoiceId!-#. placeholder {0}: selectedSalesInvoice.invoiceId!+#. placeholder {0}: selectedPurchaseInvoice.invoiceId+#. placeholder {0}: selectedSalesInvoice.invoiceIdmsgid "Are you sure you want to permanently delete {0}?"msgstr "{0}을(를) 영구적으로 삭제하시겠습니까?"@@ -21355,8 +21355,7 @@ msgstr "이 키는 한 번만 확인할 수 있습니다. 안전하게 보관하#. placeholder {0}: leftoverQuantity === 1 ? "part" : "parts"#. placeholder {1}: job.quantity-msgid ""-"You completed {leftoverQuantity} more \n"+msgid "You completed {leftoverQuantity} more \n"" {0} than the\n"" ordered quantity of {1}. What would you like\n"" to do with the extra parts?"diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.poindex 5b2ad79d2e..c9af36ef36 100644--- a/packages/locale/locales/pl/erp.po+++ b/packages/locale/locales/pl/erp.po@@ -2260,7 +2260,7 @@ msgstr "Czy chcesz aktywować ten przyrząd pomiarowy?"msgid "Are you sure you want to cancel {0}? It will be closed and read-only until you reopen it."msgstr "Czy na pewno chcesz anulować {0}? Będzie zamknięte i tylko do odczytu do momentu, gdy je ponownie otworzysz."-#. placeholder {0}: routeData?.rfqSummary ?.rfqId!+#. placeholder {0}: routeData?.rfqSummary ?.rfqIdmsgid "Are you sure you want to cancel {0}? This will also cancel all related supplier quotes."msgstr "Czy na pewno chcesz anulować {0}? Spowoduje to również anulowanie wszystkich powiązanych ofert dostawców."@@ -2633,8 +2633,8 @@ msgstr "Czy na pewno chcesz opuścić tę stronę?"msgid "Are you sure you want to pass this checkpoint? The {0} phase still has unfinished tasks."msgstr "Czy na pewno chcesz przejść ten punkt kontrolny? Faza {0} wciąż ma niezakończone zadania."-#. placeholder {0}: selectedPurchaseInvoice.invoiceId!-#. placeholder {0}: selectedSalesInvoice.invoiceId!+#. placeholder {0}: selectedPurchaseInvoice.invoiceId+#. placeholder {0}: selectedSalesInvoice.invoiceIdmsgid "Are you sure you want to permanently delete {0}?"msgstr "Czy na pewno chcesz trwale usunąć {0}?"@@ -21355,8 +21355,7 @@ msgstr "Możesz zobaczyć ten klucz tylko raz. Przechowuj go bezpiecznie."#. placeholder {0}: leftoverQuantity === 1 ? "part" : "parts"#. placeholder {1}: job.quantity-msgid ""-"You completed {leftoverQuantity} more \n"+msgid "You completed {leftoverQuantity} more \n"" {0} than the\n"" ordered quantity of {1}. What would you like\n"" to do with the extra parts?"diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.poindex b56847bdbd..62c65dfdb3 100644--- a/packages/locale/locales/pt/erp.po+++ b/packages/locale/locales/pt/erp.po@@ -2260,7 +2260,7 @@ msgstr "Tem certeza de que deseja ativar este instrumento de medição?."msgid "Are you sure you want to cancel {0}? It will be closed and read-only until you reopen it."msgstr "Tem certeza de que deseja cancelar {0}? Será fechado e somente leitura até que você o reabra."-#. placeholder {0}: routeData?.rfqSummary ?.rfqId!+#. placeholder {0}: routeData?.rfqSummary ?.rfqIdmsgid "Are you sure you want to cancel {0}? This will also cancel all related supplier quotes."msgstr "Tem a certeza de que deseja cancelar {0}? Isto também cancelará todas as cotações de fornecedores relacionadas."@@ -2633,8 +2633,8 @@ msgstr "Tem certeza que deseja sair desta página?"msgid "Are you sure you want to pass this checkpoint? The {0} phase still has unfinished tasks."msgstr "Tem a certeza de que deseja passar neste checkpoint? A fase {0} ainda tem tarefas inacabadas."-#. placeholder {0}: selectedPurchaseInvoice.invoiceId!-#. placeholder {0}: selectedSalesInvoice.invoiceId!+#. placeholder {0}: selectedPurchaseInvoice.invoiceId+#. placeholder {0}: selectedSalesInvoice.invoiceIdmsgid "Are you sure you want to permanently delete {0}?"msgstr "Tem certeza de que deseja excluir permanentemente {0}?"@@ -21355,8 +21355,7 @@ msgstr "Você só pode ver esta chave uma vez. Guarde-a com segurança."#. placeholder {0}: leftoverQuantity === 1 ? "part" : "parts"#. placeholder {1}: job.quantity-msgid ""-"You completed {leftoverQuantity} more \n"+msgid "You completed {leftoverQuantity} more \n"" {0} than the\n"" ordered quantity of {1}. What would you like\n"" to do with the extra parts?"diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.poindex d2ed431f17..ed16bf0b6d 100644--- a/packages/locale/locales/ru/erp.po+++ b/packages/locale/locales/ru/erp.po@@ -2260,7 +2260,7 @@ msgstr "Вы уверены, что хотите активировать этоmsgid "Are you sure you want to cancel {0}? It will be closed and read-only until you reopen it."msgstr "Вы уверены, что хотите отменить {0}? Он будет закрыт и доступен только для чтения, пока вы его не откроете заново."-#. placeholder {0}: routeData?.rfqSummary ?.rfqId!+#. placeholder {0}: routeData?.rfqSummary ?.rfqIdmsgid "Are you sure you want to cancel {0}? This will also cancel all related supplier quotes."msgstr "Вы уверены, что хотите отменить {0}? Это также отменит все связанные предложения поставщиков."@@ -2633,8 +2633,8 @@ msgstr "Вы уверены, что хотите покинуть эту стрmsgid "Are you sure you want to pass this checkpoint? The {0} phase still has unfinished tasks."msgstr "Вы уверены, что хотите пройти эту контрольную точку? На этапе {0} остались незавершённые задачи."-#. placeholder {0}: selectedPurchaseInvoice.invoiceId!-#. placeholder {0}: selectedSalesInvoice.invoiceId!+#. placeholder {0}: selectedPurchaseInvoice.invoiceId+#. placeholder {0}: selectedSalesInvoice.invoiceIdmsgid "Are you sure you want to permanently delete {0}?"msgstr "Вы уверены, что хотите окончательно удалить {0}?"@@ -21355,8 +21355,7 @@ msgstr "Вы можете увидеть этот ключ только один#. placeholder {0}: leftoverQuantity === 1 ? "part" : "parts"#. placeholder {1}: job.quantity-msgid ""-"You completed {leftoverQuantity} more \n"+msgid "You completed {leftoverQuantity} more \n"" {0} than the\n"" ordered quantity of {1}. What would you like\n"" to do with the extra parts?"diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.poindex c57fe1b58d..4ad5a5241a 100644--- a/packages/locale/locales/tr/erp.po+++ b/packages/locale/locales/tr/erp.po@@ -2260,7 +2260,7 @@ msgstr "Bu ölçüm aletini etkinleştirmek istediğinizden emin misiniz?."msgid "Are you sure you want to cancel {0}? It will be closed and read-only until you reopen it."msgstr "{0} öğesini iptal etmek istediğinizden emin misiniz? Yeniden açana kadar kapalı ve salt okunur durumda olacaktır."-#. placeholder {0}: routeData?.rfqSummary ?.rfqId!+#. placeholder {0}: routeData?.rfqSummary ?.rfqIdmsgid "Are you sure you want to cancel {0}? This will also cancel all related supplier quotes."msgstr "{0}'yi iptal etmek istediğinizden emin misiniz? Bu aynı zamanda tüm ilgili tedarikçi tekliflerini de iptal edecektir."@@ -2633,8 +2633,8 @@ msgstr "Bu sayfadan ayrılmak istediğinizden emin misiniz?"msgid "Are you sure you want to pass this checkpoint? The {0} phase still has unfinished tasks."msgstr "Bu kontrol noktasını geçmek istediğinizden emin misiniz? {0} aşaması hala tamamlanmamış görevlere sahip."-#. placeholder {0}: selectedPurchaseInvoice.invoiceId!-#. placeholder {0}: selectedSalesInvoice.invoiceId!+#. placeholder {0}: selectedPurchaseInvoice.invoiceId+#. placeholder {0}: selectedSalesInvoice.invoiceIdmsgid "Are you sure you want to permanently delete {0}?"msgstr "{0} öğesini kalıcı olarak silmek istediğinizden emin misiniz?"@@ -21355,8 +21355,7 @@ msgstr "Bu anahtarı yalnızca bir kez görebilirsiniz. Güvenli bir yerde sakla#. placeholder {0}: leftoverQuantity === 1 ? "part" : "parts"#. placeholder {1}: job.quantity-msgid ""-"You completed {leftoverQuantity} more \n"+msgid "You completed {leftoverQuantity} more \n"" {0} than the\n"" ordered quantity of {1}. What would you like\n"" to do with the extra parts?"diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.poindex 94d3fcfd1b..3ecfedbbe5 100644--- a/packages/locale/locales/zh/erp.po+++ b/packages/locale/locales/zh/erp.po@@ -2260,7 +2260,7 @@ msgstr "确定要启用此量具吗?"msgid "Are you sure you want to cancel {0}? It will be closed and read-only until you reopen it."msgstr "您确定要取消{0}吗?在您重新打开之前,它将被已关闭且只读。"-#. placeholder {0}: routeData?.rfqSummary ?.rfqId!+#. placeholder {0}: routeData?.rfqSummary ?.rfqIdmsgid "Are you sure you want to cancel {0}? This will also cancel all related supplier quotes."msgstr "您确定要取消 {0} 吗?这也将取消所有相关的供应商报价。"@@ -2633,8 +2633,8 @@ msgstr "您确定要离开此页面吗?"msgid "Are you sure you want to pass this checkpoint? The {0} phase still has unfinished tasks."msgstr "您确定要通过此检查点吗?{0}阶段仍有未完成的任务。"-#. placeholder {0}: selectedPurchaseInvoice.invoiceId!-#. placeholder {0}: selectedSalesInvoice.invoiceId!+#. placeholder {0}: selectedPurchaseInvoice.invoiceId+#. placeholder {0}: selectedSalesInvoice.invoiceIdmsgid "Are you sure you want to permanently delete {0}?"msgstr "您确定要永久删除 {0} 吗?"@@ -21355,13 +21355,11 @@ msgstr "您只能看到此密钥一次。请妥善保管。"#. placeholder {0}: leftoverQuantity === 1 ? "part" : "parts"#. placeholder {1}: job.quantity-msgid ""-"You completed {leftoverQuantity} more \n"+msgid "You completed {leftoverQuantity} more \n"" {0} than the\n"" ordered quantity of {1}. What would you like\n"" to do with the extra parts?"-msgstr ""-"您完成了 {leftoverQuantity} 个以上 \n"+msgstr "您完成了 {leftoverQuantity} 个以上 \n"" {0},比 \n"" 订购数量 {1} 多。您想 \n"" 用多余的零件怎么办?"