No columns found.
;
+ if (!!!columns || columns.length === 0) return No columns found.
;
return (
@@ -173,6 +173,7 @@ export function ProductionListTable({
diff --git a/client/src/components/time-ticket-list/time-ticket-list.component.jsx b/client/src/components/time-ticket-list/time-ticket-list.component.jsx
index e60e7761c..6a7bf6b11 100644
--- a/client/src/components/time-ticket-list/time-ticket-list.component.jsx
+++ b/client/src/components/time-ticket-list/time-ticket-list.component.jsx
@@ -105,7 +105,8 @@ export function TimeTicketList({
title: t("jobs.fields.ro_number"),
dataIndex: "ro_number",
key: "ro_number",
- sorter: (a, b) => alphaSort(a.job.ro_number, b.job.ro_number),
+ sorter: (a, b) =>
+ alphaSort(a.job && a.job.ro_number, b.job && b.job.ro_number),
sortOrder:
state.sortedInfo.columnKey === "ro_number" && state.sortedInfo.order,
render: (text, record) =>
diff --git a/client/src/graphql/bodyshop.queries.js b/client/src/graphql/bodyshop.queries.js
index 41073abdb..947fe64dc 100644
--- a/client/src/graphql/bodyshop.queries.js
+++ b/client/src/graphql/bodyshop.queries.js
@@ -208,6 +208,10 @@ export const QUERY_INTAKE_CHECKLIST = gql`
scheduled_delivery
intakechecklist
status
+ owner {
+ allow_text_message
+ id
+ }
labhrs: joblines_aggregate(
where: {
_and: [{ mod_lbr_ty: { _neq: "LAR" } }, { removed: { _eq: false } }]
diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json
index c63152b36..3237e9e05 100644
--- a/client/src/translations/en_us/common.json
+++ b/client/src/translations/en_us/common.json
@@ -512,6 +512,7 @@
},
"labels": {
"addtoproduction": "Add Job to Production?",
+ "allow_text_message": "Permission to Text?",
"checklist": "Checklist",
"printpack": "Job Intake Print Pack",
"removefromproduction": "Remove job from production?"
diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json
index fbe1d0b23..f9643a466 100644
--- a/client/src/translations/es/common.json
+++ b/client/src/translations/es/common.json
@@ -512,6 +512,7 @@
},
"labels": {
"addtoproduction": "",
+ "allow_text_message": "",
"checklist": "",
"printpack": "",
"removefromproduction": ""
diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json
index fd657e45a..1dd7c1d32 100644
--- a/client/src/translations/fr/common.json
+++ b/client/src/translations/fr/common.json
@@ -512,6 +512,7 @@
},
"labels": {
"addtoproduction": "",
+ "allow_text_message": "",
"checklist": "",
"printpack": "",
"removefromproduction": ""
diff --git a/client/src/utils/GraphQLClient.js b/client/src/utils/GraphQLClient.js
index 269fdffe9..5840587e0 100644
--- a/client/src/utils/GraphQLClient.js
+++ b/client/src/utils/GraphQLClient.js
@@ -48,7 +48,7 @@ const roundTripLink = new ApolloLink((operation, forward) => {
});
const TrackExecutionTime = async (operationName, time) => {
- await axios.post("/ioevent", { operationName, time, dbevent: true });
+ //await axios.post("/ioevent", { operationName, time, dbevent: true });
};
const subscriptionMiddleware = {