Display problematic transactions #53

Merged
jacob1123 merged 16 commits from problematic-transactions into master 2022-04-23 13:32:39 +02:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 24fa12dfb3 - Show all commits

View File

@ -36,6 +36,7 @@ function getStatusSymbol() {
<tr
v-if="!edit"
class="{{new Date(TX.Date) > new Date() ? 'future' : ''}}"
:class="[index % 2 < 1 ? 'md:bg-gray-300 dark:md:bg-gray-700' : 'md:bg-gray-100 dark:md:bg-gray-900']"
>
<td class="hidden md:block">
{{ formatDate(TX.Date) }}

View File

@ -145,11 +145,11 @@ function createReconcilationTransaction() {
:budgetid="budgetid"
:accountid="accountid"
/>
<template v-for="(dayTransactions, index) in transactions.TransactionsByDate">
<template v-for="(dayTransactions, key, index) in transactions.TransactionsByDate">
<tr class="table-row md:hidden">
<td class="py-2" colspan="5">
<span class="bg-gray-400 dark:bg-slate-600 rounded-lg p-1 px-2 w-full block">
{{ index }}
{{ key }}
</span>
</td>
</tr>
@ -157,6 +157,7 @@ function createReconcilationTransaction() {
v-for="transaction in dayTransactions"
:key="transaction.ID"
:transactionid="transaction.ID"
:index="index"
/>
</template>
</table>