From 37ef1ab2f544a05b5878c5bdaafd37155a054289 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 3 Dec 2023 22:16:22 +0530 Subject: added invoice edit page --- src/router/index.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/router/index.ts') 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 } + }, ] }) -- cgit v1.2.3