diff --git a/web/src/components/TransactionRow.vue b/web/src/components/TransactionRow.vue new file mode 100644 index 0000000..0c102d4 --- /dev/null +++ b/web/src/components/TransactionRow.vue @@ -0,0 +1,40 @@ + + + + + \ No newline at end of file diff --git a/web/src/pages/Account.vue b/web/src/pages/Account.vue index ff74f8f..ca8e2aa 100644 --- a/web/src/pages/Account.vue +++ b/web/src/pages/Account.vue @@ -2,6 +2,7 @@ import { defineComponent } from "vue" import Autocomplete, { Suggestion } from '../components/Autocomplete.vue' import Currency from "../components/Currency.vue"; +import TransactionRow from "../components/TransactionRow.vue"; export default defineComponent({ data() { @@ -13,7 +14,7 @@ export default defineComponent({ Amount: 0 } }, - components: { Autocomplete, Currency }, + components: { Autocomplete, Currency, TransactionRow }, props: ["budgetid", "accountid"], methods: { saveTransaction(e : MouseEvent) { @@ -45,6 +46,15 @@ export default defineComponent({

+ + + + + + + + + - - - - - - - - - - - +
DatePayeeCategoryMemoAmount
@@ -58,36 +68,17 @@ export default defineComponent({ - + +
{{ transaction.Date.substring(0, 10) }}{{ transaction.TransferAccount ? "Transfer : " + transaction.TransferAccount : transaction.Payee }}{{ transaction.CategoryGroup ? transaction.CategoryGroup + " : " + transaction.Category : "" }} - {{ transaction.Memo }} - - - {{ transaction.Status == "Reconciled" ? "✔" : (transaction.Status == "Uncleared" ? "" : "*") }}{{ transaction.GroupID ? "☀" : "" }}
@@ -96,10 +87,6 @@ table { width: 100%; table-layout: fixed; } -td { - overflow: hidden; - white-space: nowrap; -} .negative { color: red; }