production_by_csr
false
diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json
index 5ee6705a1..8e08327d7 100644
--- a/client/src/translations/en_us/common.json
+++ b/client/src/translations/en_us/common.json
@@ -2260,6 +2260,7 @@
"parts_not_recieved": "Parts Not Received",
"payments_by_date": "Payments by Date",
"payments_by_date_type": "Payments by Date and Type",
+ "production_by_category": "Production by Category",
"production_by_csr": "Production by CSR",
"production_by_last_name": "Production by Last Name",
"production_by_repair_status": "Production by Status",
diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json
index 75e2ab87d..e89b26bd5 100644
--- a/client/src/translations/es/common.json
+++ b/client/src/translations/es/common.json
@@ -2260,6 +2260,7 @@
"parts_not_recieved": "",
"payments_by_date": "",
"payments_by_date_type": "",
+ "production_by_category": "",
"production_by_csr": "",
"production_by_last_name": "",
"production_by_repair_status": "",
diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json
index c92da10b0..0f1c0c51c 100644
--- a/client/src/translations/fr/common.json
+++ b/client/src/translations/fr/common.json
@@ -2260,6 +2260,7 @@
"parts_not_recieved": "",
"payments_by_date": "",
"payments_by_date_type": "",
+ "production_by_category": "",
"production_by_csr": "",
"production_by_last_name": "",
"production_by_repair_status": "",
diff --git a/client/src/utils/TemplateConstants.js b/client/src/utils/TemplateConstants.js
index d43395e19..e486000ce 100644
--- a/client/src/utils/TemplateConstants.js
+++ b/client/src/utils/TemplateConstants.js
@@ -1598,6 +1598,14 @@ export const TemplateList = (type, context) => {
//idtype: "vendor",
disabled: false,
},
+ production_by_category: {
+ title: i18n.t("reportcenter.templates.production_by_category"),
+ description: "",
+ subject: i18n.t("reportcenter.templates.production_by_category"),
+ key: "production_by_category",
+ //idtype: "vendor",
+ disabled: false,
+ },
}
: {}),
...(!type || type === "special"
From 7ee544b01356a4cb1d0b5dad7e62a0757693b908 Mon Sep 17 00:00:00 2001
From: Patrick Fic <>
Date: Thu, 13 Jan 2022 10:55:16 -0800
Subject: [PATCH 4/5] Minor PBS Updates.
---
.../production-list-table.component.jsx | 1 -
...p-info.responsibilitycenters.component.jsx | 24 ++++++++++++-------
2 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/client/src/components/production-list-table/production-list-table.component.jsx b/client/src/components/production-list-table/production-list-table.component.jsx
index 56278c1fc..d0a620819 100644
--- a/client/src/components/production-list-table/production-list-table.component.jsx
+++ b/client/src/components/production-list-table/production-list-table.component.jsx
@@ -269,7 +269,6 @@ export function ProductionListTable({
},
}}
columns={columns.map((c, index) => {
- console.log(c);
return {
...c,
filteredValue: state.filteredInfo[c.key] || null,
diff --git a/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx b/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx
index e5543bcba..3b89799f4 100644
--- a/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx
+++ b/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx
@@ -75,9 +75,17 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) {
{(bodyshop.cdk_dealerid || bodyshop.pbs_serialnumber) && (
<>
-
- {form.getFieldValue("cdk_dealerid")}
-
+ {bodyshop.cdk_dealerid && (
+
+ {form.getFieldValue("cdk_dealerid")}
+
+ )}
+ {bodyshop.pbs_serialnumber && (
+
+ {form.getFieldValue("pbs_serialnumber")}
+
+ )}
+