@@ -36,7 +41,7 @@
-
+
@@ -46,22 +51,22 @@
- {{ getProperties(type).operator }}
+ {{ getProperties(typeId).operator }}
- {{ $n(balance, 'decimal') }}
+ {{ $n(Math.abs(Number(amount)), 'decimal') }}
- {{ type !== 'decay' ? name : $t('decay.decay_since_last_transaction') }}
+ {{ typeId !== 'DECAY' ? `${linkedUser.firstName} ${linkedUser.lastName}` : $t('decay.decay_since_last_transaction') }}
-
+
{{ $t('form.memo') }}
@@ -71,13 +76,13 @@
-
+
{{ $t('form.date') }}
- {{ $d(new Date(date), 'long') }} {{ $i18n.locale === 'de' ? 'Uhr' : '' }}
+ {{ $d(new Date(balanceDate), 'long') }} {{ $i18n.locale === 'de' ? 'Uhr' : '' }}
@@ -86,7 +91,7 @@
-
+
@@ -98,7 +103,7 @@
-
+
@@ -113,14 +118,13 @@
-
+
@@ -146,10 +150,10 @@ import PaginationButtons from '../../../components/PaginationButtons'
import DecayInformation from '../../../components/DecayInformation'
const iconsByType = {
- send: { icon: 'arrow-left-circle', classes: 'text-danger', operator: '−' },
- receive: { icon: 'arrow-right-circle', classes: 'gradido-global-color-accent', operator: '+' },
- creation: { icon: 'gift', classes: 'gradido-global-color-accent', operator: '+' },
- decay: { icon: 'droplet-half', classes: 'gradido-global-color-gray', operator: '−' },
+ SEND: { icon: 'arrow-left-circle', classes: 'text-danger', operator: '−' },
+ RECEIVE: { icon: 'arrow-right-circle', classes: 'gradido-global-color-accent', operator: '+' },
+ CREATION: { icon: 'gift', classes: 'gradido-global-color-accent', operator: '+' },
+ DECAY: { icon: 'droplet-half', classes: 'gradido-global-color-gray', operator: '−' },
}
export default {