- fix quantità corretta sulla email e dimensione dell'immagine

This commit is contained in:
Surya Paolo
2024-04-11 17:12:21 +02:00
parent c2d76ff10a
commit 3e8be18473
8 changed files with 43 additions and 178 deletions

View File

@@ -76,9 +76,9 @@ html
- var qty = rec.order.quantity
- var qtypreordered = rec.order.quantitypreordered
if (rec.order.product.productInfo.sfuso && rec.order.product.productInfo.weight)
qtypreordered = (qtypreordered * rec.order.product.productInfo.weight);
else
qtypreordered = qtypreordered + ' x ' + rec.order.product.productInfo.weight;
- qtypreordered = qtypreordered * rec.order.product.productInfo.weight
else if (rec.order.product.productInfo.weight)
- qtypreordered = qtypreordered + ' x ' + rec.order.product.productInfo.weight
- var unit = rec.order.product.productInfo.unitstr
- index = index + 1
@@ -92,7 +92,7 @@ html
table(cellpadding="0", cellspacing="0", summary="", border="0")
tr
td
img(src=baseimg + img, alt="", width="150" height="150")
img(src=baseimg + img, alt="", width="150")
td(class="column", valign="top")
table(cellpadding="0", cellspacing="0", summary="", border="0")