- Lista iscritti: aggiunto le note e il flag "Da Contattare"
This commit is contained in:
@@ -3216,6 +3216,7 @@ export const colTableUsersCNM = [
|
||||
AddCol({ name: 'profile.motivazioni', field: 'profile', subfield: 'motivazioni', label_trans: 'reg.motivazioni' }),
|
||||
AddCol({ name: 'profile.biografia', field: 'profile', subfield: 'biografia', label_trans: 'reg.biografia' }),
|
||||
AddCol({ name: 'profile.note', field: 'profile', subfield: 'note', label_trans: 'reg.note' }),
|
||||
AddCol({ name: 'profile.da_contattare', field: 'profile', subfield: 'da_contattare', label_trans: 'reg.da_contattare', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol({
|
||||
name: 'profile.competenze_professionalita',
|
||||
field: 'profile',
|
||||
@@ -3494,6 +3495,7 @@ export const colTableUsersISP = [
|
||||
// AddCol({ name: 'profile.motivazioni', field: 'profile', subfield: 'motivazioni', label_trans: 'reg.motivazioni', }),
|
||||
AddCol({ name: 'profile.biografia', field: 'profile', subfield: 'biografia', label_trans: 'reg.biografia' }),
|
||||
AddCol({ name: 'profile.note', field: 'profile', subfield: 'note', label_trans: 'reg.note' }),
|
||||
AddCol({ name: 'profile.da_contattare', field: 'profile', subfield: 'da_contattare', label_trans: 'reg.da_contattare', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol({ name: 'profile.qualifica', field: 'profile', subfield: 'qualifica', label_trans: 'reg.qualifica' }),
|
||||
AddCol({
|
||||
name: 'profile.paymenttypes',
|
||||
|
||||
@@ -5115,6 +5115,12 @@ export const tools = {
|
||||
return { perc, totale: contatot, contaattuale }
|
||||
},
|
||||
|
||||
isFacil() {
|
||||
const userStore = useUserStore()
|
||||
|
||||
return userStore.isFacilitatore || userStore.isAdmin
|
||||
},
|
||||
|
||||
sito_online(pertutti: boolean) {
|
||||
|
||||
const userStore = useUserStore()
|
||||
|
||||
@@ -374,7 +374,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
else if (table === 'contribtypes')
|
||||
return calendarStore.contribtype
|
||||
else if (table === shared_consts.TABFILTRI_UTENTE)
|
||||
return shared_consts.RECFILTRI_UTENTE
|
||||
return [...shared_consts.RECFILTRI_UTENTE, ...((userStore.isFacilitatore || userStore.isAdmin) ? shared_consts.RECFILTRI_UTENTE_FACIL : [])]
|
||||
else if (table === 'disciplines') ris = state.disciplines
|
||||
else if (table === toolsext.TABNEWSLETTER) ris = state.newstosent
|
||||
else if (table === toolsext.TABGALLERY) ris = state.gallery
|
||||
|
||||
Reference in New Issue
Block a user