Attivare gli scambi RIS solo se si è aggiunto almeno 1 bene o 1 servizio.

This commit is contained in:
Surya Paolo
2022-12-03 03:14:19 +01:00
parent 556d933638
commit 686dc585e6
9 changed files with 79 additions and 41 deletions

View File

@@ -1,6 +1,5 @@
<template>
<CNotifAtTop/>
circuit: {{circuit}}
<div class="q-gutter-sm q-pa-sm q-pb-md">
<div v-if="!circuit && !loading">
<div v-if="mystatus === 403">
@@ -46,6 +45,25 @@
<em style="font-weight: bold">{{ $t('db.youarerefusedcircuit') }}</em><br>
</q-banner>
<q-banner
v-if="userStore.my.profile.calc.numGoodsAndServices <= 0"
rounded
class="bg-orange text-white"
style="text-align: center;"
>
<template v-slot:avatar>
<q-icon
name="fas fa-exclamation-triangle"
color="yellow"
size="xs"
/>
</template>
<em style="font-weight: bold">{{ $t('db.insertgoodorservices_to_start_circuit') }}</em><br>
</q-banner>
<br>
<CSaldo
:symbol="circuit.symbol"
:account="account"