21122023
This commit is contained in:
Submodule nearlexpressbuild updated: 83733b1555...a31bad3ad7
@@ -278,7 +278,8 @@ const Createclient = () => {
|
||||
"latitude": latlong.lat.toString(),
|
||||
"longitude": latlong.lng.toString(),
|
||||
"tenantid": parseInt(localStorage.getItem('tenantid')),
|
||||
"email" : emailaddress
|
||||
"email" : emailaddress,
|
||||
"primaryaddress":1
|
||||
}
|
||||
|
||||
console.log(obj)
|
||||
@@ -460,9 +461,9 @@ const Createclient = () => {
|
||||
/>
|
||||
</Stack>
|
||||
</Grid> */}
|
||||
<Grid item xs={12} sm={6}>
|
||||
<Grid item xs={12}>
|
||||
<Stack spacing={1.25}>
|
||||
<InputLabel htmlFor="personal-last-name">Admin Name</InputLabel>
|
||||
<InputLabel htmlFor="personal-last-name">Name</InputLabel>
|
||||
<TextField fullWidth
|
||||
id="personal-last-name" placeholder="Name"
|
||||
onChange={(e) => setFirstname(e.target.value)}
|
||||
@@ -472,8 +473,8 @@ const Createclient = () => {
|
||||
/>
|
||||
</Stack>
|
||||
</Grid>
|
||||
<Grid item xs={12} sm={6}>
|
||||
</Grid>
|
||||
{/* <Grid item xs={12} sm={6}>
|
||||
</Grid> */}
|
||||
<Grid item xs={12} sm={6}
|
||||
>
|
||||
<Stack spacing={1.25} >
|
||||
|
||||
@@ -1893,7 +1893,7 @@ const Orders = () => {
|
||||
setLoading(true)
|
||||
try {
|
||||
// await axios.get(`${process.env.REACT_APP_URL2}/orders/orderlistsummary?fromdate=${startdate}&todate=${enddate}`)
|
||||
await axios.get(`${process.env.REACT_APP_URL}/orders/getordersummary/?tenantid=${tid}`)
|
||||
await axios.get(`${process.env.REACT_APP_URL}/orders/getordersummary/?tenantid=${tid}&fromdate=${startdate}&todate=${enddate}`)
|
||||
|
||||
.then((res) => {
|
||||
console.log(res)
|
||||
|
||||
Reference in New Issue
Block a user