- Aggiornamento template mail (tramite i campi in HTML)
- Aggiornato Carrello
This commit is contained in:
@@ -824,8 +824,7 @@ module.exports = {
|
||||
headers: vapidHeaders,
|
||||
};
|
||||
|
||||
console.log('************ INVIO WEBPUSH.SENDNOTIFICATION N° ',
|
||||
conta, '/', trovati, 'A', subscription.browser);
|
||||
// console.log('************ INVIO WEBPUSH.SENDNOTIFICATION N° ', conta, '/', trovati, 'A', subscription.browser);
|
||||
|
||||
const pushPayload = JSON.stringify(payload);
|
||||
|
||||
@@ -4368,5 +4367,15 @@ module.exports = {
|
||||
return Object.keys(obj).length === 0;
|
||||
},
|
||||
|
||||
getUnitsMeasure(unit, short) {
|
||||
const unitrec = shared_consts.Units_Of_Measure_ListBox.find((rec) => rec.value === unit)
|
||||
return unitrec ? (short ? unitrec.short : unitrec.label) : ''
|
||||
},
|
||||
|
||||
getIdUnitsByText(unitstr) {
|
||||
const unitrec = shared_consts.Units_Of_Measure_ListBox.find((rec) => rec.short === unitstr)
|
||||
return unitrec ? unitrec.value : 0
|
||||
},
|
||||
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user