+ }
+ onClick={() => {
+ remove(field.name);
+ }}
+ />
+ }
+ >
+
+
+
+
+
+
+
+
+
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-ats`}
+ name={[field.name, "costs", "ATS"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-LAA`}
+ name={[field.name, "costs", "LAA"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-LAB`}
+ name={[field.name, "costs", "LAB"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-LAD`}
+ name={[field.name, "costs", "LAD"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-LAE`}
+ name={[field.name, "costs", "LAE"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-LAF`}
+ name={[field.name, "costs", "LAF"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-LAG`}
+ name={[field.name, "costs", "LAG"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-LAM`}
+ name={[field.name, "costs", "LAM"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-LAR`}
+ name={[field.name, "costs", "LAR"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-LAS`}
+ name={[field.name, "costs", "LAS"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-LAU`}
+ name={[field.name, "costs", "LAU"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-LA1`}
+ name={[field.name, "costs", "LA1"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-LA2`}
+ name={[field.name, "costs", "LA2"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-LA3`}
+ name={[field.name, "costs", "LA3"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-LA4`}
+ name={[field.name, "costs", "LA4"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-PAA`}
+ name={[field.name, "costs", "PAA"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-PAC`}
+ name={[field.name, "costs", "PAC"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-PAG`}
+ name={[field.name, "costs", "PAG"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-PAL`}
+ name={[field.name, "costs", "PAL"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-PAM`}
+ name={[field.name, "costs", "PAM"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-PAN`}
+ name={[field.name, "costs", "PAN"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-PAO`}
+ name={[field.name, "costs", "PAO"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-PAP`}
+ name={[field.name, "costs", "PAP"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-PAR`}
+ name={[field.name, "costs", "PAR"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-PAS`}
+ name={[field.name, "costs", "PAS"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-PASL`}
+ name={[field.name, "costs", "PASL"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-TOW`}
+ name={[field.name, "costs", "TOW"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-MAPA`}
+ name={[field.name, "costs", "MAPA"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (costOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}costs-MASH`}
+ name={[field.name, "costs", "MASH"]}
+ >
+
+
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-ATS`}
+ name={[field.name, "profits", "ATS"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-LAA`}
+ name={[field.name, "profits", "LAA"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-LAB`}
+ name={[field.name, "profits", "LAB"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-LAD`}
+ name={[field.name, "profits", "LAD"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-LAE`}
+ name={[field.name, "profits", "LAE"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-LAF`}
+ name={[field.name, "profits", "LAF"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-LAG`}
+ name={[field.name, "profits", "LAG"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-LAM`}
+ name={[field.name, "profits", "LAM"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-LAR`}
+ name={[field.name, "profits", "LAR"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-LAS`}
+ name={[field.name, "profits", "LAS"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-LAU`}
+ name={[field.name, "profits", "LAU"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-LA1`}
+ name={[field.name, "profits", "LA1"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-LA2`}
+ name={[field.name, "profits", "LA2"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-LA3`}
+ name={[field.name, "profits", "LA3"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-LA4`}
+ name={[field.name, "profits", "LA4"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-PAA`}
+ name={[field.name, "profits", "PAA"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-PAC`}
+ name={[field.name, "profits", "PAC"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-PAG`}
+ name={[field.name, "profits", "PAG"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-PAL`}
+ name={[field.name, "profits", "PAL"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-PAM`}
+ name={[field.name, "profits", "PAM"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-PAN`}
+ name={[field.name, "profits", "PAN"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-PAO`}
+ name={[field.name, "profits", "PAO"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-PAP`}
+ name={[field.name, "profits", "PAP"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-PAR`}
+ name={[field.name, "profits", "PAR"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-PAS`}
+ name={[field.name, "profits", "PAS"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-PASL`}
+ name={[field.name, "profits", "PASL"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-TOW`}
+ name={[field.name, "profits", "TOW"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-MAPA`}
+ name={[field.name, "profits", "MAPA"]}
+ >
+
+ ({
+ validator(rule, value) {
+ if (profitOptions.includes(value)) {
+ return Promise.resolve();
+ }
+ return Promise.reject(t("bodyshop.validation.centermustexist"));
+ }
+ })
+ ]}
+ key={`${index}profits-MASH`}
+ name={[field.name, "profits", "MASH"]}
+ >
+
+
+