Aggiungi il codice alla cassa in automatico

This commit is contained in:
Surya Paolo
2023-12-18 15:21:07 +01:00
parent a3913a4575
commit 7e7d7ca6b4
2 changed files with 17 additions and 1 deletions

View File

@@ -244,6 +244,10 @@ module.exports.updateStatusOrdersElements = async function (arrOrders, myelement
module.exports.updateTotals = function (order) {
try {
if (!order) {
return;
}
let mypricecalc = 0;
order.TotalPriceProduct = 0;