- Creazione "AbitareGliIblei"

- Mappa Interattiva con i markers
This commit is contained in:
Surya Paolo
2024-07-31 15:02:30 +02:00
parent 3ab18b591f
commit 822585cf33
252 changed files with 3600294 additions and 4300 deletions

View File

@@ -73,6 +73,7 @@ export const tools = {
COOK_MAP_CENTER_LAT: 'MAP_LAT',
COOK_MAP_CENTER_LONG: 'MAP_LONG',
COOK_MAP_ZOOM: 'MAP_Z',
COOK_CATEGORIA: 'CATEG',
FRIENDS_SEARCH: 'FR_SE',
GROUP_SEARCH: 'GR_SE',
@@ -6561,7 +6562,7 @@ export const tools = {
userStore.my.profile.useraccounts = res.useraccounts
}
$router.push('/circuits')
tools.showPositiveNotif($q, t('circuit.coins_sent', {qty: sendcoinrec.qty, symbol: circuit.symbol, dest}))
tools.showPositiveNotif($q, t('circuit.coins_sent', { qty: sendcoinrec.qty, symbol: circuit.symbol, dest }))
//tools.showPositiveNotif($q, t('circuit.coins_sendrequest_sent'))
} else {
tools.showNegativeNotif($q, res.errormsg)
@@ -8687,8 +8688,27 @@ export const tools = {
},
getRecByVersioneProd(versione: number) {
return shared_consts.VERSIONI_PRODOTTO.find((rec: any) => rec.value === versione)
return shared_consts.VERSIONI_PRODOTTO.find((rec: any) => rec.value === versione)
},
convertToDecimal6(stringValue: string) {
// Converti la stringa in un numero
try {
const numberValue = parseFloat(stringValue);
// Controlla se la conversione è un numero valido
if (isNaN(numberValue)) {
// console.error('Valore non valido:', stringValue);
return 0
}
// Usa toFixed per creare un numero con 6 decimali
return parseFloat(numberValue.toFixed(6));
} catch (error) {
console.error('Errore durante la conversione:', error);
return 0
}
}
// FINE !