regNameSurnameMandatory

askUSernameTelegramToTheReg
@ davanti all'username
This commit is contained in:
Surya Paolo
2024-01-19 23:38:08 +01:00
parent dbcdbd689b
commit e4504bcf9e
3 changed files with 8 additions and 6 deletions

View File

@@ -784,7 +784,7 @@ module.exports = {
const msginizio = msg;
console.log(msginizio);
await telegrambot.sendMsgTelegramToTheManagers(idapp, msginizio);
// await telegrambot.sendMsgTelegramToTheManagers(idapp, msginizio);
if (process.env.SEND_EMAIL_ORDERS === '1') {
@@ -805,11 +805,11 @@ module.exports = {
const esito = this.sendEmail_base('ecommerce/' + ordertype + '/' + lang, mylocalsconf.emailto, mylocalsconf,
mylocalsconf.dataemail.email_reply);
this.sendEmail_base('ecommerce/' + ordertype + '/' + lang, tools.getAdminEmailByIdApp(idapp), mylocalsconf, '');
// this.sendEmail_base('ecommerce/' + ordertype + '/' + lang, tools.getAdminEmailByIdApp(idapp), mylocalsconf, '');
if (tools.isManagAndAdminDifferent(idapp)) {
this.sendEmail_base('ecommerce/' + ordertype + '/' + lang, tools.getManagerEmailByIdApp(idapp), mylocalsconf, '');
}
// if (tools.isManagAndAdminDifferent(idapp)) {
// this.sendEmail_base('ecommerce/' + ordertype + '/' + lang, tools.getManagerEmailByIdApp(idapp), mylocalsconf, '');
// }
}
} else {
console.log('Invio Email non eseguito perchè sei in TEST !');