26122023
This commit is contained in:
Submodule nearlexpressbuild updated: c38817a742...3d035da528
@@ -283,7 +283,8 @@ const Createorder = () => {
|
||||
"subcategoryid": tenantinfo.subcategoryid,
|
||||
"partnerid": tenantinfo.partnerid,
|
||||
"deliverylat":val.latitude,
|
||||
"deliverylong":val.longitude
|
||||
"deliverylong":val.longitude,
|
||||
"applocationid":parseInt(localStorage.getItem('applocationid'))
|
||||
|
||||
})
|
||||
|
||||
|
||||
@@ -1909,7 +1909,7 @@ const Orders = () => {
|
||||
setCreated(res.data.details.created.toString())
|
||||
setClosed(res.data.details.delivered.toString());
|
||||
// setPicked(res.data.details.picked.toString())
|
||||
setPercentage1((Math.round((res.data.details.total / res.data.details.total) * 100) || 0).toString())
|
||||
setPercentage1((Math.round((res.data.details.created / res.data.details.total) * 100) || 0).toString())
|
||||
setPercentage3((Math.round((res.data.details.delivered / res.data.details.total) * 100) || 0).toString())
|
||||
|
||||
setPercentage4((Math.round((res.data.details.cancelled / res.data.details.total) * 100) || 0).toString())
|
||||
@@ -2022,10 +2022,10 @@ const Orders = () => {
|
||||
: modified} percentage={percentage2.toString()} color={theme.palette.secondary[600]} />
|
||||
</Grid> */}
|
||||
<Grid item xs={12} lg={3} sm={6}>
|
||||
<HoverSocialCard primary="All orders" secondary={(allorders === '') ?
|
||||
<HoverSocialCard primary="Created Orders" secondary={(created === '') ?
|
||||
<Skeleton sx={{ width: '30px' }} animation="wave" />
|
||||
|
||||
: allorders} percentage={percentage1.toString()} color={theme.palette.primary.main} />
|
||||
: created} percentage={percentage1.toString()} color={theme.palette.primary.main} />
|
||||
</Grid>
|
||||
<Grid item xs={12} lg={3} sm={6}>
|
||||
<HoverSocialCard primary="Pending orders" secondary={(uncoveredorders == '') ?
|
||||
|
||||
Reference in New Issue
Block a user