-ordini attivi
This commit is contained in:
@@ -380,7 +380,7 @@ export default defineComponent({
|
||||
|
||||
function getpercqtaraggiunta(): number {
|
||||
if (myproduct.value)
|
||||
return tools.calcperc(myproduct.value.bookedGASQtyOrdered, myproduct.value.qtyToReachForGas) / 100
|
||||
return tools.calcperc((myproduct.value.bookedGASQtyOrdered + myproduct.value.bookableAvailableQty!) * myproduct.value.productInfo.weight!, myproduct.value.qtyToReachForGas) / 100
|
||||
else
|
||||
return 0
|
||||
}
|
||||
|
||||
@@ -556,7 +556,7 @@
|
||||
<span class="prod_disp">
|
||||
{{
|
||||
t('ecomm.bookedGASQtyOrdered_str', {
|
||||
qta: myproduct.bookedGASQtyOrdered,
|
||||
qta: (myproduct.bookedGASQtyOrdered + myproduct.bookableAvailableQty) * myproduct.productInfo.weight,
|
||||
qtatot: myproduct.qtyToReachForGas,
|
||||
})
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user