aboutsummaryrefslogtreecommitdiff
path: root/src/router/index.ts
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-12-03 22:16:22 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-12-03 22:16:22 +0530
commit37ef1ab2f544a05b5878c5bdaafd37155a054289 (patch)
treebd2ca480a33b16dd795d7f2a9047d12734f5c61e /src/router/index.ts
parent511e5f3badb871a4407a1cfef2d17a8c99660d30 (diff)
added invoice edit page0.1.0
Diffstat (limited to 'src/router/index.ts')
-rw-r--r--src/router/index.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/router/index.ts b/src/router/index.ts
index 7719220..55e2070 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -9,6 +9,7 @@ import NewCustomer from '../views/NewCustomer.vue'
import AllItems from '../views/AllItems.vue'
import NewItem from '../views/NewItem.vue'
import NewInvoice from '../views/NewInvoice.vue'
+import EditInvoice from '../views/EditInvoice.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@@ -67,6 +68,12 @@ const router = createRouter({
component: NewInvoice,
meta: { isAuth: true }
},
+ {
+ path: '/invoice/edit-draft/:id',
+ name: 'edit-draft',
+ component: EditInvoice,
+ meta: { isAuth: true }
+ },
]
})