This commit is contained in:
Fadli
2022-12-20 11:03:09 +07:00
4 changed files with 299 additions and 27 deletions

View File

@@ -222,6 +222,12 @@ export class Transaction {
return response;
}
async checkBill(data) {
const response = await http.post("/transaction/check-bill").send(data);
console.log(response)
return response;
}
async update(id, data) {
try {
const response = await http.put(`/product/${id}`).send(data);