IO-3020 IO-3036 Initial removal of ProManager
This commit is contained in:
@@ -130,9 +130,8 @@ function Header({
|
||||
|
||||
if (
|
||||
InstanceRenderManager({
|
||||
imex: true,
|
||||
rome: true,
|
||||
promanager: HasFeatureAccess({ featureName: "bills", bodyshop })
|
||||
imex: HasFeatureAccess({ featureName: "bills", bodyshop }),
|
||||
rome: "USE_IMEX"
|
||||
})
|
||||
) {
|
||||
accountingChildren.push(
|
||||
@@ -172,9 +171,8 @@ function Header({
|
||||
}
|
||||
if (
|
||||
InstanceRenderManager({
|
||||
imex: true,
|
||||
rome: true,
|
||||
promanager: HasFeatureAccess({ featureName: "payments", bodyshop })
|
||||
imex: HasFeatureAccess({ featureName: "payments", bodyshop }),
|
||||
rome: "USE_IMEX"
|
||||
})
|
||||
) {
|
||||
accountingChildren.push(
|
||||
@@ -219,9 +217,8 @@ function Header({
|
||||
|
||||
if (
|
||||
InstanceRenderManager({
|
||||
imex: true,
|
||||
rome: true,
|
||||
promanager: HasFeatureAccess({ featureName: "timetickets", bodyshop })
|
||||
imex: HasFeatureAccess({ featureName: "timetickets", bodyshop }),
|
||||
rome: "USE_IMEX"
|
||||
})
|
||||
) {
|
||||
accountingChildren.push(
|
||||
@@ -304,9 +301,8 @@ function Header({
|
||||
|
||||
if (
|
||||
InstanceRenderManager({
|
||||
imex: true,
|
||||
rome: true,
|
||||
promanager: HasFeatureAccess({ featureName: "export", bodyshop })
|
||||
imex: HasFeatureAccess({ featureName: "export", bodyshop }),
|
||||
rome: "USE_IMEX"
|
||||
})
|
||||
) {
|
||||
accountingChildren.push({
|
||||
@@ -386,9 +382,8 @@ function Header({
|
||||
label: <Link to="/manage/production/list">{t("menus.header.productionlist")}</Link>
|
||||
},
|
||||
...(InstanceRenderManager({
|
||||
imex: true,
|
||||
rome: true,
|
||||
promanager: HasFeatureAccess({ featureName: "visualboard", bodyshop })
|
||||
imex: HasFeatureAccess({ featureName: "visualboard", bodyshop }),
|
||||
rome: "USE_IMEX"
|
||||
})
|
||||
? [
|
||||
{
|
||||
@@ -401,9 +396,8 @@ function Header({
|
||||
: []),
|
||||
|
||||
...(InstanceRenderManager({
|
||||
imex: true,
|
||||
rome: true,
|
||||
promanager: HasFeatureAccess({ featureName: "scoreboard", bodyshop })
|
||||
imex: HasFeatureAccess({ featureName: "scoreboard", bodyshop }),
|
||||
rome: "USE_IMEX"
|
||||
})
|
||||
? [
|
||||
{
|
||||
@@ -440,9 +434,8 @@ function Header({
|
||||
]
|
||||
},
|
||||
...(InstanceRenderManager({
|
||||
imex: true,
|
||||
rome: true,
|
||||
promanager: false // HasFeatureAccess({ featureName: 'courtesycars', bodyshop }),
|
||||
imex: HasFeatureAccess({ featureName: "courtesycars", bodyshop }),
|
||||
rome: "USE_IMEX"
|
||||
})
|
||||
? [
|
||||
{
|
||||
@@ -492,9 +485,8 @@ function Header({
|
||||
label: <Link to="/manage/phonebook">{t("menus.header.phonebook")}</Link>
|
||||
},
|
||||
...(InstanceRenderManager({
|
||||
imex: true,
|
||||
rome: true,
|
||||
promanager: HasFeatureAccess({ featureName: "media", bodyshop })
|
||||
imex: HasFeatureAccess({ featureName: "media", bodyshop }),
|
||||
rome: "USE_IMEX"
|
||||
})
|
||||
? [
|
||||
{
|
||||
@@ -571,9 +563,8 @@ function Header({
|
||||
label: <Link to="/manage/shop/vendors">{t("menus.header.shop_vendors")}</Link>
|
||||
},
|
||||
...(InstanceRenderManager({
|
||||
imex: true,
|
||||
rome: true,
|
||||
promanager: HasFeatureAccess({ featureName: "csi", bodyshop })
|
||||
imex: HasFeatureAccess({ featureName: "csi", bodyshop }),
|
||||
rome: "USE_IMEX"
|
||||
})
|
||||
? [
|
||||
{
|
||||
@@ -607,8 +598,7 @@ function Header({
|
||||
window.open(
|
||||
InstanceRenderManager({
|
||||
imex: "https://help.imex.online/",
|
||||
rome: "https://rometech.com//",
|
||||
promanager: "https://web-est.com"
|
||||
rome: "https://rometech.com//"
|
||||
}),
|
||||
|
||||
"_blank"
|
||||
@@ -617,8 +607,7 @@ function Header({
|
||||
},
|
||||
...(InstanceRenderManager({
|
||||
imex: true,
|
||||
rome: false,
|
||||
promanager: false
|
||||
rome: false
|
||||
})
|
||||
? [
|
||||
{
|
||||
@@ -633,9 +622,8 @@ function Header({
|
||||
: []),
|
||||
|
||||
...(InstanceRenderManager({
|
||||
imex: true,
|
||||
rome: true,
|
||||
promanager: HasFeatureAccess({ featureName: "timetickets", bodyshop })
|
||||
imex: HasFeatureAccess({ featureName: "timetickets", bodyshop }),
|
||||
rome: "USE_IMEX"
|
||||
})
|
||||
? [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user