Conto Comunitario all'interno di un Circuito

This commit is contained in:
Surya Paolo
2023-01-21 19:02:26 +01:00
parent 42d68eb4b8
commit 98c0218ef7
18 changed files with 117 additions and 42 deletions

View File

@@ -1,4 +1,5 @@
<template>
<div class="row justify-evenly items-center q-pa-sm q-ma-sm">
<div class="q-ma-sx">
<q-btn
@@ -42,7 +43,7 @@
<q-btn
v-if="
userStore.getMyCircuitsInCommonByUser(myuser).length > 0 &&
((contact.username !== userStore.my.username) || userStore.hoContiComunitariDaAmministrare())
((myuser.username !== userStore.my.username) || userStore.hoContiComunitariDaAmministrare())
"
icon="fas fa-coins"
color="green"

View File

@@ -29,7 +29,7 @@
<div v-html="getNotifText($t, notif, false)"></div>
</q-item-label>
<q-item-label caption lines="18"
v-if="notif.typedir === shared_consts.TypeNotifs.TYPEDIR_CIRCUITS && notif.status === 0 && notif.typeid === shared_consts.TypeNotifs.ID_CIRCUIT_SENDCOINSREQ"
v-if="notif.typedir === shared_consts.TypeNotifs.TYPEDIR_CIRCUITS && notif.status === shared_consts.CircuitsNotif.STATUS_NONE && notif.typeid === shared_consts.TypeNotifs.ID_CIRCUIT_SENDCOINSREQ"
>
<div class="row no-wrap justify-evenly q-pa-sm">
<q-btn

View File

@@ -426,7 +426,7 @@
tools.errorMsg('username', v$.username) ||
(isalreadyReg ? 'L\'Username è gia stato registrato!' : '')
"
:label="$t('reg.username_reg_collettivo')"
:label="collettivo ? $t('reg.username_reg_collettivo') : $t('reg.username_reg')"
>
<template v-slot:prepend>
<q-icon name="person" />