1404/11/20-add inventory for product

This commit is contained in:
2026-02-09 11:59:33 +03:30
parent e5a76193b7
commit e5503f8864
4 changed files with 106 additions and 97 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ export const createProduct = async (obj: Customer) =>
await useAxios.post<AddId>(`/admin/product`, obj)
export const deleteCustomer = async (id: number) => await useAxios.delete(`/admin/product/${id}`)
export const updateCustomer = async (id: number, obj: Customer) =>
export const updateProduct = async (id: number, obj: Customer) =>
await useAxios.put<AddId>(`/admin/product/${id}`, obj)
export const getCustomerTable = async (params: TableInput) =>