- Transazioni Pendenti (all'Admin compaiono tutte quelle pendenti e con la possibilità di accettarle)
This commit is contained in:
@@ -19,3 +19,8 @@
|
|||||||
.rigamov {
|
.rigamov {
|
||||||
background-color: lightgray;
|
background-color: lightgray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.causale {
|
||||||
|
font-weight: bold;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
@@ -18,7 +18,9 @@
|
|||||||
</q-item-section>
|
</q-item-section>
|
||||||
|
|
||||||
<q-item-section>
|
<q-item-section>
|
||||||
<q-item-label v-if="mov.causal">{{ mov.causal }}</q-item-label>
|
<q-item-label class="causale" v-if="mov.causal">{{
|
||||||
|
mov.causal
|
||||||
|
}}</q-item-label>
|
||||||
<q-item-label lines="1">
|
<q-item-label lines="1">
|
||||||
{{ t('movement.from') }} <span class="myfrom">{{ mov.myfrom }}</span>
|
{{ t('movement.from') }} <span class="myfrom">{{ mov.myfrom }}</span>
|
||||||
</q-item-label>
|
</q-item-label>
|
||||||
|
|||||||
@@ -2,7 +2,11 @@
|
|||||||
<div class="q-ma-sm text-center">
|
<div class="q-ma-sm text-center">
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="num_notifs > 0"
|
v-if="num_notifs > 0"
|
||||||
:label="(num_notifs > 1) ? t('circuit.mov_in_arrivo', {mov: num_notifs}) : t('circuit.ris_in_arrivo')"
|
:label="
|
||||||
|
num_notifs > 1
|
||||||
|
? t('circuit.mov_in_arrivo', { mov: num_notifs })
|
||||||
|
: t('circuit.ris_in_arrivo')
|
||||||
|
"
|
||||||
@click="shownotif = true"
|
@click="shownotif = true"
|
||||||
icon="fas fa-coins"
|
icon="fas fa-coins"
|
||||||
rounded
|
rounded
|
||||||
|
|||||||
@@ -111,8 +111,15 @@ export default defineComponent({
|
|||||||
|
|
||||||
function getlastnotifcoins(username: string): any {
|
function getlastnotifcoins(username: string): any {
|
||||||
// Get msg for this chat
|
// Get msg for this chat
|
||||||
if (notifStore.last_notifcoins)
|
if (notifStore.last_notifcoins) {
|
||||||
|
if (userStore.isAdmin) {
|
||||||
|
console.log('userStore.isAdmin', userStore.isAdmin, notifStore.last_notifcoins)
|
||||||
|
return notifStore.last_notifcoins
|
||||||
|
} else {
|
||||||
return notifStore.last_notifcoins.find((rec: INotif) => rec.dest === username)
|
return notifStore.last_notifcoins.find((rec: INotif) => rec.dest === username)
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
// return users_msg_saved[username]
|
// return users_msg_saved[username]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1465,6 +1465,7 @@ const msg_it = {
|
|||||||
movements: 'Movimenti',
|
movements: 'Movimenti',
|
||||||
ris_in_arrivo: '👉🏻 Apri, hai RIS da ricevere !',
|
ris_in_arrivo: '👉🏻 Apri, hai RIS da ricevere !',
|
||||||
mov_in_arrivo: '👉🏻 Apri {mov} transazioni in RIS!',
|
mov_in_arrivo: '👉🏻 Apri {mov} transazioni in RIS!',
|
||||||
|
mov_in_arrivo_sent: '👉🏻 {mov} transazioni UTENTI in RIS!',
|
||||||
transaz: 'mov',
|
transaz: 'mov',
|
||||||
movements_made: 'Movimenti effettuati',
|
movements_made: 'Movimenti effettuati',
|
||||||
contocomunitario: 'Conto Comunitario',
|
contocomunitario: 'Conto Comunitario',
|
||||||
|
|||||||
@@ -109,6 +109,7 @@ export const useCircuitStore = defineStore('CircuitStore', {
|
|||||||
let arrcircnaz = this.listcircuits.filter((rec: ICircuit) => rec.showAlways)
|
let arrcircnaz = this.listcircuits.filter((rec: ICircuit) => rec.showAlways)
|
||||||
|
|
||||||
for (const circ of arrcircnaz) {
|
for (const circ of arrcircnaz) {
|
||||||
|
if (userStore.my.profile.useraccounts)
|
||||||
circ.account = userStore.my.profile.useraccounts.find((rec: IAccount) => rec.circuitId === circ._id)
|
circ.account = userStore.my.profile.useraccounts.find((rec: IAccount) => rec.circuitId === circ._id)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -655,6 +655,22 @@
|
|||||||
></q-btn>
|
></q-btn>
|
||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<q-btn
|
||||||
|
label="Rimuovi Transazioni Pendenti"
|
||||||
|
color="primary"
|
||||||
|
@click="EseguiFunz('RemovePendentTransactions')"
|
||||||
|
></q-btn>
|
||||||
|
<br />
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<q-btn
|
||||||
|
label="Rimuovi Vecchie Notifiche (indietro di 3 mesi)"
|
||||||
|
color="primary"
|
||||||
|
@click="EseguiFunz('RemoveOldNotif90')"
|
||||||
|
></q-btn>
|
||||||
|
<br />
|
||||||
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<q-btn
|
<q-btn
|
||||||
label="Correggi Transazioni Circuiti"
|
label="Correggi Transazioni Circuiti"
|
||||||
|
|||||||
111
tsconfig.json
111
tsconfig.json
@@ -6,7 +6,6 @@
|
|||||||
"tests",
|
"tests",
|
||||||
"src-pwa",
|
"src-pwa",
|
||||||
"public/js",
|
"public/js",
|
||||||
|
|
||||||
// these are the eslint-only inclusions
|
// these are the eslint-only inclusions
|
||||||
"**/*.config.js" // for *.config.js files
|
"**/*.config.js" // for *.config.js files
|
||||||
],
|
],
|
||||||
@@ -16,37 +15,95 @@
|
|||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@components": ["src/components/index.ts"],
|
"@components": [
|
||||||
"@costanti": ["src/store/Modules/costanti.ts"],
|
"src/components/index.ts"
|
||||||
"@boot": ["src/boot/*"],
|
],
|
||||||
"@views": ["src/views/*"],
|
"@costanti": [
|
||||||
"@src/*": ["src/*"],
|
"src/store/Modules/costanti.ts"
|
||||||
"@/*": ["src/*"],
|
],
|
||||||
"@css": ["src/public/css/variables.scss"],
|
"@boot": [
|
||||||
"@icons": ["src/public/icons/*"],
|
"src/boot/*"
|
||||||
"@images": ["src/public/images/*"],
|
],
|
||||||
"@maps": ["src/public/maps/*"],
|
"@views": [
|
||||||
"@classes": ["src/classes/index.ts"],
|
"src/views/*"
|
||||||
"@utils": ["src/utils/index.ts"],
|
],
|
||||||
"@router": ["src/router/index.ts"],
|
"@src/*": [
|
||||||
"@validators": ["src/utils/validators.ts"],
|
"src/*"
|
||||||
"@methods": ["src/utils/methods.ts"],
|
],
|
||||||
"@api": ["src/store/Api/index.ts"],
|
"@/*": [
|
||||||
"@api/*": ["src/store/Api/*"],
|
"src/*"
|
||||||
"@paths": ["src/store/Api/ApiRoutes.ts"],
|
],
|
||||||
"@storemod": ["src/store/Modules/*"],
|
"@css": [
|
||||||
"@store/*": ["src/store/*"],
|
"src/public/css/variables.scss"
|
||||||
"@modules": ["src/store/Modules/index.ts"],
|
],
|
||||||
"@model": ["src/model/index.ts"],
|
"@icons": [
|
||||||
"@model/*": ["src/model/*"],
|
"src/public/icons/*"
|
||||||
"model": ["src/model/index.ts"],
|
],
|
||||||
"enums": ["src/enums/*"],
|
"@images": [
|
||||||
|
"src/public/images/*"
|
||||||
|
],
|
||||||
|
"@maps": [
|
||||||
|
"src/public/maps/*"
|
||||||
|
],
|
||||||
|
"@classes": [
|
||||||
|
"src/classes/index.ts"
|
||||||
|
],
|
||||||
|
"@utils": [
|
||||||
|
"src/utils/index.ts"
|
||||||
|
],
|
||||||
|
"@router": [
|
||||||
|
"src/router/index.ts"
|
||||||
|
],
|
||||||
|
"@validators": [
|
||||||
|
"src/utils/validators.ts"
|
||||||
|
],
|
||||||
|
"@methods": [
|
||||||
|
"src/utils/methods.ts"
|
||||||
|
],
|
||||||
|
"@api": [
|
||||||
|
"src/store/Api/index.ts"
|
||||||
|
],
|
||||||
|
"@api/*": [
|
||||||
|
"src/store/Api/*"
|
||||||
|
],
|
||||||
|
"@paths": [
|
||||||
|
"src/store/Api/ApiRoutes.ts"
|
||||||
|
],
|
||||||
|
"@storemod": [
|
||||||
|
"src/store/Modules/*"
|
||||||
|
],
|
||||||
|
"@store/*": [
|
||||||
|
"src/store/*"
|
||||||
|
],
|
||||||
|
"@modules": [
|
||||||
|
"src/store/Modules/index.ts"
|
||||||
|
],
|
||||||
|
"@model": [
|
||||||
|
"src/model/index.ts"
|
||||||
|
],
|
||||||
|
"@model/*": [
|
||||||
|
"src/model/*"
|
||||||
|
],
|
||||||
|
"model": [
|
||||||
|
"src/model/index.ts"
|
||||||
|
],
|
||||||
|
"enums": [
|
||||||
|
"src/enums/*"
|
||||||
|
],
|
||||||
"crypto": [
|
"crypto": [
|
||||||
"node_modules/bcryptjs"
|
"node_modules/bcryptjs"
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"node_modules"
|
"node_modules",
|
||||||
|
"dist",
|
||||||
|
"build",
|
||||||
|
"public/js",
|
||||||
|
"_ALL_SITES",
|
||||||
|
"__riso.app",
|
||||||
|
"docs",
|
||||||
|
"statics",
|
||||||
|
"upload",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user