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} + /> + + { {address?.first_Name} {address?.last_name}, + {address.company_name + ? `${address.company_name},` + : ""} + {address.gst_number ? `${address.gst_number},` : ""} {address?.phone_Number},{address?.street}, {address?.city},{address?.state},{address?.country}, {address?.postalCode}