1404/11/20-add inventory for product
This commit is contained in:
+1
-1
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user