From 03897430aa4ff5c724ea9f4e722b518316b04252 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Fri, 22 Nov 2024 18:55:09 +1100 Subject: [PATCH] Rename /journal/{edit,new}-transaction etc. to /journal/{edit,new} for consistency --- src/main.ts | 4 ++-- src/pages/GeneralLedgerView.vue | 2 +- src/pages/JournalView.vue | 2 +- src/pages/StatementLinesView.vue | 4 ++-- src/pages/TransactionsWithCommodityView.vue | 2 +- src/pages/TransactionsWithoutCommodityView.vue | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main.ts b/src/main.ts index d0c32a1..cc8fd08 100644 --- a/src/main.ts +++ b/src/main.ts @@ -36,8 +36,8 @@ async function initApp() { { path: '/chart-of-accounts', name: 'chart-of-accounts', component: () => import('./pages/ChartOfAccountsView.vue') }, { path: '/general-ledger', name: 'general-ledger', component: () => import('./pages/GeneralLedgerView.vue') }, { path: '/journal', name: 'journal', component: () => import('./pages/JournalView.vue') }, - { path: '/journal/edit-transaction/:id', name: 'journal-edit-transaction', component: () => import('./pages/EditTransactionView.vue') }, - { path: '/journal/new-transaction', name: 'journal-new-transaction', component: () => import('./pages/NewTransactionView.vue') }, + { path: '/journal/edit/:id', name: 'journal-edit-transaction', component: () => import('./pages/EditTransactionView.vue') }, + { path: '/journal/new', name: 'journal-new-transaction', component: () => import('./pages/NewTransactionView.vue') }, { path: '/statement-lines', name: 'statement-lines', component: () => import('./pages/StatementLinesView.vue') }, { path: '/statement-lines/import', name: 'import-statement', component: () => import('./pages/ImportStatementView.vue') }, { path: '/transactions/:account', name: 'transactions', component: () => import('./pages/TransactionsView.vue') }, diff --git a/src/pages/GeneralLedgerView.vue b/src/pages/GeneralLedgerView.vue index 23fb852..3ce3e7b 100644 --- a/src/pages/GeneralLedgerView.vue +++ b/src/pages/GeneralLedgerView.vue @@ -97,7 +97,7 @@ for (const transaction of transactions.value) { let editLink = ''; if (transaction.id !== null) { - editLink = `${ PencilIconHTML }`; + editLink = `${ PencilIconHTML }`; } rows.push( ` diff --git a/src/pages/JournalView.vue b/src/pages/JournalView.vue index e62d752..af404cc 100644 --- a/src/pages/JournalView.vue +++ b/src/pages/JournalView.vue @@ -100,7 +100,7 @@ ${ dayjs(transaction.dt).format('YYYY-MM-DD') } ${ transaction.description } - ${ PencilIconHTML } + ${ PencilIconHTML } diff --git a/src/pages/StatementLinesView.vue b/src/pages/StatementLinesView.vue index c63b692..ff14630 100644 --- a/src/pages/StatementLinesView.vue +++ b/src/pages/StatementLinesView.vue @@ -241,14 +241,14 @@ const otherAccount = line.posting_accounts.find((a) => a !== line.source_account); reconciliationCell = `${ otherAccount } - ${ PencilIconHTML }`; + ${ PencilIconHTML }`; if (showOnlyUnclassified.value) { continue; } } else { // Complex reconciliation reconciliationCell = `(Complex) - ${ PencilIconHTML }`; + ${ PencilIconHTML }`; if (showOnlyUnclassified.value) { continue; } } diff --git a/src/pages/TransactionsWithCommodityView.vue b/src/pages/TransactionsWithCommodityView.vue index 9f1d1dc..6693d0d 100644 --- a/src/pages/TransactionsWithCommodityView.vue +++ b/src/pages/TransactionsWithCommodityView.vue @@ -84,7 +84,7 @@ for (const transaction of transactions) { let editLink = ''; if (transaction.id !== null) { - editLink = `${ PencilIconHTML }`; + editLink = `${ PencilIconHTML }`; } rows.push( ` diff --git a/src/pages/TransactionsWithoutCommodityView.vue b/src/pages/TransactionsWithoutCommodityView.vue index eed5fb8..0598687 100644 --- a/src/pages/TransactionsWithoutCommodityView.vue +++ b/src/pages/TransactionsWithoutCommodityView.vue @@ -80,7 +80,7 @@ for (const transaction of transactions) { let editLink = ''; if (transaction.id !== null) { - editLink = `${ PencilIconHTML }`; + editLink = `${ PencilIconHTML }`; } if (transaction.postings.length == 2) {