diff --git a/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx b/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx
index 38437a9aa..40c5a229d 100644
--- a/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx
+++ b/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx
@@ -70,16 +70,302 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) {
return (
+
+ {[
+ ...(HasFeatureAccess({ featureName: "export", bodyshop })
+ ? !bodyshop.cdk_dealerid && !bodyshop.pbs_serialnumber
+ ? [
+
+
+ ,
+ InstanceRenderManager({
+ imex: (
+
+ {() => (
+
+
+
+ )}
+
+ )
+ }),
+
+
+ ,
+
+
+ 2
+ 3
+
+ ,
+
+ {() => {
+ return (
+
+
+ {t("bodyshop.labels.2tiername")}
+ {t("bodyshop.labels.2tiersource")}
+
+
+ );
+ }}
+ ,
+
+
+ ,
+
+
+ ,
+
+ {ReceivableCustomFieldSelect}
+ ,
+
+ {ReceivableCustomFieldSelect}
+ ,
+
+ {ReceivableCustomFieldSelect}
+ ,
+ {
+ return {
+ required: getFieldValue("enforce_class"),
+ //message: t("general.validation.required"),
+ type: "array"
+ };
+ }
+ ]}
+ >
+
+ ,
+
+
+ ,
+
+
+
+ ]
+ : []
+ : []),
+
+
+ ,
+
+
+ ,
+ InstanceRenderManager({
+ imex: (
+
+
+
+ )
+ }),
+
+
+ ,
+ ...(HasFeatureAccess({ featureName: "bills", bodyshop })
+ ? [
+ InstanceRenderManager({
+ imex: (
+
+
+
+ )
+ }),
+
+
+ ,
+
+
+
+ ]
+ : []),
+
+
+ ,
+ ...(HasFeatureAccess({ featureName: "export", bodyshop })
+ ? [
+ ...(ClosingPeriod.treatment === "on"
+ ? [
+
+
+
+ ]
+ : []),
+ ...(ADPPayroll.treatment === "on"
+ ? [
+
+
+
+ ]
+ : []),
+ ...(ADPPayroll.treatment === "on"
+ ? [
+
+
+
+ ]
+ : [])
+ ]
+ : [])
+ ]}
+
{(bodyshop.cdk_dealerid || bodyshop.pbs_serialnumber) && (
<>
- {bodyshop.cdk_dealerid && (
- {form.getFieldValue("cdk_dealerid")}
- )}
- {bodyshop.pbs_serialnumber && (
-
- {form.getFieldValue("pbs_serialnumber")}
-
- )}
+
+ {bodyshop.cdk_dealerid && (
+
+ {form.getFieldValue("cdk_dealerid")}
+
+ )}
+ {bodyshop.pbs_serialnumber && (
+
+ {form.getFieldValue("pbs_serialnumber")}
+
+ )}
+
>
)}
- {bodyshop.pbs_serialnumber && (
- <>
-
- {form.getFieldValue("pbs_serialnumber")}
-
- >
- )}
-
- {[
- ...(HasFeatureAccess({ featureName: "export", bodyshop })
- ? [
-
-
- ,
- InstanceRenderManager({
- imex: (
-
- {() => (
-
-
-
- )}
-
- )
- }),
-
-
- ,
-
-
- 2
- 3
-
- ,
-
- {() => {
- return (
-
-
- {t("bodyshop.labels.2tiername")}
- {t("bodyshop.labels.2tiersource")}
-
-
- );
- }}
- ,
-
-
- ,
-
-
-
- ]
- : []),
-
-
- ,
-
-
- ,
- InstanceRenderManager({
- imex: (
-
-
-
- )
- }),
-
-
- ,
- ...(HasFeatureAccess({ featureName: "bills", bodyshop })
- ? [
- InstanceRenderManager({
- imex: (
-
-
-
- )
- }),
-
-
- ,
-
-
-
- ]
- : []),
-
-
- ,
- ...(HasFeatureAccess({ featureName: "export", bodyshop })
- ? [
-
- {ReceivableCustomFieldSelect}
- ,
-
- {ReceivableCustomFieldSelect}
- ,
-
- {ReceivableCustomFieldSelect}
- ,
- {
- return {
- required: getFieldValue("enforce_class"),
- //message: t("general.validation.required"),
- type: "array"
- };
- }
- ]}
- >
-
- ,
-
-
- ,
- ...(ClosingPeriod.treatment === "on"
- ? [
-
-
-
- ]
- : []),
- ...(ADPPayroll.treatment === "on"
- ? [
-
-
-
- ]
- : []),
- ...(ADPPayroll.treatment === "on"
- ? [
-
-
-
- ]
- : [])
- ]
- : []),
-
-
-
- ]}
-
{HasFeatureAccess({ featureName: "export", bodyshop }) && (
<>