mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
91 lines
2.1 KiB
Vue
91 lines
2.1 KiB
Vue
<template>
|
|
<div class="transaction-slot-send">
|
|
<b-row @click="visible = !visible" class="">
|
|
<b-col cols="2">
|
|
<b-avatar icon="arrow-left-circle" variant="danger" size="4em"></b-avatar>
|
|
</b-col>
|
|
<b-col>
|
|
<div>
|
|
<name
|
|
v-on="$listeners"
|
|
:amount="amount"
|
|
:linkedUser="linkedUser"
|
|
:transactionLinkId="transactionLinkId"
|
|
/>
|
|
</div>
|
|
<div class="small">{{ balanceDate }}</div>
|
|
<div class="small">{{ balanceDate }}</div>
|
|
</b-col>
|
|
<b-col cols="3">
|
|
<div class="small">{{ $t('decay.types.send') }}</div>
|
|
<div class="small">{{ amount | GDD }}</div>
|
|
</b-col>
|
|
<b-col cols="1"><collapse-icon class="text-right" :visible="visible" /></b-col>
|
|
</b-row>
|
|
<b-collapse class="pb-4 pt-5" v-model="visible">
|
|
<decay-information :typeId="typeId" :decay="decay" :amount="amount" />
|
|
</b-collapse>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import CollapseIcon from '../TransactionRows/CollapseIcon'
|
|
// import TypeIcon from '../TransactionRows/TypeIcon'
|
|
import Name from '../TransactionRows/Name'
|
|
// import MemoRow from '../TransactionRows/MemoRow'
|
|
// import DateRow from '../TransactionRows/DateRow'
|
|
// import DecayRow from '../TransactionRows/DecayRow'
|
|
import DecayInformation from '../DecayInformations/DecayInformation'
|
|
|
|
export default {
|
|
name: 'TransactionSend',
|
|
components: {
|
|
CollapseIcon,
|
|
// TypeIcon,
|
|
Name,
|
|
// MemoRow,
|
|
// DateRow,
|
|
// DecayRow,
|
|
DecayInformation,
|
|
},
|
|
props: {
|
|
amount: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
balanceDate: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
decay: {
|
|
type: Object,
|
|
required: true,
|
|
},
|
|
linkedUser: {
|
|
type: Object,
|
|
required: true,
|
|
},
|
|
memo: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
typeId: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
transactionLinkId: {
|
|
type: Number,
|
|
required: false,
|
|
},
|
|
previousBookedBalance: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
},
|
|
data() {
|
|
return {
|
|
visible: false,
|
|
}
|
|
},
|
|
}
|
|
</script>
|