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