plate number changes

This commit is contained in:
2023-12-19 15:41:19 +03:30
parent a3e74e4a44
commit 24e88fc551
2 changed files with 10 additions and 11 deletions

View File

@@ -1,5 +1,4 @@
import SelectBox from "@/core/components/SelectBox";
import {SEND_LOAN_REQUEST_NAVGAN} from "@/core/data/apiRoutes";
import DataSaverOnIcon from "@mui/icons-material/DataSaverOn";
import {Box, Button, Checkbox, FormControlLabel, Grid, Stack, TextField, Typography} from "@mui/material";
import {useFormik} from "formik";
@@ -128,7 +127,7 @@ const AddFormComponent = () => {
formData.append("education_id", values.education_id);
formData.append("occupation_id", values.occupation_id);
await requestServer(SEND_LOAN_REQUEST_NAVGAN, "post", {
await requestServer("http://192.168.1.127:8001/api/navgan/loan/store", "post", {
auth: true, notification: true, data: {
telephone_number: values.telephone_number,
vehicle_type: values.vehicle_type,