Merged in feature/IO-3500-PROFIT-CENTER-ITEM (pull request #2816)

IO-3500 Profit Center Item

Approved-by: Dave Richer
This commit is contained in:
Allan Carr
2026-01-14 00:41:21 +00:00
committed by Dave Richer

View File

@@ -695,25 +695,25 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) {
> >
<Input onBlur={handleBlur} /> <Input onBlur={handleBlur} />
</Form.Item> </Form.Item>
{!hasDMSKey && (
<Form.Item
label={t("bodyshop.fields.responsibilitycenter_accountitem")}
key={`${index}accountitem`}
name={[field.name, "accountitem"]}
rules={[{ required: true }]}
>
<Input onBlur={handleBlur} />
</Form.Item>
)}
{hasDMSKey && !bodyshop.rr_dealerid && ( {hasDMSKey && !bodyshop.rr_dealerid && (
<> <Form.Item
<Form.Item label={t("bodyshop.fields.dms.dms_acctnumber")}
label={t("bodyshop.fields.responsibilitycenter_accountitem")} key={`${index}dms_acctnumber`}
key={`${index}accountitem`} name={[field.name, "dms_acctnumber"]}
name={[field.name, "accountitem"]} rules={[{ required: true }]}
rules={[{ required: true }]} >
> <Input onBlur={handleBlur} />
<Input onBlur={handleBlur} /> </Form.Item>
</Form.Item>
<Form.Item
label={t("bodyshop.fields.dms.dms_acctnumber")}
key={`${index}dms_acctnumber`}
name={[field.name, "dms_acctnumber"]}
rules={[{ required: true }]}
>
<Input onBlur={handleBlur} />
</Form.Item>
</>
)} )}
{bodyshop.cdk_dealerid && ( {bodyshop.cdk_dealerid && (
<Form.Item <Form.Item