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

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)