- Invia e Ricevi RIS (grafica aggiornata)
- Visualizzazione Movimenti (ultimi e successivi), per singolo e di tutti
This commit is contained in:
@@ -676,6 +676,33 @@ export const useUserStore = defineStore('UserStore', {
|
||||
return tools.getUrlSite() + '/registrati/' + username
|
||||
},
|
||||
|
||||
getLinkProfile(username: string): string {
|
||||
if (username === '')
|
||||
username = this.my.username
|
||||
return tools.getUrlSite() + '/my/' + username
|
||||
},
|
||||
|
||||
getLinkProfileAndRIS(username: string, qtyris: string, causale: string = ''): string {
|
||||
|
||||
let myparams = ''
|
||||
if (username === '')
|
||||
username = this.my.username
|
||||
let mylink = tools.getUrlSite() + '/my/' + username
|
||||
|
||||
let myval = tools.strToVal(qtyris, true)
|
||||
if (myval !== null) {
|
||||
if (myparams)
|
||||
myparams += `&`
|
||||
myparams += `sr=${myval}`
|
||||
}
|
||||
if (causale) {
|
||||
if (myparams)
|
||||
myparams += `&`
|
||||
myparams += `cd=${tools.convertStringToUrl(causale)}`
|
||||
}
|
||||
return mylink + (myparams ? '?' + myparams : '')
|
||||
},
|
||||
|
||||
isTelegIdOk(): boolean {
|
||||
return (this.my.profile.teleg_id! > 0 || this.my.profile.teleg_id_old! > 0)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user