receipt + learning + wallet + ...

This commit is contained in:
hamid zarghami
2025-02-22 17:07:32 +03:30
parent 1532fbc0ad
commit de7bed95cd
13 changed files with 121 additions and 68 deletions
@@ -10,6 +10,11 @@ export const getInvoiceDetail = async (id: string) => {
return data;
};
export const requestApprove = async (id: string) => {
const { data } = await axios.patch(`/invoices/${id}/approve/request`);
return data;
};
export const approveInvoice = async (id: string) => {
const { data } = await axios.patch(`/invoices/${id}/approve`);
return data;