mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fixed test problems and calculation for last Transaction decay
This commit is contained in:
parent
36c1116654
commit
4441a8c717
@ -59,11 +59,11 @@
|
||||
<div>{{ $t('decay.decay') }}</div>
|
||||
</b-col>
|
||||
<b-col cols="6">
|
||||
<div v-if="decaytyp === 'new'">{{ $n(decay.balance, 'decimal') }}</div>
|
||||
<div v-if="decaytyp === 'new'">- {{ $n(decay.balance, 'decimal') }}</div>
|
||||
<div v-if="decaytyp === 'decayLastTransaction'">
|
||||
{{ $n(decay.balance, 'decimal') }} GDD -
|
||||
{{ $n(decay.balance + gddbalance, 'decimal') }} =
|
||||
<b>{{ $n(gddbalance, 'decimal') }}</b>
|
||||
{{ $n(decay.balance + gddbalance, 'decimal') }} GDD -
|
||||
{{ $n(decay.balance, 'decimal') }} GDD =
|
||||
<b>{{ $n(gddbalance, 'decimal') }} GDD</b>
|
||||
</div>
|
||||
</b-col>
|
||||
</b-row>
|
||||
|
||||
@ -117,7 +117,7 @@ describe('GddTransactionList', () => {
|
||||
decay: { balance: '1.5' },
|
||||
},
|
||||
{
|
||||
balance: '1.07',
|
||||
balance: 1.07,
|
||||
type: 'decay',
|
||||
},
|
||||
],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user