- fix scelta provincia (il bottone Avanti non veniva disabilitato).

- Se non scelgo la provincia, non deve farmi vedere la App...
This commit is contained in:
Surya Paolo
2024-03-28 20:25:48 +01:00
parent de13c42f8b
commit 970428a359
10 changed files with 3592560 additions and 17 deletions

View File

@@ -3750,6 +3750,16 @@ module.exports = {
}
},
getNomeCognomeTelegram(msg) {
if (msg && msg.chat) {
let nomecognome = msg.chat.first_name ? msg.chat.first_name : '';
nomecognome += msg.chat.last_name ? ' ' + msg.chat.last_name : '';
return nomecognome;
}
return '';
},
extractNameAndSurnameByComplete(name_complete) {
const suffissoCognome = ['Del', 'La', 'De', 'Lo'];
@@ -4966,4 +4976,5 @@ module.exports = {
}
},
// Scriviere qui SOPRA le funzioni
};