s
This commit is contained in:
@@ -27,26 +27,53 @@
|
||||
<table class="table table-striped" aria-describedby="transactions">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="row"><span>ID</span></th>
|
||||
<th scope="row"><span>Type</span></th>
|
||||
<th scope="row"><span>Date</span></th>
|
||||
<th scope="row"><span>Comment</span></th>
|
||||
<!-- <th/>-->
|
||||
<!-- <th/>-->
|
||||
<!-- <th/>-->
|
||||
<th />
|
||||
<th />
|
||||
|
||||
<th scope="row"><span>Event</span></th>
|
||||
<th scope="row" v-for="item in transactions[0].items">
|
||||
<span>{{ item.userAccount?.name }}</span>
|
||||
</th>
|
||||
<th scope="row"></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<!-- <th/>-->
|
||||
<!-- <th/>-->
|
||||
<!-- <th/>-->
|
||||
<th />
|
||||
<th>Saldo</th>
|
||||
<th v-for="amount in sums">
|
||||
<span class="bold">{{ amount }}</span>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<!-- <th scope="row"><span>ID</span></th>-->
|
||||
<!-- <th scope="row"><span>Type</span></th>-->
|
||||
<th scope="row"><span>Date</span></th>
|
||||
<!-- <th scope="row"><span>Comment</span></th>-->
|
||||
|
||||
<th scope="row"><span></span></th>
|
||||
<!-- <th scope="row"><span>Transactions:</span></th>-->
|
||||
<th scope="row" v-for="item in transactions[0].items">
|
||||
<span></span>
|
||||
<!-- <span>{{ item.userAccount?.name }}</span>-->
|
||||
</th>
|
||||
<th scope="row"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="transaction in transactions" :key="transaction.id" data-cy="entityTable">
|
||||
<td>
|
||||
<router-link :to="{ name: 'TransactionView', params: { transactionId: transaction.id } }">{{ transaction.id }}</router-link>
|
||||
<router-link :to="{ name: 'TransactionView', params: { transactionId: transaction.id } }"
|
||||
>{{ transaction.date }} {{ transaction.type }}
|
||||
</router-link>
|
||||
<div v-if="transaction.comment">{{ transaction.comment }}</div>
|
||||
</td>
|
||||
<td>{{ transaction.type }}</td>
|
||||
<td>{{ transaction.date }}</td>
|
||||
<td>{{ transaction.comment }}</td>
|
||||
<!-- <td>{{ transaction.type }}</td>-->
|
||||
<!-- <td>{{ transaction.date }}</td>-->
|
||||
<!-- <td>{{ transaction.comment }}</td>-->
|
||||
<td>
|
||||
<div v-if="transaction.event">
|
||||
<router-link :to="{ name: 'EventView', params: { eventId: transaction.event.id } }">{{
|
||||
|
||||
Reference in New Issue
Block a user