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) {
|
||||
this.GdtBalance = Number(result.result.data.gdtSum)
|
||||
this.transactions = result.result.data.transactions
|
||||
console.log("this.transactions => ", this.transactions[1].decay.decay_start)
|
||||
this.balance = Number(result.result.data.decay)
|
||||
this.bookedBalance = Number(result.result.data.balance)
|
||||
this.transactionCount = result.result.data.count
|
||||
|
||||
@ -40,9 +40,11 @@
|
||||
<hr>
|
||||
|
||||
<div>Seit deiner letzten Transaction sind </div>
|
||||
<div>{{ item.decay }} vergangen.</div>
|
||||
<div>{{ typeof(item.decay) }} vergangen.</div>
|
||||
<div>{{ item.decay }} Vergänglichkeit.</div>
|
||||
<p> {{ $moment(getDecay(item.id).decay_start).format('DDD.MM,YYYY - mm:hh:ss') }}</p>
|
||||
<p> {{ $moment(getDecay(item.id).decay_end).format('DDD.MM,YYYY - mm:hh:ss') }}</p>
|
||||
<div>{{ }} vergangen.</div>
|
||||
<br>
|
||||
<div>{{getDecay(item.id).balance }} Vergänglichkeit.</div>
|
||||
</b-card-body>
|
||||
|
||||
<b-button v-b-toggle="'collapse-1-inner' + item.date" variant="secondary">
|
||||
@ -116,6 +118,9 @@ export default {
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
getDecay(id){
|
||||
return this.transactions.find(t => t.id === id)
|
||||
},
|
||||
updateTransactions() {
|
||||
this.$emit('update-transactions', {
|
||||
firstPage: this.currentPage,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user