- Lista iscritti: aggiunto le note e il flag "Da Contattare"

This commit is contained in:
Surya Paolo
2025-01-14 19:17:05 +01:00
parent 08a089881c
commit e2dbe08139
46 changed files with 113 additions and 36 deletions

View File

@@ -165,6 +165,7 @@ export default defineComponent({
'profile.mygroups': 1,
'profile.qualifica': 1,
'profile.note': 1,
'profile.da_contattare': 1,
'profile.resid_province': 1,
'mycities.reg': 1,
}

View File

@@ -967,6 +967,8 @@ export default defineComponent({
filtercustom.push({ 'profile.teleg_id_old': { $gt: 1 } });
} else if (myitemsingle === shared_consts.FILTER_NOTE) {
filtercustom.push({ 'profile.note': { $exists: true, $ne: '' } });
} else if (myitemsingle === shared_consts.FILTER_DA_CONTATTARE) {
filtercustom.push({ 'profile.da_contattare': { $exists: true, $ne: false } });
} else if (myitemsingle === shared_consts.FILTER_SENZA_NOTE) {
filtercustom.push({
$or: [

View File

@@ -39,7 +39,8 @@
<q-item-label v-if="contact.profile" caption lines="3"
>
<em>{{ contact.profile.qualifica }}</em>
<span v-if="contact.profile.note"><span v-if="contact.profile.qualifica"><br></span><em style="color: blue;">Note: {{ contact.profile.note }}</em></span>
<span v-if="tools.isFacil() && contact.profile.note"><span v-if="contact.profile.qualifica"><br></span><em style="color: blue;">Note: {{ contact.profile.note }}</em></span>
<span v-if="tools.isFacil() && contact.profile.da_contattare"><br><em style="color: red;">Da Contattare</em></span>
</q-item-label
>
<q-item-label caption lines="1"></q-item-label>

View File

@@ -37,7 +37,6 @@ export default defineComponent({
}
function UpdateDbNote() {
const calendarStore = useCalendarStore()
const globalStore = useGlobalStore()
const { t } = useI18n()