From 4dd868130c70dbfe40ef8a1e33b33a07738b8378 Mon Sep 17 00:00:00 2001 From: Allan Carr Date: Wed, 21 Jun 2023 08:31:30 -0700 Subject: [PATCH] IO-2341 Jobs Schedule Completion Report --- client/src/translations/en_us/common.json | 1 + client/src/translations/es/common.json | 1 + client/src/translations/fr/common.json | 1 + client/src/utils/TemplateConstants.js | 12 ++++++++++++ 4 files changed, 15 insertions(+) diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json index 9a1f09d9c..5a057c73e 100644 --- a/client/src/translations/en_us/common.json +++ b/client/src/translations/en_us/common.json @@ -2568,6 +2568,7 @@ "job_costing_ro_ins_co": "Job Costing by RO Source", "jobs_completed_not_invoiced": "Jobs Completed not Invoiced", "jobs_invoiced_not_exported": "Jobs Invoiced not Exported", + "jobs_scheduled_completion": "Jobs Scheduled Completion", "jobs_reconcile": "Parts/Sublet/Labor Reconciliation", "lag_time": "Lag Time", "open_orders": "Open Orders by Date", diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json index 52857b75f..244ccc21f 100644 --- a/client/src/translations/es/common.json +++ b/client/src/translations/es/common.json @@ -2565,6 +2565,7 @@ "job_costing_ro_ins_co": "", "jobs_completed_not_invoiced": "", "jobs_invoiced_not_exported": "", + "jobs_scheduled_completion": "", "jobs_reconcile": "", "lag_time": "", "open_orders": "", diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json index 9105279ef..98d10ef58 100644 --- a/client/src/translations/fr/common.json +++ b/client/src/translations/fr/common.json @@ -2565,6 +2565,7 @@ "job_costing_ro_ins_co": "", "jobs_completed_not_invoiced": "", "jobs_invoiced_not_exported": "", + "jobs_scheduled_completion": "", "jobs_reconcile": "", "lag_time": "", "open_orders": "", diff --git a/client/src/utils/TemplateConstants.js b/client/src/utils/TemplateConstants.js index debbfc57e..c07e375fa 100644 --- a/client/src/utils/TemplateConstants.js +++ b/client/src/utils/TemplateConstants.js @@ -1897,6 +1897,18 @@ export const TemplateList = (type, context) => { }, group: "sales", }, + jobs_scheduled_completion: { + title: i18n.t("reportcenter.templates.jobs_scheduled_completion"), + subject: i18n.t("reportcenter.templates.jobs_scheduled_completion"), + key: "jobs_scheduled_completion", + //idtype: "vendor", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.jobs"), + field: i18n.t("jobs.fields.scheduled_completion"), + }, + group: "jobs", + }, } : {}), ...(!type || type === "courtesycarcontract"