changes
This commit is contained in:
@@ -37,8 +37,10 @@ export const usePosStore = defineStore("pos", () => {
|
||||
async function changeCustomer(cusId) {
|
||||
isChangingCus.value = true;
|
||||
const updatedCart = await $patchapi("Cart", {
|
||||
id: activeCartId.value,
|
||||
customer: cusId,
|
||||
data: {
|
||||
id: activeCartId.value,
|
||||
customer: cusId,
|
||||
},
|
||||
});
|
||||
await getCarts();
|
||||
isChangingCus.value = false;
|
||||
|
||||
Reference in New Issue
Block a user