From 60e8aadd8cfa280e12e71198b7ca318c0de6e419 Mon Sep 17 00:00:00 2001 From: Dave Date: Fri, 14 Nov 2025 14:42:50 -0500 Subject: [PATCH] feature/IO-3357-Reynolds-and-Reynolds-DMS-API-Integration - shop-info.responsibilitycenters.component.jsx cleanup (remove dead code) --- ...p-info.responsibilitycenters.component.jsx | 1323 +++-------------- 1 file changed, 190 insertions(+), 1133 deletions(-) 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 a0e14fca9..227d4ca81 100644 --- a/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx +++ b/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx @@ -23,12 +23,10 @@ const SelectorDiv = styled.div` `; const mapStateToProps = createStructuredSelector({ - //currentUser: selectCurrentUser bodyshop: selectBodyshop }); -const mapDispatchToProps = () => ({ - //setUserLanguage: language => dispatch(setUserLanguage(language)) -}); +const mapDispatchToProps = () => ({}); + export default connect(mapStateToProps, mapDispatchToProps)(ShopInfoResponsibilityCenterComponent); export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { @@ -81,24 +79,14 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { @@ -111,12 +99,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { @@ -193,11 +176,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { label={t("jobs.fields.dms.payer.name")} key={`${index}name`} name={[field.name, "name"]} - rules={[ - { - required: true - } - ]} + rules={[{ required: true }]} > @@ -205,11 +184,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { label={t("jobs.fields.dms.payer.dms_acctnumber")} key={`${index}dms_acctnumber`} name={[field.name, "dms_acctnumber"]} - rules={[ - { - required: true - } - ]} + rules={[{ required: true }]} > @@ -217,11 +192,6 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { label={t("jobs.fields.dms.payer.control_type")} key={`${index}control_type`} name={[field.name, "control_type"]} - // rules={[ - // { - // required: true, - // }, - // ]} > @@ -283,11 +249,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { label={t("jobs.fields.dms.payer.controlnumber")} key={`${index}controlnumber`} name={[field.name, "controlnumber"]} - rules={[ - { - required: true - } - ]} + rules={[{ required: true }]} > @@ -334,12 +296,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { label={t("bodyshop.fields.responsibilitycenter")} key={`${index}name`} name={[field.name, "name"]} - rules={[ - { - required: true - //message: t("general.validation.required"), - } - ]} + rules={[{ required: true }]} > @@ -347,86 +304,44 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { label={t("bodyshop.fields.responsibilitycenter_accountname")} key={`${index}accountname`} name={[field.name, "accountname"]} - rules={[ - { - required: true - //message: t("general.validation.required"), - } - ]} + rules={[{ required: true }]} > - {/* - - */} - {/* - - */} + {hasDMSKey && ( - - - - )} - {hasDMSKey && ( - - - + <> + + + + + + + )} + {bodyshop.cdk_dealerid && ( )} + { @@ -475,55 +391,15 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { label={t("bodyshop.fields.responsibilitycenter")} key={`${index}name`} name={[field.name, "name"]} - rules={[ - { - required: true - //message: t("general.validation.required"), - } - ]} + rules={[{ required: true }]} > - {/* - - - - - */} @@ -531,12 +407,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { label={t("bodyshop.fields.responsibilitycenter_accountitem")} key={`${index}accountitem`} name={[field.name, "accountitem"]} - rules={[ - { - required: true - //message: t("general.validation.required"), - } - ]} + rules={[{ required: true }]} > @@ -545,11 +416,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { label={t("bodyshop.fields.dms.dms_acctnumber")} key={`${index}dms_acctnumber`} name={[field.name, "dms_acctnumber"]} - rules={[ - { - required: true - } - ]} + rules={[{ required: true }]} > @@ -605,12 +472,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { label={t("bodyshop.fields.dms.mappingname")} key={`${index}name`} name={[field.name, "name"]} - rules={[ - { - required: true - //message: t("general.validation.required"), - } - ]} + rules={[{ required: true }]} > @@ -630,10 +492,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -657,10 +516,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -684,10 +540,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -711,10 +564,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -738,10 +588,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -765,10 +612,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -792,10 +636,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -819,10 +660,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -846,10 +684,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -873,10 +708,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -900,10 +732,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -927,10 +756,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -954,10 +780,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -981,10 +804,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -1008,10 +828,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -1035,10 +852,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -1062,10 +876,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -1089,10 +900,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -1116,10 +924,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -1143,10 +948,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -1170,10 +972,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -1197,10 +996,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -1224,10 +1020,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -1251,10 +1044,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -1278,10 +1068,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -1305,10 +1092,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -1332,10 +1116,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -1359,10 +1140,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -1386,10 +1164,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -1415,10 +1190,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -1442,10 +1214,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -1469,10 +1238,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -1496,10 +1262,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -1523,10 +1286,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -1550,10 +1310,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -1577,10 +1334,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -1604,10 +1358,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -1631,10 +1382,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -1658,10 +1406,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -1685,10 +1430,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -1712,10 +1454,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -1739,10 +1478,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -1766,10 +1502,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -1793,10 +1526,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -1820,10 +1550,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -1847,10 +1574,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -1874,10 +1598,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -1901,10 +1622,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -1928,10 +1646,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -1955,10 +1670,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -1982,10 +1694,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -2009,10 +1718,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -2036,10 +1742,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -2063,10 +1766,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -2090,10 +1790,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -2117,10 +1814,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -2144,10 +1838,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -2171,10 +1862,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -2221,10 +1909,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2247,10 +1932,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2273,10 +1955,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2299,10 +1978,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2325,10 +2001,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2351,10 +2024,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2377,10 +2047,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2403,10 +2070,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2429,10 +2093,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2455,10 +2116,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2481,10 +2139,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2507,10 +2162,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2533,10 +2185,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2559,10 +2208,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2585,10 +2231,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2611,10 +2254,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2637,10 +2277,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2663,10 +2300,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2689,10 +2323,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2715,10 +2346,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2741,10 +2369,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2767,10 +2392,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2793,10 +2415,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2819,10 +2438,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2845,10 +2461,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2871,10 +2484,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2897,10 +2507,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2923,10 +2530,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2949,10 +2553,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (costOptions.includes(value)) { @@ -2977,10 +2578,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3003,10 +2601,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3029,10 +2624,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3055,10 +2647,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3081,10 +2670,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3107,10 +2693,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3133,10 +2716,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3159,10 +2739,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3185,10 +2762,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3211,10 +2785,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3237,10 +2808,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3263,10 +2831,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3289,10 +2854,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3315,10 +2877,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3341,10 +2900,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3367,10 +2923,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3393,10 +2946,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3419,10 +2969,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3445,10 +2992,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3471,10 +3015,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3497,10 +3038,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3523,10 +3061,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3549,10 +3084,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3575,10 +3107,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3601,10 +3130,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3627,10 +3153,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3653,10 +3176,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3679,10 +3199,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3705,10 +3222,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ({ validator(rule, value) { if (profitOptions.includes(value)) { @@ -3732,73 +3246,25 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { )} + - {/* - - */} - {/* - - */} @@ -3806,12 +3272,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { {hasDMSKey && ( @@ -3819,85 +3280,32 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { )} + {DmsAp.treatment === "on" && ( - {/* - - */} - {/* - - */} @@ -3905,12 +3313,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { {hasDMSKey && ( @@ -3918,12 +3321,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { )} @@ -3935,65 +3333,22 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { - {/* - - - - - */} + @@ -4001,12 +3356,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { {hasDMSKey && ( @@ -4014,12 +3364,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { )} @@ -4035,24 +3380,14 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { <> @@ -4060,224 +3395,34 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ) })} - {/**/} - {/* */} - {/* */} - {/* */} - {/* /!* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* *!/*/} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* {(bodyshop.cdk_dealerid || bodyshop.pbs_serialnumber || bodyshop.rr_dealerid) && (*/} - {/* */} - {/* */} - {/* */} - {/* )}*/} - {/* */} - {/* */} - {/* */} - {/**/} AR} id="AR"> - {/* - - - - - */} - {/* - - - - - */} {DmsAp.treatment === "on" && ( - {/* - - */} - {/* - - */} @@ -4285,62 +3430,9 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { )} Refund} id="refund"> - {/* - - */} - {/* - - */} - {/* - - - - - */} @@ -4353,24 +3445,14 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { <> @@ -4380,24 +3462,14 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { <> @@ -4411,12 +3483,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { Multiple Payers Item} id="accountitem"> @@ -4435,12 +3502,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { label={t("bodyshop.fields.responsibilitycenters.sales_tax_codes.description")} key={`${index}description`} name={[field.name, "description"]} - rules={[ - { - required: true - //message: t("general.validation.required"), - } - ]} + rules={[{ required: true }]} > @@ -4448,12 +3510,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { label={t("bodyshop.fields.responsibilitycenters.sales_tax_codes.code")} key={`${index}code`} name={[field.name, "code"]} - rules={[ - { - required: true - //message: t("general.validation.required"), - } - ]} + rules={[{ required: true }]} >