Risolto problema blocco
This commit is contained in:
@@ -61,6 +61,14 @@ export default defineComponent({
|
||||
})
|
||||
}
|
||||
|
||||
function isApplicatoSconto() {
|
||||
const totalipotetico = order.value.price! * order.value.quantity
|
||||
if (totalipotetico > order.value.TotalPriceProduct!) {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
function removeFromCard() {
|
||||
products.removeFromCart({ order: order.value })
|
||||
}
|
||||
@@ -69,6 +77,7 @@ export default defineComponent({
|
||||
myimgclass,
|
||||
addsubqty,
|
||||
removeFromCard,
|
||||
isApplicatoSconto,
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user