aggiornamento visualizzazione Ordini e Carrello
This commit is contained in:
@@ -1799,6 +1799,7 @@ module.exports = {
|
||||
return (myapp) ? this.decryptdata(myapp.email_pwd) : '';
|
||||
},
|
||||
|
||||
|
||||
getTelegramBotNameByIdApp: function (idapp) {
|
||||
const myapp = this.MYAPPS.find((item) => item.idapp === idapp);
|
||||
if (process.env.NODE_ENV === 'test')
|
||||
@@ -3477,7 +3478,7 @@ module.exports = {
|
||||
},
|
||||
|
||||
decryptdata(mydatacrypted) {
|
||||
if (mydatacrypted === '')
|
||||
if (mydatacrypted === '' || mydatacrypted === undefined)
|
||||
return '';
|
||||
// Decrypt
|
||||
// const bytes = CryptoJS.AES.decrypt(mydatacrypted.toString(), process.env.SECRK);
|
||||
|
||||
@@ -376,6 +376,7 @@ module.exports = {
|
||||
ENTRA_RIS_ITALIA: 30,
|
||||
},
|
||||
|
||||
|
||||
OrderStatus: {
|
||||
NONE: 0,
|
||||
IN_CART: 1,
|
||||
@@ -387,6 +388,14 @@ module.exports = {
|
||||
CANCELED: 10,
|
||||
},
|
||||
|
||||
OrderStatStr: {
|
||||
IN_CORSO: 1,
|
||||
CONFERMATI: 2,
|
||||
PAGATI: 3,
|
||||
COMPLETATI: 4,
|
||||
CANCELLATI: 5,
|
||||
},
|
||||
|
||||
OrderStatusView: {
|
||||
CHECKOUT_SENT: 2,
|
||||
ORDER_CONFIRMED: 3,
|
||||
|
||||
Reference in New Issue
Block a user