feature/IO-3385-Remove-CASL-From-Rome - Remove CASL Report from Rome Customers.

This commit is contained in:
Dave
2025-10-15 11:46:51 -04:00
parent 13a44b9a59
commit 043471fdbc

View File

@@ -15,10 +15,9 @@ export const EmailSettings = {
export const TemplateList = (type, context) => { export const TemplateList = (type, context) => {
//const { bodyshop } = store.getState().user; //const { bodyshop } = store.getState().user;
return {
//If there's no type or the type is job, send it back. const casl = InstanceRenderManager({
...(!type || type === "job" imex: {
? {
casl_authorization: { casl_authorization: {
title: i18n.t("printcenter.jobs.casl_authorization"), title: i18n.t("printcenter.jobs.casl_authorization"),
description: "", description: "",
@@ -29,7 +28,16 @@ export const TemplateList = (type, context) => {
regions: { regions: {
CA: true CA: true
} }
}
}, },
rome: {}
});
return {
//If there's no type or the type is job, send it back.
...(!type || type === "job"
? {
...casl,
fippa_authorization: { fippa_authorization: {
title: i18n.t("printcenter.jobs.fippa_authorization"), title: i18n.t("printcenter.jobs.fippa_authorization"),
description: "", description: "",