mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
check decay is clear
This commit is contained in:
parent
50c111176c
commit
a7e39ba02e
@ -128,6 +128,7 @@ export default {
|
|||||||
if (result.success) {
|
if (result.success) {
|
||||||
this.GdtBalance = Number(result.result.data.gdtSum)
|
this.GdtBalance = Number(result.result.data.gdtSum)
|
||||||
this.transactions = result.result.data.transactions
|
this.transactions = result.result.data.transactions
|
||||||
|
console.log("this.transactions => ", this.transactions[1].decay.decay_start)
|
||||||
this.balance = Number(result.result.data.decay)
|
this.balance = Number(result.result.data.decay)
|
||||||
this.bookedBalance = Number(result.result.data.balance)
|
this.bookedBalance = Number(result.result.data.balance)
|
||||||
this.transactionCount = result.result.data.count
|
this.transactionCount = result.result.data.count
|
||||||
|
|||||||
@ -40,9 +40,11 @@
|
|||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<div>Seit deiner letzten Transaction sind </div>
|
<div>Seit deiner letzten Transaction sind </div>
|
||||||
<div>{{ item.decay }} vergangen.</div>
|
<p> {{ $moment(getDecay(item.id).decay_start).format('DDD.MM,YYYY - mm:hh:ss') }}</p>
|
||||||
<div>{{ typeof(item.decay) }} vergangen.</div>
|
<p> {{ $moment(getDecay(item.id).decay_end).format('DDD.MM,YYYY - mm:hh:ss') }}</p>
|
||||||
<div>{{ item.decay }} Vergänglichkeit.</div>
|
<div>{{ }} vergangen.</div>
|
||||||
|
<br>
|
||||||
|
<div>{{getDecay(item.id).balance }} Vergänglichkeit.</div>
|
||||||
</b-card-body>
|
</b-card-body>
|
||||||
|
|
||||||
<b-button v-b-toggle="'collapse-1-inner' + item.date" variant="secondary">
|
<b-button v-b-toggle="'collapse-1-inner' + item.date" variant="secondary">
|
||||||
@ -116,6 +118,9 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getDecay(id){
|
||||||
|
return this.transactions.find(t => t.id === id)
|
||||||
|
},
|
||||||
updateTransactions() {
|
updateTransactions() {
|
||||||
this.$emit('update-transactions', {
|
this.$emit('update-transactions', {
|
||||||
firstPage: this.currentPage,
|
firstPage: this.currentPage,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user