Merged in feature/IO-3385-Remove-CASL-From-Rome (pull request #2631)
feature/IO-3385-Remove-CASL-From-Rome - Remove CASL Report from Rome Customers.
This commit is contained in:
@@ -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: "",
|
||||||
|
|||||||
Reference in New Issue
Block a user