- aggiungo campo "sfuso"

- aggiunto totale al carrello
This commit is contained in:
Surya Paolo
2024-02-11 16:33:00 +01:00
parent e7b0fd1d95
commit 9ca9ea6eaa
14 changed files with 41 additions and 17 deletions

View File

@@ -712,7 +712,7 @@ const MyTelegramBot = {
arrTeleg = appTelegram;
}
if (process.env.NODE_ENV === 'development') {
arrTeleg = appTelegram_DEVELOP;
arrTeleg = MyTelegramBot.getAppTelegramDevelop();
} else if (process.env.NODE_ENV === 'test') {
arrTeleg = MyTelegramBot.getAppTelegramTest();
} else {
@@ -736,6 +736,15 @@ const MyTelegramBot = {
},
getAppTelegramDevelop: function () {
if (process.env.appTelegram_TEST) {
return JSON.parse(process.env.appTelegram_TEST);
} else {
return appTelegram_DEVELOP;
}
},
local_sendMsgTelegramByIdTelegram: async function (idapp, idtelegram, text,
message_id, chat_id, ripr_menuPrec,
MyForm = null) {