Optionally add account to grid

This commit is contained in:
Jan Bader 2022-04-22 21:25:10 +00:00 committed by Gitea
parent 3b465f17cf
commit 9fd70cd773

View File

@ -11,6 +11,7 @@ import Checkbox from "./Checkbox.vue";
const props = defineProps<{
transactionid: string,
index: number,
withAccount: bool,
}>();
const edit = ref(false);
@ -41,6 +42,9 @@ function getStatusSymbol() {
<td class="hidden md:block">
{{ formatDate(TX.Date) }}
</td>
<td class="pl-2 md:pl-0" v-if="withAccount">
{{ TX.Account }}
</td>
<td class="pl-2 md:pl-0">
{{ TX.TransferAccount ? "Transfer : " + TX.TransferAccount : TX.Payee }}
</td>