Corretto incongruenze OrdersCart
This commit is contained in:
@@ -183,7 +183,7 @@ export default defineComponent({
|
||||
|
||||
const myprod = productStore.getProductByCode(lowerSearchText);
|
||||
if (myprod && myprod.active) {
|
||||
let myorder: IOrder = { quantity: 1, price: 0, TotalPriceProduct: 0 }
|
||||
let myorder: IOrder = { quantity: 1, quantitypreordered: 0, price: 0, TotalPriceProduct: 0 }
|
||||
await productStore.addtoCartBase({ $q, t, code: myprod.code!, order: myorder, addqty: true })
|
||||
search.value = ''
|
||||
load()
|
||||
|
||||
Reference in New Issue
Block a user