-ordini attivi

This commit is contained in:
Surya Paolo
2024-03-08 19:59:43 +01:00
parent e14ea1d63e
commit 9f78ab61d9
16 changed files with 16 additions and 16 deletions

View File

@@ -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
}

View File

@@ -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,
})
}}