From a34c2a5bc25bb34622979da0f4206218cdefab93 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Fri, 27 Jan 2023 08:54:55 -0800 Subject: [PATCH] IO-2155 IO-2149 Add report templates. --- bodyshop_translations.babel | 63 +++++++++++++++++++++++ client/src/translations/en_us/common.json | 3 ++ client/src/translations/es/common.json | 3 ++ client/src/translations/fr/common.json | 3 ++ client/src/utils/TemplateConstants.js | 36 +++++++++++++ 5 files changed, 108 insertions(+) diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel index 528f344e2..bb898fee9 100644 --- a/bodyshop_translations.babel +++ b/bodyshop_translations.babel @@ -41510,6 +41510,48 @@ + + jobs_completed_not_invoiced + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + + + jobs_invoiced_not_exported + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + jobs_reconcile false @@ -42245,6 +42287,27 @@ + + scheduled_parts_list + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + scoreboard_detail false diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json index 327213179..24d7175f6 100644 --- a/client/src/translations/en_us/common.json +++ b/client/src/translations/en_us/common.json @@ -2455,6 +2455,8 @@ "job_costing_ro_date_summary": "Job Costing by RO - Summary", "job_costing_ro_estimator": "Job Costing by Estimator", "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_reconcile": "Parts/Sublet/Labor Reconciliation", "lag_time": "Lag Time", "open_orders": "Open Orders by Date", @@ -2490,6 +2492,7 @@ "returns_grouped_by_vendor_detailed": "Returns Grouped by Vendor - Detailed", "returns_grouped_by_vendor_summary": "Returns Grouped by Vendor - Summary", "schedule": "Appointment Schedule", + "scheduled_parts_list": "Parts for Jobs Scheduled In", "scoreboard_detail": "Scoreboard Detail", "scoreboard_summary": "Scoreboard Summary", "supplement_ratio_ins_co": "Supplement Ratio by Source", diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json index 9902c282c..c2af5bf3a 100644 --- a/client/src/translations/es/common.json +++ b/client/src/translations/es/common.json @@ -2455,6 +2455,8 @@ "job_costing_ro_date_summary": "", "job_costing_ro_estimator": "", "job_costing_ro_ins_co": "", + "jobs_completed_not_invoiced": "", + "jobs_invoiced_not_exported": "", "jobs_reconcile": "", "lag_time": "", "open_orders": "", @@ -2490,6 +2492,7 @@ "returns_grouped_by_vendor_detailed": "", "returns_grouped_by_vendor_summary": "", "schedule": "", + "scheduled_parts_list": "", "scoreboard_detail": "", "scoreboard_summary": "", "supplement_ratio_ins_co": "", diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json index a04670690..169549c22 100644 --- a/client/src/translations/fr/common.json +++ b/client/src/translations/fr/common.json @@ -2455,6 +2455,8 @@ "job_costing_ro_date_summary": "", "job_costing_ro_estimator": "", "job_costing_ro_ins_co": "", + "jobs_completed_not_invoiced": "", + "jobs_invoiced_not_exported": "", "jobs_reconcile": "", "lag_time": "", "open_orders": "", @@ -2490,6 +2492,7 @@ "returns_grouped_by_vendor_detailed": "", "returns_grouped_by_vendor_summary": "", "schedule": "", + "scheduled_parts_list": "", "scoreboard_detail": "", "scoreboard_summary": "", "supplement_ratio_ins_co": "", diff --git a/client/src/utils/TemplateConstants.js b/client/src/utils/TemplateConstants.js index d1c5bafb8..509e60669 100644 --- a/client/src/utils/TemplateConstants.js +++ b/client/src/utils/TemplateConstants.js @@ -1734,6 +1734,42 @@ export const TemplateList = (type, context) => { }, group: "jobs", }, + scheduled_parts_list: { + title: i18n.t("reportcenter.templates.scheduled_parts_list"), + subject: i18n.t("reportcenter.templates.scheduled_parts_list"), + key: "scheduled_parts_list", + //idtype: "vendor", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.jobs"), + field: i18n.t("jobs.fields.scheduled_in"), + }, + group: "jobs", + }, + jobs_completed_not_invoiced: { + title: i18n.t("reportcenter.templates.jobs_completed_not_invoiced"), + subject: i18n.t("reportcenter.templates.jobs_completed_not_invoiced"), + key: "jobs_completed_not_invoiced", + //idtype: "vendor", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.jobs"), + field: i18n.t("jobs.fields.date_invoiced"), + }, + group: "jobs", + }, + jobs_invoiced_not_exported: { + title: i18n.t("reportcenter.templates.jobs_invoiced_not_exported"), + subject: i18n.t("reportcenter.templates.jobs_invoiced_not_exported"), + key: "jobs_invoiced_not_exported", + //idtype: "vendor", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.jobs"), + field: i18n.t("jobs.fields.date_invoiced"), + }, + group: "jobs", + }, } : {}), ...(!type || type === "courtesycarcontract"