diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel
index 01b13242a..34708fb9b 100644
--- a/bodyshop_translations.babel
+++ b/bodyshop_translations.babel
@@ -33663,6 +33663,37 @@
+
+ subjects
+
+
+ jobs
+
+
+ parts_order
+ false
+
+
+
+
+
+ en-US
+ false
+
+
+ es-MX
+ false
+
+
+ fr-CA
+ false
+
+
+
+
+
+
+
vendors
diff --git a/client/src/components/parts-order-modal/parts-order-modal.container.jsx b/client/src/components/parts-order-modal/parts-order-modal.container.jsx
index c9e091780..02d2d7614 100644
--- a/client/src/components/parts-order-modal/parts-order-modal.container.jsx
+++ b/client/src/components/parts-order-modal/parts-order-modal.container.jsx
@@ -176,7 +176,7 @@ export function PartsOrderModalContainer({
if (refetch) refetch();
toggleModalVisible();
- const Templates = TemplateList("partsorder");
+ const Templates = TemplateList("partsorder", context);
if (sendType === "e") {
const matchingVendor = data.vendors.filter(
diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json
index 783da7ca0..caa7e7ab0 100644
--- a/client/src/translations/en_us/common.json
+++ b/client/src/translations/en_us/common.json
@@ -2010,6 +2010,11 @@
"payments": {
"ca_bc_etf_table": "ICBC ETF Table"
},
+ "subjects": {
+ "jobs": {
+ "parts_order": "$t(printcenter.jobs.parts_order) PO: {{ro_number}}"
+ }
+ },
"vendors": {
"purchases_by_vendor_detailed": "Purchases by Vendor - Detailed",
"purchases_by_vendor_summary": "Purchases by Vendor - Summary"
diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json
index 797a8a7a5..97e443b4c 100644
--- a/client/src/translations/es/common.json
+++ b/client/src/translations/es/common.json
@@ -2010,6 +2010,11 @@
"payments": {
"ca_bc_etf_table": ""
},
+ "subjects": {
+ "jobs": {
+ "parts_order": ""
+ }
+ },
"vendors": {
"purchases_by_vendor_detailed": "",
"purchases_by_vendor_summary": ""
diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json
index 467d529d1..084513b82 100644
--- a/client/src/translations/fr/common.json
+++ b/client/src/translations/fr/common.json
@@ -2010,6 +2010,11 @@
"payments": {
"ca_bc_etf_table": ""
},
+ "subjects": {
+ "jobs": {
+ "parts_order": ""
+ }
+ },
"vendors": {
"purchases_by_vendor_detailed": "",
"purchases_by_vendor_summary": ""
diff --git a/client/src/utils/TemplateConstants.js b/client/src/utils/TemplateConstants.js
index bfe7225f5..1892a6c07 100644
--- a/client/src/utils/TemplateConstants.js
+++ b/client/src/utils/TemplateConstants.js
@@ -391,7 +391,9 @@ export const TemplateList = (type, context) => {
title: i18n.t("printcenter.jobs.parts_order"),
description: "Parts Order",
key: "parts_order",
- subject: i18n.t("printcenter.jobs.parts_order"),
+ subject: i18n.t("printcenter.subjects.jobs.parts_order", {
+ ro_number: context && context.job && context.job.ro_number,
+ }),
disabled: false,
},
parts_return_slip: {