IO-2214 Add new Lost Sales report to Report Center

This commit is contained in:
Allan Carr
2023-11-22 17:51:06 -08:00
parent 7e99a51495
commit 74da3ec1ca
4 changed files with 16 additions and 1 deletions

View File

@@ -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"