Added referral source to bodyshop + form. BOD-158
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
import React from "react";
|
||||
import { Form, Input, Button, Collapse, InputNumber, Radio } from "antd";
|
||||
import {
|
||||
Form,
|
||||
Input,
|
||||
Button,
|
||||
Collapse,
|
||||
InputNumber,
|
||||
Radio,
|
||||
Select,
|
||||
} from "antd";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import ShopInfoROStatusComponent from "./shop-info.rostatus.component";
|
||||
import ShopInfoOrderStatusComponent from "./shop-info.orderstatus.component";
|
||||
@@ -179,6 +187,20 @@ export default function ShopInfoComponent({ form }) {
|
||||
);
|
||||
}}
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item
|
||||
name={["md_referral_sources"]}
|
||||
label={t("bodyshop.fields.md_referral_sources")}
|
||||
rules={[
|
||||
{
|
||||
required: true,
|
||||
message: t("general.validation.required"),
|
||||
type: "array",
|
||||
},
|
||||
]}
|
||||
>
|
||||
<Select mode="tags" />
|
||||
</Form.Item>
|
||||
</Collapse.Panel>
|
||||
<Collapse.Panel
|
||||
key="roStatus"
|
||||
|
||||
Reference in New Issue
Block a user