Added email constants template + fixed email settings for parts order modal
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { DeleteFilled } from "@ant-design/icons";
|
||||
import { DatePicker, Form, Input } from "antd";
|
||||
import { DatePicker, Form, Input, Radio } from "antd";
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import VendorSearchSelect from "../vendor-search-select/vendor-search-select.component";
|
||||
@@ -93,14 +93,13 @@ export default function PartsOrderModalComponent({
|
||||
);
|
||||
}}
|
||||
</Form.List>
|
||||
<Radio.Group
|
||||
defaultValue={sendType}
|
||||
onChange={e => setSendType(e.target.value)}
|
||||
>
|
||||
<Radio value={"e"}>{t("parts_orders.labels.email")}</Radio>
|
||||
<Radio value={"p"}>{t("parts_orders.labels.print")}</Radio>
|
||||
</Radio.Group>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
// <Radio.Group
|
||||
// defaultValue={sendType}
|
||||
// onChange={e => setSendType(e.target.value)}
|
||||
// >
|
||||
// <Radio value={"e"}>{t("parts_orders.labels.email")}</Radio>
|
||||
// <Radio value={"p"}>{t("parts_orders.labels.print")}</Radio>
|
||||
// </Radio.Group>
|
||||
|
||||
Reference in New Issue
Block a user