- Corretto campo "Comune di Residenza".

- Aggiornato Completamento Profilo: Comune di Residenza.
- Registrazione
This commit is contained in:
Surya Paolo
2025-11-26 18:32:05 +01:00
parent b37204f543
commit 145327a6ca
53 changed files with 4122 additions and 1203 deletions

View File

@@ -5636,6 +5636,14 @@ export const tools = {
return globalStore.getProvinceByProv(prov);
},
getComune() {
const userStore = useUserStore();
const globalStore = useGlobalStore();
const comune = userStore.my.profile.resid_str_comune;
//return globalStore.getProvinceByProv(prov);
return comune;
},
visualizzaHomeApp() {
return tools.getProvincia() !== '';
@@ -5665,6 +5673,18 @@ export const tools = {
return mylink + add;
},
getLinkGruppiTerritorialiTelegram() {
try {
const globalStore = useGlobalStore();
const site = globalStore.site;
return site && site.telegram_gruppi_territoriali_senzainvito
? site.telegram_gruppi_territoriali_senzainvito
: '';
} catch (e) {
return '';
}
},
getBotName(): string {
if (tools.isTest() && !import.meta.env.DEV) {
return tools.getValDb('TELEG_BOT_NAME', false);
@@ -8631,6 +8651,9 @@ export const tools = {
if (tablejoin === 'provinces') {
ris = 'profile.resid_province';
}
if (tablejoin === 'cities') {
ris = 'profile.resid_comune';
}
if (tablejoin === 'cards') {
ris = 'profile.resid_card';
}
@@ -11435,6 +11458,10 @@ export const tools = {
return Array.from(array, (byte) => byte.toString(16).padStart(2, '0')).join('');
},
isGruppoMacro() {
return this.getIdApp() === this.IDAPP_MACRO
},
// FINE !
// getLocale() {