Add templates to list.

This commit is contained in:
Patrick Fic
2021-04-23 09:14:28 -07:00
parent ddbb1df9d9
commit cdae2ed983

View File

@@ -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,
},
}
: {}),
};