- migliorata grafica prodotti
This commit is contained in:
@@ -749,12 +749,13 @@ module.exports.getmsgorderTelegram = async function (ordersCart) {
|
||||
for (const ord of ordersCart.items) {
|
||||
msg += '<br>';
|
||||
let qtystr = ''
|
||||
let qtynum = 0
|
||||
if (ord.order.quantity > 0)
|
||||
qtystr += ord.order.quantity;
|
||||
qtynum += ord.order.quantity;
|
||||
if (ord.order.quantitypreordered > 0)
|
||||
qtystr += ord.order.quantitypreordered;
|
||||
qtynum += ord.order.quantitypreordered;
|
||||
|
||||
qtystr += ' ' + tools.getUnitsMeasure(ord.order.product.productInfo.weight, true);
|
||||
qtystr += qtynum + ' ' + tools.getUnitsMeasure(ord.order.product.productInfo.unit, true);
|
||||
|
||||
if (ord.order.quantitypreordered > 0)
|
||||
qtystr += ord.order.quantitypreordered + ' Pre-Ordinati'
|
||||
|
||||
Reference in New Issue
Block a user