From cdae2ed9834a347a9074c1aa96d6d15bcf9aa3dc Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Fri, 23 Apr 2021 09:14:28 -0700 Subject: [PATCH] Add templates to list. --- client/src/utils/TemplateConstants.js | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/client/src/utils/TemplateConstants.js b/client/src/utils/TemplateConstants.js index 80ddbf6f5..de4a61454 100644 --- a/client/src/utils/TemplateConstants.js +++ b/client/src/utils/TemplateConstants.js @@ -618,6 +618,30 @@ export const TemplateList = (type, context) => { //idtype: "vendor", disabled: false, }, + purchases_by_cost_center_detail: { + title: i18n.t( + "reportcenter.templates.purchases_by_cost_center_detail" + ), + description: "", + subject: i18n.t( + "reportcenter.templates.purchases_by_cost_center_detail" + ), + key: "purchases_by_cost_center_detail", + //idtype: "vendor", + disabled: false, + }, + purchases_by_cost_center_summary: { + title: i18n.t( + "reportcenter.templates.purchases_by_cost_center_summary" + ), + description: "", + subject: i18n.t( + "reportcenter.templates.purchases_by_cost_center_summary" + ), + key: "purchases_by_cost_center_summary", + //idtype: "vendor", + disabled: false, + }, } : {}), ...(!type || type === "courtesycarcontract" @@ -686,7 +710,7 @@ export const TemplateList = (type, context) => { }, } : {}), - ...(!type || type === "special" + ...(!type || type === "special" ? { ca_bc_etf_table: { title: i18n.t("printcenter.payments.ca_bc_etf_table"), @@ -695,7 +719,6 @@ export const TemplateList = (type, context) => { key: "ca_bc_etf_table", disabled: false, }, - } : {}), };