RO into IO merge as of 02/05/2024.
This commit is contained in:
@@ -9,6 +9,8 @@ import {selectBodyshop} from "../../redux/user/user.selectors";
|
||||
import {connect} from "react-redux";
|
||||
import {createStructuredSelector} from "reselect";
|
||||
import {useSplitTreatments} from "@splitsoftware/splitio-react";
|
||||
import ShopInfoResponsibilitycentersTaxesComponent from "./shop-info.responsibilitycenters.taxes.component";
|
||||
import InstanceRenderManager from '../../utils/instanceRenderMgr';
|
||||
|
||||
const SelectorDiv = styled.div`
|
||||
.ant-form-item .ant-select {
|
||||
@@ -4336,7 +4338,10 @@ export function ShopInfoResponsibilityCenterComponent({bodyshop, form}) {
|
||||
</Form.Item>
|
||||
</LayoutFormRow>
|
||||
)}
|
||||
<LayoutFormRow id="state_tax">
|
||||
|
||||
|
||||
{
|
||||
InstanceRenderManager({imex: <LayoutFormRow id="state_tax">
|
||||
<Form.Item
|
||||
label={t("bodyshop.fields.responsibilitycenters.state_tax")}
|
||||
rules={[
|
||||
@@ -4433,105 +4438,132 @@ export function ShopInfoResponsibilityCenterComponent({bodyshop, form}) {
|
||||
>
|
||||
<InputNumber precision={2}/>
|
||||
</Form.Item>
|
||||
</LayoutFormRow>
|
||||
<LayoutFormRow id="local_tax">
|
||||
<Form.Item
|
||||
label={t("bodyshop.fields.responsibilitycenters.local_tax")}
|
||||
rules={[
|
||||
{
|
||||
required: true,
|
||||
//message: t("general.validation.required"),
|
||||
},
|
||||
]}
|
||||
name={["md_responsibility_centers", "taxes", "local", "name"]}
|
||||
>
|
||||
<Input/>
|
||||
</Form.Item>
|
||||
{/* <Form.Item
|
||||
label={t("bodyshop.fields.responsibilitycenter_accountnumber")}
|
||||
rules={[
|
||||
{
|
||||
required: true,
|
||||
//message: t("general.validation.required"),
|
||||
},
|
||||
]}
|
||||
name={[
|
||||
"md_responsibility_centers",
|
||||
"taxes",
|
||||
"local",
|
||||
"accountnumber",
|
||||
]}
|
||||
>
|
||||
<Input />
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
label={t("bodyshop.fields.responsibilitycenter_accountname")}
|
||||
rules={[
|
||||
{
|
||||
required: true,
|
||||
//message: t("general.validation.required"),
|
||||
},
|
||||
]}
|
||||
name={["md_responsibility_centers", "taxes", "local", "accountname"]}
|
||||
>
|
||||
<Input />
|
||||
</Form.Item> */}
|
||||
<Form.Item
|
||||
label={t("bodyshop.fields.responsibilitycenter_accountdesc")}
|
||||
rules={[
|
||||
{
|
||||
required: true,
|
||||
//message: t("general.validation.required"),
|
||||
},
|
||||
]}
|
||||
name={["md_responsibility_centers", "taxes", "local", "accountdesc"]}
|
||||
>
|
||||
<Input/>
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
label={t("bodyshop.fields.responsibilitycenter_accountitem")}
|
||||
rules={[
|
||||
{
|
||||
required: true,
|
||||
//message: t("general.validation.required"),
|
||||
},
|
||||
]}
|
||||
name={["md_responsibility_centers", "taxes", "local", "accountitem"]}
|
||||
>
|
||||
<Input/>
|
||||
</Form.Item>
|
||||
{(bodyshop.cdk_dealerid || bodyshop.pbs_serialnumber) && (
|
||||
<Form.Item
|
||||
label={t("bodyshop.fields.dms.dms_acctnumber")}
|
||||
rules={[
|
||||
{
|
||||
required: true,
|
||||
//message: t("general.validation.required"),
|
||||
},
|
||||
]}
|
||||
name={[
|
||||
"md_responsibility_centers",
|
||||
"taxes",
|
||||
"local",
|
||||
"dms_acctnumber",
|
||||
]}
|
||||
>
|
||||
<Input/>
|
||||
</Form.Item>
|
||||
)}
|
||||
<Form.Item
|
||||
label={t("bodyshop.fields.responsibilitycenter_rate")}
|
||||
rules={[
|
||||
{
|
||||
required: true,
|
||||
//message: t("general.validation.required"),
|
||||
},
|
||||
]}
|
||||
name={["md_responsibility_centers", "taxes", "local", "rate"]}
|
||||
>
|
||||
<InputNumber precision={2}/>
|
||||
</Form.Item>
|
||||
</LayoutFormRow>
|
||||
</LayoutFormRow>,
|
||||
rome: <ShopInfoResponsibilitycentersTaxesComponent form={form}/> })
|
||||
}
|
||||
|
||||
<Form.Item
|
||||
label={t("bodyshop.fields.responsibilitycenters.itemexemptcode")}
|
||||
rules={[
|
||||
{
|
||||
required: true,
|
||||
//message: t("general.validation.required"),
|
||||
},
|
||||
]}
|
||||
name={["md_responsibility_centers", "taxes", "itemexemptcode"]}
|
||||
>
|
||||
<Input/>
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
label={t("bodyshop.fields.responsibilitycenters.invoiceexemptcode")}
|
||||
rules={[
|
||||
{
|
||||
required: true,
|
||||
//message: t("general.validation.required"),
|
||||
},
|
||||
]}
|
||||
name={["md_responsibility_centers", "taxes", "invoiceexemptcode"]}
|
||||
>
|
||||
<Input/>
|
||||
</Form.Item>
|
||||
{/*<LayoutFormRow id="local_tax">*/}
|
||||
{/* <Form.Item*/}
|
||||
{/* label={t("bodyshop.fields.responsibilitycenters.local_tax")}*/}
|
||||
{/* rules={[*/}
|
||||
{/* {*/}
|
||||
{/* required: true,*/}
|
||||
{/* //message: t("general.validation.required"),*/}
|
||||
{/* },*/}
|
||||
{/* ]}*/}
|
||||
{/* name={["md_responsibility_centers", "taxes", "local", "name"]}*/}
|
||||
{/* >*/}
|
||||
{/* <Input />*/}
|
||||
{/* </Form.Item>*/}
|
||||
{/* /!* <Form.Item*/}
|
||||
{/* label={t("bodyshop.fields.responsibilitycenter_accountnumber")}*/}
|
||||
{/* rules={[*/}
|
||||
{/* {*/}
|
||||
{/* required: true,*/}
|
||||
{/* //message: t("general.validation.required"),*/}
|
||||
{/* },*/}
|
||||
{/* ]}*/}
|
||||
{/* name={[*/}
|
||||
{/* "md_responsibility_centers",*/}
|
||||
{/* "taxes",*/}
|
||||
{/* "local",*/}
|
||||
{/* "accountnumber",*/}
|
||||
{/* ]}*/}
|
||||
{/* >*/}
|
||||
{/* <Input />*/}
|
||||
{/* </Form.Item>*/}
|
||||
{/* <Form.Item*/}
|
||||
{/* label={t("bodyshop.fields.responsibilitycenter_accountname")}*/}
|
||||
{/* rules={[*/}
|
||||
{/* {*/}
|
||||
{/* required: true,*/}
|
||||
{/* //message: t("general.validation.required"),*/}
|
||||
{/* },*/}
|
||||
{/* ]}*/}
|
||||
{/* name={["md_responsibility_centers", "taxes", "local", "accountname"]}*/}
|
||||
{/* >*/}
|
||||
{/* <Input />*/}
|
||||
{/* </Form.Item> *!/*/}
|
||||
{/* <Form.Item*/}
|
||||
{/* label={t("bodyshop.fields.responsibilitycenter_accountdesc")}*/}
|
||||
{/* rules={[*/}
|
||||
{/* {*/}
|
||||
{/* required: true,*/}
|
||||
{/* //message: t("general.validation.required"),*/}
|
||||
{/* },*/}
|
||||
{/* ]}*/}
|
||||
{/* name={["md_responsibility_centers", "taxes", "local", "accountdesc"]}*/}
|
||||
{/* >*/}
|
||||
{/* <Input />*/}
|
||||
{/* </Form.Item>*/}
|
||||
{/* <Form.Item*/}
|
||||
{/* label={t("bodyshop.fields.responsibilitycenter_accountitem")}*/}
|
||||
{/* rules={[*/}
|
||||
{/* {*/}
|
||||
{/* required: true,*/}
|
||||
{/* //message: t("general.validation.required"),*/}
|
||||
{/* },*/}
|
||||
{/* ]}*/}
|
||||
{/* name={["md_responsibility_centers", "taxes", "local", "accountitem"]}*/}
|
||||
{/* >*/}
|
||||
{/* <Input />*/}
|
||||
{/* </Form.Item>*/}
|
||||
{/* {(bodyshop.cdk_dealerid || bodyshop.pbs_serialnumber) && (*/}
|
||||
{/* <Form.Item*/}
|
||||
{/* label={t("bodyshop.fields.dms.dms_acctnumber")}*/}
|
||||
{/* rules={[*/}
|
||||
{/* {*/}
|
||||
{/* required: true,*/}
|
||||
{/* //message: t("general.validation.required"),*/}
|
||||
{/* },*/}
|
||||
{/* ]}*/}
|
||||
{/* name={[*/}
|
||||
{/* "md_responsibility_centers",*/}
|
||||
{/* "taxes",*/}
|
||||
{/* "local",*/}
|
||||
{/* "dms_acctnumber",*/}
|
||||
{/* ]}*/}
|
||||
{/* >*/}
|
||||
{/* <Input />*/}
|
||||
{/* </Form.Item>*/}
|
||||
{/* )}*/}
|
||||
{/* <Form.Item*/}
|
||||
{/* label={t("bodyshop.fields.responsibilitycenter_rate")}*/}
|
||||
{/* rules={[*/}
|
||||
{/* {*/}
|
||||
{/* required: true,*/}
|
||||
{/* //message: t("general.validation.required"),*/}
|
||||
{/* },*/}
|
||||
{/* ]}*/}
|
||||
{/* name={["md_responsibility_centers", "taxes", "local", "rate"]}*/}
|
||||
{/* >*/}
|
||||
{/* <InputNumber precision={2} />*/}
|
||||
{/* </Form.Item>*/}
|
||||
{/*</LayoutFormRow>*/}
|
||||
<LayoutFormRow header={<div>AR</div>} id="AR">
|
||||
{/* <Form.Item
|
||||
label={t("bodyshop.fields.responsibilitycenters.ar")}
|
||||
|
||||
Reference in New Issue
Block a user