- Entri in Circuito Italia solo se hai il fido nel circuito provinciale

- Aggiunta Zona, oltre alla provincia, per visualizzare i vari circuiti della prov
This commit is contained in:
Surya Paolo
2023-12-06 00:42:02 +01:00
parent 7f716b82b6
commit a0fbddde39
19 changed files with 273 additions and 106 deletions

View File

@@ -9,11 +9,14 @@
class="q-pa-none"
:title="
!progressStep
? $t('tutorial.title', { indstep, numindstep }) +
? $t('tutorial.title', { indstep: indstep + 1, numindstep }) +
` (` +
progressLabel +
`)`
: $t('tutorial.title_completed', { indstep, numindstep }) +
: $t('tutorial.title_completed', {
indstep: indstep + 1,
numindstep,
}) +
` (` +
progressLabel +
`)`
@@ -84,6 +87,22 @@
:db_rec="contact"
>
</CMySelectCity>
<CMySelectCity
v-if="globalStore.isPresenteCardsByProv(contact.profile.resid_province)"
:label="$t('reg.resid_card')"
table="users"
jointable="cards"
v-model="contact.profile.resid_card"
myclass="selectorwide text-white"
:db_type="costanti.FieldType.string"
db_field="profile"
db_subfield="resid_card"
:db_id="contact._id"
:db_rec="contact"
:value2="contact.profile.resid_province"
>
</CMySelectCity>
</q-banner>
<div v-else-if="step === STEP_NAME_SURNAME">
<q-banner>
@@ -125,7 +144,7 @@
outlined
v-model="circuitsel"
:options="mylistcircuits"
label="Circuito"
label="SCegli il Circuito della tua Zona:"
>
</q-select>
@@ -250,7 +269,9 @@
<span v-html="$t('tutorial.utenti_da_verificare')"></span>
<template v-slot:action>
<q-btn
:label="userstoverify.length + ' ' + $t('tutorial.utenti_da_verif_btn')"
:label="
userstoverify.length + ' ' + $t('tutorial.utenti_da_verif_btn')
"
class="q-my-sm"
rounded
icon="fas fa-users"
@@ -293,14 +314,19 @@
<q-card-section class="inset-shadow">
<q-list>
<span v-for="(rec, index) in userstoverify" :key="index" class="q-my-sm rounded-borders" clickable>
<CMyUser
:mycontact="rec"
:visu="costanti.ASK_TRUST"
@setCmd="tools.setCmd"
<span
v-for="(rec, index) in userstoverify"
:key="index"
class="q-my-sm rounded-borders"
clickable
>
</CMyUser>
</span>
<CMyUser
:mycontact="rec"
:visu="costanti.ASK_TRUST"
@setCmd="tools.setCmd"
>
</CMyUser>
</span>
</q-list>
</q-card-section>
</q-card>