change list invoce and tickets + pwa + ...

This commit is contained in:
hamid zarghami
2025-03-05 16:44:11 +03:30
parent 0084aefae4
commit b346481267
19 changed files with 8624 additions and 188 deletions
+4 -3
View File
@@ -6,11 +6,12 @@ export const useGetInvoices = (
status: string,
customerId: string,
search: string,
date: string
date: string,
endDate: string
) => {
return useQuery({
queryKey: ["invoices", status, customerId, search, date],
queryFn: () => api.getInvoces(status, customerId, search, date),
queryKey: ["invoices", status, customerId, search, date, endDate],
queryFn: () => api.getInvoces(status, customerId, search, date, endDate),
});
};