This commit is contained in:
hamid zarghami
2026-02-17 11:12:25 +03:30
parent d3f65e90ea
commit a939d3bb4c
8 changed files with 116 additions and 9 deletions
+5
View File
@@ -10,3 +10,8 @@ export const createChargeBill = async (params: CreateBillChargeType) => {
const { data } = await axios.post("/bills/charge", params);
return data;
};
export const getBills = async (page: number = 1) => {
const { data } = await axios.get(`/bills?page=${page}`);
return data;
};