From 4c48edc7905d6fb16b01ea707ee7e730dff78ced Mon Sep 17 00:00:00 2001
From: Vidhu Kant Sharma <vidhukant@vidhukant.com>
Date: Thu, 7 Dec 2023 05:01:08 +0530
Subject: added view invoice page with print button!

---
 src/components/invoice_header_editor.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/invoice_header_editor.vue')

diff --git a/src/components/invoice_header_editor.vue b/src/components/invoice_header_editor.vue
index 0a39ce5..6bd62b8 100644
--- a/src/components/invoice_header_editor.vue
+++ b/src/components/invoice_header_editor.vue
@@ -58,7 +58,7 @@ const submit = async (e: Event) => {
       "customerwebsite": c.Website,
     })
 
-    route.push({ name: "edit-draft", params: { id: res.data.data.ID }})
+    route.push({ name: "edit-invoice", params: { id: res.data.data.ID }})
   } catch (err: any) {
     const statusCode: any = err.request.status
     const res: any = JSON.parse(err.request.response)
-- 
cgit v1.2.3

