Optionally add account to grid
This commit is contained in:
parent
3b465f17cf
commit
9fd70cd773
@ -11,6 +11,7 @@ import Checkbox from "./Checkbox.vue";
|
|||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
transactionid: string,
|
transactionid: string,
|
||||||
index: number,
|
index: number,
|
||||||
|
withAccount: bool,
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
const edit = ref(false);
|
const edit = ref(false);
|
||||||
@ -41,6 +42,9 @@ function getStatusSymbol() {
|
|||||||
<td class="hidden md:block">
|
<td class="hidden md:block">
|
||||||
{{ formatDate(TX.Date) }}
|
{{ formatDate(TX.Date) }}
|
||||||
</td>
|
</td>
|
||||||
|
<td class="pl-2 md:pl-0" v-if="withAccount">
|
||||||
|
{{ TX.Account }}
|
||||||
|
</td>
|
||||||
<td class="pl-2 md:pl-0">
|
<td class="pl-2 md:pl-0">
|
||||||
{{ TX.TransferAccount ? "Transfer : " + TX.TransferAccount : TX.Payee }}
|
{{ TX.TransferAccount ? "Transfer : " + TX.TransferAccount : TX.Payee }}
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user