Add taxable overrides to shop configuration.
This commit is contained in:
@@ -188,20 +188,22 @@ export function ShopInfoGeneral({ form, bodyshop }) {
|
||||
<Switch />
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item shouldUpdate noStyle>
|
||||
{() => (
|
||||
<Form.Item
|
||||
label={t("bodyshop.labels.qbo_usa")}
|
||||
shouldUpdate
|
||||
valuePropName="checked"
|
||||
name={["accountingconfig", "qbo_usa"]}
|
||||
>
|
||||
<Switch
|
||||
disabled={!form.getFieldValue(["accountingconfig", "qbo"])}
|
||||
/>
|
||||
</Form.Item>
|
||||
)}
|
||||
</Form.Item>
|
||||
{
|
||||
// <Form.Item shouldUpdate noStyle>
|
||||
// {() => (
|
||||
// <Form.Item
|
||||
// label={t("bodyshop.labels.qbo_usa")}
|
||||
// shouldUpdate
|
||||
// valuePropName="checked"
|
||||
// name={["accountingconfig", "qbo_usa"]}
|
||||
// >
|
||||
// <Switch
|
||||
// disabled={!form.getFieldValue(["accountingconfig", "qbo"])}
|
||||
// />
|
||||
// </Form.Item>
|
||||
// )}
|
||||
// </Form.Item>
|
||||
}
|
||||
<Form.Item
|
||||
label={t("bodyshop.labels.qbo_departmentid")}
|
||||
name={["accountingconfig", "qbo_departmentid"]}
|
||||
|
||||
@@ -4450,7 +4450,7 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) {
|
||||
// </Form.Item>
|
||||
// </LayoutFormRow>
|
||||
}
|
||||
<ShopInfoResponsibilitycentersTaxesComponent />
|
||||
<ShopInfoResponsibilitycentersTaxesComponent form={form} />
|
||||
<Form.Item
|
||||
label={t("bodyshop.fields.responsibilitycenters.itemexemptcode")}
|
||||
rules={[
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user