mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
get firstTransaction from Transactionlist, add collaps block for firstTransaction
This commit is contained in:
parent
e76bae4585
commit
e1d07e3642
@ -12,7 +12,16 @@
|
|||||||
<small>{{ $t('error.empty-transactionlist') }}</small>
|
<small>{{ $t('error.empty-transactionlist') }}</small>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-for="{ decay, transactionId, type, date, balance, name, memo } in transactions"
|
v-for="{
|
||||||
|
decay,
|
||||||
|
transactionId,
|
||||||
|
type,
|
||||||
|
date,
|
||||||
|
balance,
|
||||||
|
name,
|
||||||
|
memo,
|
||||||
|
firstTransaction,
|
||||||
|
} in transactions"
|
||||||
:key="transactionId"
|
:key="transactionId"
|
||||||
:style="type === 'decay' ? 'background-color:#f1e0ae3d' : ''"
|
:style="type === 'decay' ? 'background-color:#f1e0ae3d' : ''"
|
||||||
>
|
>
|
||||||
@ -22,7 +31,7 @@
|
|||||||
>
|
>
|
||||||
<!-- Collaps Button -->
|
<!-- Collaps Button -->
|
||||||
<div
|
<div
|
||||||
v-if="type != 'decay' && decay"
|
v-if="(type != 'decay' && decay) || firstTransaction"
|
||||||
class="text-right"
|
class="text-right"
|
||||||
style="width: 95%; position: absolute"
|
style="width: 95%; position: absolute"
|
||||||
>
|
>
|
||||||
@ -113,7 +122,11 @@
|
|||||||
|
|
||||||
<!-- Collaps Start -->
|
<!-- Collaps Start -->
|
||||||
|
|
||||||
<b-collapse v-if="type != 'decay' && decay" class="pb-4" :id="'decay-' + transactionId">
|
<b-collapse
|
||||||
|
v-if="(type != 'decay' && decay) || firstTransaction"
|
||||||
|
class="pb-4"
|
||||||
|
:id="'decay-' + transactionId"
|
||||||
|
>
|
||||||
<div style="border: 0px; background-color: #f1f1f1" class="p-2 pb-4 mb-4">
|
<div style="border: 0px; background-color: #f1f1f1" class="p-2 pb-4 mb-4">
|
||||||
<decay-information
|
<decay-information
|
||||||
v-if="decay"
|
v-if="decay"
|
||||||
@ -122,6 +135,9 @@
|
|||||||
:decay="decay"
|
:decay="decay"
|
||||||
:type="type"
|
:type="type"
|
||||||
/>
|
/>
|
||||||
|
<div v-if="firstTransaction" class="mt-3 mb-3 text-center">
|
||||||
|
Die erste Transanktion binhaltet keinen Vergänglichkeit.
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</b-collapse>
|
</b-collapse>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user