Added alt transport to appointments BOD-392

This commit is contained in:
Patrick Fic
2020-09-29 11:17:06 -07:00
parent fef95be5a3
commit c222e027dd
27 changed files with 681 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
import { DeleteFilled } from "@ant-design/icons";
import { Button, Col, Form, Input, InputNumber, Row } from "antd";
import { Button, Col, Form, Input, InputNumber, Row, Select } from "antd";
import React from "react";
import { useTranslation } from "react-i18next";
import ColorpickerFormItemComponent from "../form-items-formatted/colorpicker-form-item.component";
@@ -81,7 +81,18 @@ export default function ShopInfoSchedulingComponent({ form }) {
);
}}
</Form.List>
<Form.Item
name={["appt_alt_transport"]}
label={t("bodyshop.fields.appt_alt_transport")}
rules={[
{
message: t("general.validation.required"),
type: "array",
},
]}
>
<Select mode="tags" />
</Form.Item>
<Form.List name={["ssbuckets"]}>
{(fields, { add, remove, move }) => {
return (