feat: add comment, creating refactor
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Button, Fieldset, Flex, rem, TextInput } from "@mantine/core";
|
||||
import { Button, Fieldset, Flex, rem, Textarea, TextInput } from "@mantine/core";
|
||||
import { useDealPageContext } from "../../../contexts/DealPageContext.tsx";
|
||||
import { useForm } from "@mantine/form";
|
||||
import { DealGeneralFormType } from "./DealEditDrawerGeneralTab.tsx";
|
||||
@@ -75,6 +75,12 @@ const ClientTab = () => {
|
||||
label={"ИНН"}
|
||||
{...form.getInputProps("client.details.inn")}
|
||||
/>
|
||||
<Textarea
|
||||
placeholder={"Введите комментарий"}
|
||||
label={"Комментарий"}
|
||||
{...form.getInputProps("client.comment")}
|
||||
/>
|
||||
|
||||
</Fieldset>
|
||||
</Flex>
|
||||
<Flex
|
||||
|
||||
Reference in New Issue
Block a user