Files
myprojplanet_vite/src/components/CSaldo/CSaldo.vue
Paolo Arena da17c2b060 ver "0.5.9"
Saldo ora comprende anche le transazioni Pendenti (e le visualizza)
2022-09-18 01:20:48 +02:00

52 lines
1.6 KiB
Vue
Executable File

<template>
<CCurrencyValue
:symbol="symbol"
:tips="t('account.saldo_tips', {fido: qtarem, symbol})"
:color="color"
:value="saldo"
:valueextra="account && account.notifspending ? `* `: ''"
:label="t('account.saldo') + ` (` + t('account.dispon') + `: ` + qtarem + `)`">
</CCurrencyValue>
<div v-if="account && account.notifspending" :class="`text-h5 bordo_stondato_stretto full-width`"
:style="(!$q.screen.lt.sm ? `min-width: 250px; ` : ``) + (color_border ? `border-color: ` + color_border + `!important;`: '')">
<div class="text-center text-h7-dense text-italic text-grey-14">
{{ t('movement.pendingtransaction') }}
</div>
<div v-for="(myrec, index) in account.notifspending" :key="myrec._id">
<div class="row justify-evenly items-center q-gutter-xs ">
<span v-for="(mycol, indcol) of colTableNotifCoins" :key="indcol">
<div
class="col"
style="display: flex;"
v-if="(mycol.visible && (tools.checkIfShowField(mycol, tools.TIPOVIS_SHOW_RECORD, false, tools.getValue(myrec, mycol.field, mycol.subfield))))">
<span v-if="mycol.name === 'datenotif'">{{ index + 1 }}</span>
<CMyFieldRec
table="sendnotifs"
:id="myrec._id"
:rec="myrec"
:field="mycol.name"
:canEdit="false"
:canModify="false">
</CMyFieldRec>
</div>
</span>
</div>
</div>
</div>
</template>
<script lang="ts" src="./CSaldo.ts">
</script>
<style lang="scss" scoped>
@import './CSaldo.scss';
</style>