Members, Circuits

This commit is contained in:
Paolo Arena
2022-10-21 21:25:54 +02:00
parent 9d40649af3
commit 6c306b36f3
73 changed files with 4424 additions and 93 deletions

View File

@@ -628,6 +628,32 @@ export const shared_consts = {
},
],
StatusCircuit: [
{
value: 0,
label: '',
hint: ''
},
{
value: 1,
label: 'Creazione Gruppo in corso',
hint: 'Prima di abilitare il circuito monetario RIS, è consigliato raggiungere un certo numero di partecipanti.',
icon: 'fas fa-users',
},
{
value: 2,
label: 'Sottoscrizione regolamento',
hint: 'I membri devono ora accettare il regolamento prima di attivare gli scambi in RIS',
icon: 'far fa-hourglass',
},
{
value: 3,
label: 'Circuito Abilitato',
hint: 'il Circuito è stato abilitato allo scambio di monete RIS',
icon: 'far fa-check-circle',
},
],
Permissions: {
Admin: {
value: 1,
@@ -1107,6 +1133,12 @@ export const shared_consts = {
},
],
CIRCUIT_STATUS: {
FASE0: 0,
FASE1_CREAZIONE_GRUPPO: 1,
FASE2_ORGANIZZAZIONE: 2,
FASE3_MONETA_ABILITATA: 3,
},
getStatusStr(status: number) {
const trovatorec = this.OrderStatusStr.find((rec) => rec.value === status)