mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
step db request ok
This commit is contained in:
parent
d61b7d36d1
commit
b48bbbb711
@ -147,8 +147,11 @@ export default {
|
||||
async updateGdt() {
|
||||
const result2 = await communityAPI.transactionsgdt(this.$store.state.sessionId)
|
||||
console.log(' communityAPI.transactionsgdt')
|
||||
console.log(result2)
|
||||
|
||||
console.log(result2.result)
|
||||
console.log(result2.result.data.gdtEntries)
|
||||
this.transactionsGdt = result2.result.data.gdtEntries
|
||||
this.transactionGdtCount = result2.result.data.count
|
||||
/*
|
||||
this.transactionsGdt =
|
||||
{
|
||||
state: 'success',
|
||||
@ -209,7 +212,8 @@ export default {
|
||||
transactionGdtExecutingCount: 4500,
|
||||
count: 4,
|
||||
}
|
||||
this.transactionGdtCount = this.transactionsGdt.count
|
||||
*/
|
||||
//this.transactionGdtCount = this.transactionsGdt.count
|
||||
// console.log('transactionGdtCount', this.transactionGdtCount)
|
||||
},
|
||||
updateBalance(ammount) {
|
||||
|
||||
@ -14,18 +14,18 @@
|
||||
amount2,
|
||||
factor2,
|
||||
gdt,
|
||||
} in this.transactionsGdt.gdt"
|
||||
} in this.transactionsGdt"
|
||||
:key="id"
|
||||
>
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">{{ id }}: {{ email }}</h5>
|
||||
<h5 class="mb-1"> Gradido Transform (GDT) erhalten {{ comment ? ': '+comment : '' }}</h5>
|
||||
<small>{{ $d($moment(date), 'long') }} {{ $i18n.locale === 'de' ? 'Uhr' : '' }}</small>
|
||||
</div>
|
||||
|
||||
{{ gdt_entry_type_id === 7 ? 'GDT in Euro gekauft' : 'GDT von gradido bekommen' }}
|
||||
|
||||
<div v-if="gdt_entry_type_id === 7">{{ amount }} GDT ⊢ {{ amount / factor }}€</div>
|
||||
<div v-else>{{ amount }} GDT</div>
|
||||
|
||||
<div v-if="gdt_entry_type_id === 7">{{ amount }} GDT * {{factor}} = {{gdt}}</div>
|
||||
<div v-else>{{ amount }} € ⊢ {{ gdt}} GDT</div>
|
||||
<small>
|
||||
{{ id }} {{ amount }} {{ date }} {{ email }} {{ comment }} {{ coupon_code }}
|
||||
{{ gdt_entry_type_id }} {{ factor }} {{ amount2 }} {{ factor2 }} {{ gdt }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user