diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json index 6071d2695..03362c86c 100644 --- a/client/src/translations/en_us/common.json +++ b/client/src/translations/en_us/common.json @@ -1444,7 +1444,7 @@ "date_exported": "Exported", "date_invoiced": "Invoiced", "date_last_contacted": "Last Contacted Date", - "date_lost_sale": "Lost Sale Date", + "date_lost_sale": "Lost Sale", "date_next_contact": "Next Contact Date", "date_open": "Open", "date_rentalresp": "Shop Rental Responsibility Start", @@ -2599,6 +2599,7 @@ "jobs_reconcile": "Parts/Sublet/Labor Reconciliation", "jobs_scheduled_completion": "Jobs Scheduled Completion", "lag_time": "Lag Time", + "lost_sales": "Lost Sales", "open_orders": "Open Orders by Date", "open_orders_csr": "Open Orders by CSR", "open_orders_estimator": "Open Orders by Estimator", diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json index 1fa919eb4..02fd16938 100644 --- a/client/src/translations/es/common.json +++ b/client/src/translations/es/common.json @@ -2599,6 +2599,7 @@ "jobs_reconcile": "", "jobs_scheduled_completion": "", "lag_time": "", + "lost_sales": "", "open_orders": "", "open_orders_csr": "", "open_orders_estimator": "", diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json index 340d64d04..3fbb38bfa 100644 --- a/client/src/translations/fr/common.json +++ b/client/src/translations/fr/common.json @@ -2599,6 +2599,7 @@ "jobs_reconcile": "", "jobs_scheduled_completion": "", "lag_time": "", + "lost_sales": "", "open_orders": "", "open_orders_csr": "", "open_orders_estimator": "", diff --git a/client/src/utils/TemplateConstants.js b/client/src/utils/TemplateConstants.js index 79d9aa353..c5e10d712 100644 --- a/client/src/utils/TemplateConstants.js +++ b/client/src/utils/TemplateConstants.js @@ -2014,6 +2014,18 @@ export const TemplateList = (type, context) => { }, group: "jobs", }, + lost_sales: { + title: i18n.t("reportcenter.templates.lost_sales"), + subject: i18n.t("reportcenter.templates.lost_sales"), + key: "lost_sales", + //idtype: "vendor", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.jobs"), + field: i18n.t("jobs.fields.date_lost_sale"), + }, + group: "customers", + }, } : {}), ...(!type || type === "courtesycarcontract"