This commit is contained in:
Malai Raja
2023-12-21 19:06:17 +05:30
parent bacc216a48
commit 9881ecda12
3 changed files with 8 additions and 7 deletions

Submodule nearlexpressbuild updated: 83733b1555...a31bad3ad7

View File

@@ -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} >

View File

@@ -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)