diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel
index dee3450e9..d11e1ed2d 100644
--- a/bodyshop_translations.babel
+++ b/bodyshop_translations.babel
@@ -38553,6 +38553,27 @@
+
+ production_by_repair_status_one
+ false
+
+
+
+
+
+ en-US
+ false
+
+
+ es-MX
+ false
+
+
+ fr-CA
+ false
+
+
+
production_by_ro
false
diff --git a/client/src/components/production-list-table/production-list-print.component.jsx b/client/src/components/production-list-table/production-list-print.component.jsx
index 4f64491c2..4e31b33d0 100644
--- a/client/src/components/production-list-table/production-list-print.component.jsx
+++ b/client/src/components/production-list-table/production-list-print.component.jsx
@@ -8,8 +8,11 @@ import { connect } from "react-redux";
import { createStructuredSelector } from "reselect";
import { selectBodyshop } from "../../redux/user/user.selectors";
const ProdTemplates = TemplateList("production");
-const { production_by_technician_one, production_by_category_one } =
- TemplateList("special");
+const {
+ production_by_technician_one,
+ production_by_category_one,
+ production_by_repair_status_one,
+} = TemplateList("special");
const mapStateToProps = createStructuredSelector({
bodyshop: selectBodyshop,
@@ -95,6 +98,29 @@ export function ProductionListPrint({ bodyshop }) {
))}
+
+ {bodyshop.md_ro_statuses.production_statuses.map((e) => (
+ {
+ setLoading(true);
+ await GenerateDocument(
+ {
+ name: production_by_repair_status_one.key,
+ variables: { status: e },
+ },
+ {},
+ "p"
+ );
+ setLoading(false);
+ }}
+ >
+ {e}
+
+ ))}
+
}
>
diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json
index 1457b7eb1..255a81a03 100644
--- a/client/src/translations/en_us/common.json
+++ b/client/src/translations/en_us/common.json
@@ -2286,6 +2286,7 @@
"production_by_csr": "Production by CSR",
"production_by_last_name": "Production by Last Name",
"production_by_repair_status": "Production by Status",
+ "production_by_repair_status_one": "Production filtered by Status",
"production_by_ro": "Production by RO",
"production_by_target_date": "Production by Target Date",
"production_by_technician": "Production by Technician",
diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json
index 6a0cb1e76..336ba07d4 100644
--- a/client/src/translations/es/common.json
+++ b/client/src/translations/es/common.json
@@ -2286,6 +2286,7 @@
"production_by_csr": "",
"production_by_last_name": "",
"production_by_repair_status": "",
+ "production_by_repair_status_one": "",
"production_by_ro": "",
"production_by_target_date": "",
"production_by_technician": "",
diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json
index ece3097ef..67435a1fc 100644
--- a/client/src/translations/fr/common.json
+++ b/client/src/translations/fr/common.json
@@ -2286,6 +2286,7 @@
"production_by_csr": "",
"production_by_last_name": "",
"production_by_repair_status": "",
+ "production_by_repair_status_one": "",
"production_by_ro": "",
"production_by_target_date": "",
"production_by_technician": "",
diff --git a/client/src/utils/TemplateConstants.js b/client/src/utils/TemplateConstants.js
index 8f7db6bad..6201afada 100644
--- a/client/src/utils/TemplateConstants.js
+++ b/client/src/utils/TemplateConstants.js
@@ -1672,6 +1672,18 @@ export const TemplateList = (type, context) => {
//idtype: "vendor",
disabled: false,
},
+ production_by_repair_status_one: {
+ title: i18n.t(
+ "reportcenter.templates.production_by_repair_status_one"
+ ),
+ description: "",
+ subject: i18n.t(
+ "reportcenter.templates.production_by_repair_status_one"
+ ),
+ key: "production_by_repair_status_one",
+ //idtype: "vendor",
+ disabled: false,
+ },
}
: {}),
};