ver 0.5.73:

- corretto invia monete da Conto Collettivo a Utente
- Aggiunto Provincia (tutorial).. in corso...
This commit is contained in:
Surya Paolo
2023-03-04 10:20:49 +01:00
parent a250700c8b
commit 3f808189e3
28 changed files with 483 additions and 74 deletions

View File

@@ -24,9 +24,7 @@
label="Circuito"
>
</q-select>
<div v-else>
Circuito: {{circuitname}}
</div>
<div v-else>Circuito: {{ circuitname }}</div>
<q-banner
rounded
@@ -86,7 +84,7 @@
</div>
<CSaldo
v-if="circuitloaded"
v-if="circuitloaded && circuitloaded.symbol"
:symbol="circuitloaded.symbol"
:color="circuitloaded.color"
:saldo="accountloaded ? accountloaded.saldo : 0"
@@ -224,29 +222,34 @@
</q-card-section>
<q-card-actions align="center">
<q-btn
v-if="circuitloaded && (qtyRef
? !(qtyRef.hasError ||
!circuitloaded.transactionsEnabled ||
(tipoConto === costanti.AccountType.USER &&
to_user &&
from_username === to_user.username) ||
(tipoConto === costanti.AccountType.COLLECTIVE_ACCOUNT &&
!from_groupname) ||
(tipoConto === costanti.AccountType.COLLECTIVE_ACCOUT &&
to_group &&
from_groupname &&
to_group.groupname === from_groupname) ||
(tipoConto === costanti.AccountType.COMMUNITY_ACCOUNT &&
!from_contocom))
: true)"
v-if="
circuitloaded &&
(qtyRef
? !(
qtyRef.hasError ||
!circuitloaded.transactionsEnabled ||
(tipoConto === costanti.AccountType.USER &&
to_user &&
from_username === to_user.username) ||
(tipoConto === costanti.AccountType.COLLECTIVE_ACCOUNT &&
!from_groupname) ||
(tipoConto === costanti.AccountType.COLLECTIVE_ACCOUT &&
to_group &&
from_groupname &&
to_group.groupname === from_groupname) ||
(tipoConto === costanti.AccountType.COMMUNITY_ACCOUNT &&
!from_contocom)
)
: true)
"
:label="
$t('circuit.sendcoinsto', {
qty,
coin: circuitsel,
coin: circuitloaded.symbol,
dest: to_group
? to_group.groupname
: to_user
? to_user.username
? tools.getNomeUtenteByRecUser(to_user)
: to_contocom,
})
"