From 0ba445aad26b83ce156fd571a7b1c82bd74e8fb8 Mon Sep 17 00:00:00 2001
From: Patrick Fic <>
Date: Thu, 23 Sep 2021 10:38:22 -0700
Subject: [PATCH] IO-1228 Report Center grouping change.
---
.../report-center-modal/report-center-modal.component.jsx | 2 +-
client/src/utils/TemplateConstants.js | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/client/src/components/report-center-modal/report-center-modal.component.jsx b/client/src/components/report-center-modal/report-center-modal.component.jsx
index f49836380..d51a6333d 100644
--- a/client/src/components/report-center-modal/report-center-modal.component.jsx
+++ b/client/src/components/report-center-modal/report-center-modal.component.jsx
@@ -153,7 +153,7 @@ export function ReportCenterModalComponent({ reportCenterModal }) {
{t(`reportcenter.labels.groups.${key}`)}
-
+
{grouped[key].map((item) => (
-
diff --git a/client/src/utils/TemplateConstants.js b/client/src/utils/TemplateConstants.js
index 1892a6c07..8799a87ef 100644
--- a/client/src/utils/TemplateConstants.js
+++ b/client/src/utils/TemplateConstants.js
@@ -1226,7 +1226,7 @@ export const TemplateList = (type, context) => {
object: i18n.t("reportcenter.labels.objects.jobs"),
field: i18n.t("jobs.fields.date_open"),
},
- group: "jobs",
+ group: "payroll",
},
work_in_progress_labour: {
title: i18n.t("reportcenter.templates.work_in_progress_labour"),
@@ -1278,7 +1278,7 @@ export const TemplateList = (type, context) => {
object: i18n.t("reportcenter.labels.objects.parts_orders"),
field: i18n.t("parts_orders.fields.order_date"),
},
- group: "jobs",
+ group: "purchases",
},
scoreboard_detail: {
title: i18n.t("reportcenter.templates.scoreboard_detail"),
@@ -1330,7 +1330,7 @@ export const TemplateList = (type, context) => {
object: i18n.t("reportcenter.labels.objects.csi"),
field: i18n.t("csi.fields.created_at"), // Also date invoice.
},
- group: "jobs",
+ group: "customers",
},
}
: {}),