filter search + primary color + logo + ...

This commit is contained in:
hamid zarghami
2025-10-19 16:04:28 +03:30
parent ef0deaf3bd
commit ab2d5ea9a5
54 changed files with 1282 additions and 211 deletions
+6 -4
View File
@@ -10,20 +10,22 @@ import type {
export const getNativeOrders = async (
page: number = 1,
status: string
status: string,
search: string
): Promise<NativeOrdersResponseType> => {
const { data } = await axios.get("/admin/orders/native", {
params: { page, status },
params: { page, status, q: search },
});
return data;
};
export const getSellerOrders = async (
page: number = 1,
status: string
status: string,
search: string
): Promise<NativeOrdersResponseType> => {
const { data } = await axios.get("/admin/orders/seller", {
params: { page, status },
params: { page, status, q: search },
});
return data;
};