customers
This commit is contained in:
@@ -108,6 +108,7 @@ export default function OrdersReport() {
|
||||
const [ridersdata, setRidersdata] = useState(null);
|
||||
const [selectedLocation, setSelectedLocation] = useState(null);
|
||||
const [locationId, setLocationId] = useState(0);
|
||||
const [searchLocation, setSearchLocation] = useState('');
|
||||
|
||||
useEffect(() => {
|
||||
console.log('openRow', openRow);
|
||||
@@ -142,7 +143,7 @@ export default function OrdersReport() {
|
||||
isError: tenantLocationsIsError,
|
||||
error: tenantLocationsError
|
||||
} = useQuery({
|
||||
queryKey: ['tenantlocations'],
|
||||
queryKey: ['tenantlocations', searchLocation],
|
||||
queryFn: gettenantlocations
|
||||
});
|
||||
|
||||
@@ -725,7 +726,6 @@ export default function OrdersReport() {
|
||||
<Typography variant="h5"> {totalDeliCancel}</Typography>
|
||||
</TableCell>
|
||||
<TableCell></TableCell>
|
||||
<TableCell></TableCell>
|
||||
<TableCell align="right" sx={{ pr: -2 }}>
|
||||
<Typography variant="h5">{formatNumberToRupees(total)}</Typography>
|
||||
</TableCell>{' '}
|
||||
|
||||
Reference in New Issue
Block a user