import with excel

This commit is contained in:
hamid zarghami
2026-02-17 12:25:15 +03:30
parent 751124caac
commit 6fdbd27660
4 changed files with 108 additions and 14 deletions
+6
View File
@@ -13,6 +13,12 @@ export const useCreateCharge = () => {
});
};
export const useCreateBillWithExcel = () => {
return useMutation({
mutationFn: api.createBillWithExcel,
});
};
export const useGetBills = (page: number = 1) => {
return useQuery({
queryKey: ["bills", page],