- catalogo
- corretto logica del RefreshToken che non richiedeva il nuovo token, quindi scadeva tutte le volte, richiedendo sempre l'accesso !
This commit is contained in:
@@ -43,17 +43,19 @@
|
||||
</q-toolbar-title>
|
||||
<q-btn flat round color="white" icon="close" v-close-popup></q-btn>
|
||||
</q-toolbar>
|
||||
<q-card-section class="inset-shadow">
|
||||
<q-card-section v-if="circuit.symbol === 'RIS'" class="inset-shadow">
|
||||
<div v-html="t('circuit.disclaimer')"></div>
|
||||
</q-card-section>
|
||||
<q-card-section class="inset-shadow">
|
||||
<div style="font-weight: bold; font-size: 1.25rem">
|
||||
Regolamento:
|
||||
{{ t('circuit.regulation') }} {{ circuit.name }}
|
||||
</div>
|
||||
<q-btn
|
||||
v-if="!showrules"
|
||||
label="vedi Regolamento"
|
||||
@click="showrules = !showrules"
|
||||
></q-btn>
|
||||
<br />
|
||||
<div
|
||||
v-if="showrules && circuit"
|
||||
v-html="getRegulation(circuit.regulation)"
|
||||
@@ -72,7 +74,7 @@
|
||||
userStore.my.username,
|
||||
circuit.name,
|
||||
true,
|
||||
groupnameSel ? groupnameSel.groupname : ''
|
||||
groupnameSel ? groupnameSel.groupname : '',
|
||||
);
|
||||
"
|
||||
/>
|
||||
@@ -113,11 +115,12 @@
|
||||
v-close-popup
|
||||
v-if="true"
|
||||
@click="
|
||||
saldo !== 0
|
||||
saldo < 0
|
||||
? tools.showNegativeNotif(
|
||||
$q,
|
||||
t(
|
||||
'circuit.per_uscire_dal_circuito_occorre_essere_a_zero'
|
||||
'circuit.per_uscire_dal_circuito_occorre_essere_a_zero',
|
||||
{ symbol: circuit.symbol }
|
||||
),
|
||||
30000
|
||||
)
|
||||
@@ -179,7 +182,7 @@
|
||||
to="/circuits"
|
||||
round
|
||||
icon="fas fa-arrow-circle-left"
|
||||
style="position: absolute;"
|
||||
style="position: absolute"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
@@ -215,7 +218,7 @@
|
||||
rounded
|
||||
dense
|
||||
color="green"
|
||||
style="height: 40px;"
|
||||
style="height: 40px"
|
||||
icon="fas fa-redo"
|
||||
class="q-mx-sm"
|
||||
@click="aggiornaSaldo()"
|
||||
@@ -336,7 +339,7 @@
|
||||
v-if="userStore.IsMyCircuitByName(circuit.name)"
|
||||
:label="t('circuit.movements_made')"
|
||||
@click="showMov = !showMov"
|
||||
icon="img: images/1ris_rosso_100.png"
|
||||
:icon="tools.getSymbolByCircuit(circuit) === 'RIS' ? 'img: images/1ris_rosso_100.png' : undefined"
|
||||
rounded
|
||||
color="primary"
|
||||
></q-btn>
|
||||
@@ -394,6 +397,7 @@
|
||||
v-if="
|
||||
userStore.my.profile &&
|
||||
userStore.my.profile.calc &&
|
||||
!circuit.circuitoIndipendente &&
|
||||
userStore.my.profile.calc.numGoodsAndServices <= 0 &&
|
||||
globalStore.site.confpages.showRIS &&
|
||||
userStore.IsMyCircuitByName(circuit.name)
|
||||
@@ -414,6 +418,7 @@
|
||||
<q-banner
|
||||
v-else-if="
|
||||
globalStore.site.confpages.showRIS &&
|
||||
!circuit.circuitoIndipendente &&
|
||||
userStore.my.profile.calc &&
|
||||
userStore.my.profile.calc.numGoodsAndServices <= 0
|
||||
"
|
||||
@@ -442,14 +447,22 @@
|
||||
!userStore.IsMyCircuitByName(circuit.name) &&
|
||||
!userStore.IsAskedCircuitByName(circuit.name) &&
|
||||
!userStore.IsRefusedCircuitByName(circuit.name) &&
|
||||
(!circuitStore.isCircuitNational(circuit.name) ||
|
||||
(circuit.circuitoIndipendente ||
|
||||
!circuitStore.isCircuitNational(circuit.name) ||
|
||||
(circuitStore.isCircuitNational(circuit.name) &&
|
||||
circuitStore.SonoDentroAdAlmeno1CircuitoConFido()))
|
||||
"
|
||||
:disable="circuitStore.IsNationalAndNotEnterInLocal(circuit.name)"
|
||||
:disable="
|
||||
!circuit.circuitoIndipendente &&
|
||||
circuitStore.IsNationalAndNotEnterInLocal(circuit.name)
|
||||
"
|
||||
icon="fas fa-user-plus"
|
||||
color="primary"
|
||||
:label="$t('circuit.ask')"
|
||||
:label="
|
||||
circuit.askManagerToEnter
|
||||
? $t('circuit.ask')
|
||||
: $t('circuit.enter')
|
||||
"
|
||||
@click="
|
||||
requestToEnterCircuit = true;
|
||||
groupnameSel = null;
|
||||
@@ -740,7 +753,7 @@
|
||||
<q-separator />
|
||||
|
||||
<q-card-section>
|
||||
<div class="text-h8 q-mb-sm">
|
||||
<div v-if="tools.getSymbolByCircuit(circuit) === 'RIS'" class="text-h8 q-mb-sm">
|
||||
<div v-html="$t('circuit.aggiuntive')"></div>
|
||||
</div>
|
||||
<q-card-section>
|
||||
@@ -838,6 +851,7 @@
|
||||
<div :class="$q.screen.lt.sm ? '' : 'row'">
|
||||
<div class="sezioni">
|
||||
<CCurrencyValue
|
||||
v-if="!circuit.ignoreLimits"
|
||||
:symbol="tools.getSymbolByCircuit(circuit)"
|
||||
:color="tools.getColorByCircuit(circuit)"
|
||||
color_border="red"
|
||||
@@ -849,6 +863,7 @@
|
||||
</div>
|
||||
<div class="sezioni">
|
||||
<CCurrencyValue
|
||||
v-if="!circuit.ignoreLimits"
|
||||
:symbol="tools.getSymbolByCircuit(circuit)"
|
||||
:color="tools.getColorByCircuit(circuit)"
|
||||
color_border="green"
|
||||
@@ -857,6 +872,16 @@
|
||||
:label="t('circuit.qta_max_default')"
|
||||
:tips="t('circuit.qta_max_default_tips')"
|
||||
></CCurrencyValue>
|
||||
<CCurrencyValue
|
||||
v-if="circuit.creditodiPartenza > 0"
|
||||
:symbol="tools.getSymbolByCircuit(circuit)"
|
||||
:color="tools.getColorByCircuit(circuit)"
|
||||
color_border="blue"
|
||||
v-model="circuit.creditodiPartenza"
|
||||
icon="fas fa-battery-quarter"
|
||||
:label="t('circuit.creditodiPartenza')"
|
||||
:tips="t('circuit.creditodiPartenza_tips')"
|
||||
></CCurrencyValue>
|
||||
</div>
|
||||
<!--<div v-if="circuit.qta_max_default_grp" class="sezioni">
|
||||
<CCurrencyValue
|
||||
@@ -884,7 +909,7 @@
|
||||
</div>
|
||||
-->
|
||||
</div>
|
||||
<div class="sezioni">
|
||||
<div v-if="circuit.totTransato" class="sezioni">
|
||||
<q-icon name="fas fa-stats" class="iconcirc"></q-icon>
|
||||
{{ t('circuit.stats') }}:
|
||||
<br />
|
||||
@@ -949,13 +974,14 @@
|
||||
|
||||
<q-card v-if="circuit.name">
|
||||
<q-card-section>
|
||||
<div class="text-h8">{{ t('circuit.regulation') }}:</div>
|
||||
<div class="text-h8">{{ t('circuit.regulation') }} {{ circuit.name }}: </div>
|
||||
</q-card-section>
|
||||
<q-separator />
|
||||
|
||||
<q-card-section>
|
||||
<div class="centermydiv">
|
||||
<q-btn
|
||||
v-if="!showrules"
|
||||
label="vedi Regolamento"
|
||||
@click="showrules = !showrules"
|
||||
></q-btn>
|
||||
|
||||
Reference in New Issue
Block a user