From 8ce42aeb2d6d043162f63474943ce10e2021c3b8 Mon Sep 17 00:00:00 2001 From: roshangarg Date: Wed, 17 Apr 2024 17:13:35 +0530 Subject: [PATCH] updated the add cusstomer fileds --- src/index.js | 2 +- src/views/customerDetails/addCustomer.js | 46 +++++++++++++++++++ .../customerDetails/singleUserAllDetails.js | 4 ++ 3 files changed, 51 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 466639c..3e4516a 100644 --- a/src/index.js +++ b/src/index.js @@ -14,7 +14,7 @@ import { cibGmail } from "@coreui/icons"; import { createRoot } from "react-dom/client"; const setupAxios = () => { - //axios.defaults.baseURL = "http://localhost:5000"; + // axios.defaults.baseURL = "http://localhost:5000"; axios.defaults.baseURL = "https://api.smellika.com"; axios.defaults.headers = { diff --git a/src/views/customerDetails/addCustomer.js b/src/views/customerDetails/addCustomer.js index 2f0dc20..025e7ab 100644 --- a/src/views/customerDetails/addCustomer.js +++ b/src/views/customerDetails/addCustomer.js @@ -42,6 +42,8 @@ const AddCustomer = () => { state: "", postalCode: "", country: "", + company_name: "", + gst_number: Number, }); // console.log(data); @@ -373,6 +375,50 @@ const AddCustomer = () => { /> + + + + Company Name + + handleChange(e)} + + // value={accountDetails.firstname} + // onChange={handerInputChanges} + /> + + + + + + GST Number + + handleChange(e)} + + // value={accountDetails.firstname} + // onChange={handerInputChanges} + /> + +