@@ -41,7 +36,7 @@
-
+
@@ -51,22 +46,22 @@
- {{ getProperties(typeId).operator }}
+ {{ getProperties(type).operator }}
- {{ $n(Math.abs(Number(amount)), 'decimal') }}
+ {{ $n(balance, 'decimal') }}
- {{ typeId !== 'DECAY' ? `${linkedUser.firstName} ${linkedUser.lastName}` : $t('decay.decay_since_last_transaction') }}
+ {{ type !== 'decay' ? name : $t('decay.decay_since_last_transaction') }}
-
+
{{ $t('form.memo') }}
@@ -76,13 +71,13 @@
-
+
{{ $t('form.date') }}
- {{ $d(new Date(balanceDate), 'long') }} {{ $i18n.locale === 'de' ? 'Uhr' : '' }}
+ {{ $d(new Date(date), 'long') }} {{ $i18n.locale === 'de' ? 'Uhr' : '' }}
@@ -91,7 +86,7 @@
-
+
@@ -103,7 +98,7 @@
-
+
@@ -118,13 +113,14 @@
-
+
@@ -150,10 +146,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 {