diff --git a/src/main.ts b/src/main.ts index 8a0779c..2f139dd 100644 --- a/src/main.ts +++ b/src/main.ts @@ -46,6 +46,8 @@ async function initApp() { { path: '/trial-balance', name: 'trial-balance', component: () => import('./reports/TrialBalanceReport.vue') }, // TODO: Generate this list dynamically { path: '/austax/cgt-adjustments', name: 'cgt-adjustments', component: () => import('./plugins/austax/CGTAdjustmentsView.vue') }, + { path: '/austax/cgt-adjustments/new', name: 'cgt-adjustments-new', component: () => import('./plugins/austax/NewCGTAdjustmentView.vue') }, + { path: '/austax/cgt-adjustments/edit/:id', name: 'cgt-adjustments-edit', component: () => import('./plugins/austax/EditCGTAdjustmentView.vue') }, { path: '/austax/cgt-assets', name: 'cgt-assets', component: () => import('./plugins/austax/CGTAssetsView.vue') }, { path: '/austax/tax-summary', name: 'tax-summary', component: () => import('./plugins/austax/TaxSummaryReport.vue') }, ]; diff --git a/src/plugins/austax/CGTAdjustmentEditor.vue b/src/plugins/austax/CGTAdjustmentEditor.vue new file mode 100644 index 0000000..8c71f8f --- /dev/null +++ b/src/plugins/austax/CGTAdjustmentEditor.vue @@ -0,0 +1,127 @@ + + + + + diff --git a/src/plugins/austax/CGTAdjustmentsView.vue b/src/plugins/austax/CGTAdjustmentsView.vue index 5c8686c..ff095a0 100644 --- a/src/plugins/austax/CGTAdjustmentsView.vue +++ b/src/plugins/austax/CGTAdjustmentsView.vue @@ -22,10 +22,10 @@
- +
@@ -53,11 +53,9 @@ @@ -66,6 +64,8 @@ diff --git a/src/plugins/austax/NewCGTAdjustmentView.vue b/src/plugins/austax/NewCGTAdjustmentView.vue new file mode 100644 index 0000000..a56e726 --- /dev/null +++ b/src/plugins/austax/NewCGTAdjustmentView.vue @@ -0,0 +1,43 @@ + + + + +
{{ cgt_adjustment.description }} - + + +