diff --git a/src/components/dashboard/inquiryPrivacyFencing/Create/Form/index.jsx b/src/components/dashboard/inquiryPrivacyFencing/Create/Form/index.jsx
index e302b9d..c726849 100644
--- a/src/components/dashboard/inquiryPrivacyFencing/Create/Form/index.jsx
+++ b/src/components/dashboard/inquiryPrivacyFencing/Create/Form/index.jsx
@@ -1,13 +1,13 @@
import LtrTextField from "@/core/components/LtrTextField";
-import { Autocomplete, Button, Chip, DialogActions, DialogContent, Grid, InputAdornment, Stack, TextField, Typography } from "@mui/material";
+import StyledForm from "@/core/components/StyledForm";
+import { SET_INQUIRE_PRIVACY_FENCING } from "@/core/utils/routes";
+import useRequest from "@/lib/hooks/useRequest";
+import { Autocomplete, Button, Chip, DialogActions, DialogContent, Fade, Grid, InputAdornment, Stack, TextField, Typography } from "@mui/material";
import { DatePicker, LocalizationProvider, faIR } from "@mui/x-date-pickers";
import { AdapterDateFnsJalali } from "@mui/x-date-pickers/AdapterDateFnsJalali";
-import LocationOnMap from "./LocationOnMap";
import { Formik } from "formik";
-import StyledForm from "@/core/components/StyledForm";
import moment from "jalali-moment";
-import useRequest from "@/lib/hooks/useRequest";
-import { SET_INQUIRE_PRIVACY_FENCING } from "@/core/utils/routes";
+import LocationOnMap from "./LocationOnMap";
const CreateForm = ({ handleClose }) => {
const request = useRequest()
@@ -118,23 +118,27 @@ const CreateForm = ({ handleClose }) => {
/>
- {
- formik.setFieldValue('motaghazi_type_id', newValue)
- }}
- options={["دولتی", "خصوصی"]}
- renderInput={(params) => }
- />
+
+ {
+ formik.setFieldValue('motaghazi_type_id', newValue)
+ }}
+ options={["دولتی", "خصوصی"]}
+ renderInput={(params) => }
+ />
+
-
+
+
+
@@ -143,7 +147,9 @@ const CreateForm = ({ handleClose }) => {
-
+
+
+
@@ -187,7 +193,7 @@ const CreateForm = ({ handleClose }) => {
onChange={(event, newValue) => {
formik.setFieldValue('rah_type_id', newValue)
}}
- options={["آزاد راه", "بزرگراه"]}
+ options={["آزاد راه", "بزرگراه", 'راه فرعی درجه 3']}
renderInput={(params) => }
/>
@@ -199,12 +205,14 @@ const CreateForm = ({ handleClose }) => {
onChange={(event, newValue) => {
formik.setFieldValue('name_mehvar_id', newValue)
}}
- options={["تست"]}
+ options={["سایر"]}
renderInput={(params) => }
/>
- {/* */}
+
+
+
{
/>
- {
- formik.setFieldValue('arze_navar', newValue)
- }}
- options={["15", "30"]}
- renderInput={(params) => }
- />
+
+ {
+ formik.setFieldValue('arze_navar', newValue)
+ }}
+ options={["15", "30"]}
+ renderInput={(params) => }
+ />
+
diff --git a/src/components/dashboard/inquiryPrivacyFencing/Create/index.jsx b/src/components/dashboard/inquiryPrivacyFencing/Create/index.jsx
index a939113..42bb2af 100644
--- a/src/components/dashboard/inquiryPrivacyFencing/Create/index.jsx
+++ b/src/components/dashboard/inquiryPrivacyFencing/Create/index.jsx
@@ -1,20 +1,11 @@
"use client";
-import { Close } from "@mui/icons-material";
-import { Dialog, DialogTitle, IconButton, Slide } from "@mui/material";
-import { useState } from "react";
-import CreateForm from "./Form";
import DialogTransition from "@/core/components/DialogTransition";
+import { Close } from "@mui/icons-material";
+import { Dialog, DialogTitle, IconButton } from "@mui/material";
+import CreateForm from "./Form";
-const InquiryPrivacyFencingCreate = () => {
- const [open, setOpen] = useState(true);
+const InquiryPrivacyFencingCreate = ({ open, handleClose }) => {
- const handleClickOpen = () => {
- setOpen(true);
- };
-
- const handleClose = (value) => {
- setOpen(false);
- };
return (
<>