- 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

@@ -70,6 +70,11 @@ html
- var gasordine = ''
- var qty = rec.order.product.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 if (rec.order.product.productInfo.weight)
- qtypreordered = qtypreordered + ' x ' + rec.order.product.productInfo.weight
- var unit = rec.order.product.productInfo.unitstr
- var TotalPriceProduct = rec.order.TotalPriceProductstr
- index = index + 1
@@ -83,7 +88,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")